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

4.104.114.84.9
Last change on this file since dd5d2f04 was dd5d2f04, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 16, 1998 at 12:03:01 AM

Split default baud rate table into its own file. This shrinks the
size of the minimum mc68681 driver. The clock speed field can not
now be configured as NULL but must instead specify the address of
the default table.

  • 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=\
15    mc68681 mc68681_baud mc68681_reg mc68681_reg2 mc68681_reg4 mc68681_reg8 \
16    ns16550 \
17    z85c30 z85c30_reg \
18    serprobe termios_baud2index termios_baud2num
19
20C_FILES=$(C_PIECES:%=%.c)
21C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
22
23INSTALLED_H_FILES=$(srcdir)/mc68681.h $(srcdir)/ns16550.h $(srcdir)/z85c30.h \
24                  $(srcdir)/serial.h
25SRCS=$(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(PRIVATE_H_FILES)
26OBJS=$(C_O_FILES)
27
28include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
29include $(RTEMS_ROOT)/make/lib.cfg
30
31#
32# Add local stuff here using +=
33#
34
35DEFINES  +=
36CPPFLAGS +=
37CFLAGS   += $(LIBC_DEFINES)
38
39#
40# Add your list of files to delete here.  The config files
41#  already know how to delete some stuff, so you may want
42#  to just run 'make clean' first to see what gets missed.
43#  'make clobber' already includes 'make clean'
44#
45
46CLEAN_ADDITIONS += $(LIB)
47CLOBBER_ADDITIONS +=
48
49all:    ${ARCH} preinstall $(LIB)
50        $(INSTALL_VARIANT) -m 644 ${LIB} ${PROJECT_RELEASE}/lib
51
52$(LIB): $(SRCS) ${OBJS}
53        $(make-library)
54
55# Install the library, appending _g or _p as appropriate.
56# for include files, just use $(INSTALL)
57preinstall:
58        $(INSTALL) -m 444 $(INSTALLED_H_FILES) $(PROJECT_INCLUDE)/libchip
59
60
Note: See TracBrowser for help on using the repository browser.