source: rtems/c/src/lib/libchip/serial/Makefile.in @ abd8c82

4.104.114.84.9
Last change on this file since abd8c82 was abd8c82, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 9, 1998 at 11:31:48 PM

Added new files.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7VPATH = @srcdir@
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10
11LIBNAME=libserialio.a
12LIB=${ARCH}/${LIBNAME}
13
14C_PIECES=mc68681 ns16550 z85c30 \
15    serprobe termios_baud2index termios_baud2num
16
17C_FILES=$(C_PIECES:%=%.c)
18C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
19
20INSTALLED_H_FILES=$(srcdir)/mc68681.h $(srcdir)/ns16550.h $(srcdir)/z85c30.h \
21                  $(srcdir)/serial.h
22SRCS=$(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(PRIVATE_H_FILES)
23OBJS=$(C_O_FILES)
24
25include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
26include $(RTEMS_ROOT)/make/lib.cfg
27
28#
29# Add local stuff here using +=
30#
31
32DEFINES  +=
33CPPFLAGS +=
34CFLAGS   += $(LIBC_DEFINES)
35
36#
37# Add your list of files to delete here.  The config files
38#  already know how to delete some stuff, so you may want
39#  to just run 'make clean' first to see what gets missed.
40#  'make clobber' already includes 'make clean'
41#
42
43CLEAN_ADDITIONS += $(LIB)
44CLOBBER_ADDITIONS +=
45
46all:    ${ARCH} preinstall $(LIB)
47        $(INSTALL_VARIANT) -m 644 ${LIB} ${PROJECT_RELEASE}/lib
48
49$(LIB): $(SRCS) ${OBJS}
50        $(make-library)
51
52# Install the library, appending _g or _p as appropriate.
53# for include files, just use $(INSTALL)
54preinstall:
55        $(INSTALL) -m 444 $(INSTALLED_H_FILES) $(PROJECT_INCLUDE)/libchip
56
57
Note: See TracBrowser for help on using the repository browser.