4.104.114.84.95
Last change
on this file since dd5d2f04 was
dd5d2f04,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/16/98 at 00:03:01
|
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
|
Rev | Line | |
---|
[0737710] | 1 | # |
---|
| 2 | # $Id$ |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | @SET_MAKE@ |
---|
| 6 | srcdir = @srcdir@ |
---|
| 7 | VPATH = @srcdir@ |
---|
| 8 | RTEMS_ROOT = @top_srcdir@ |
---|
| 9 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
| 10 | |
---|
| 11 | LIBNAME=libserialio.a |
---|
| 12 | LIB=${ARCH}/${LIBNAME} |
---|
| 13 | |
---|
[dd5d2f04] | 14 | C_PIECES=\ |
---|
| 15 | mc68681 mc68681_baud mc68681_reg mc68681_reg2 mc68681_reg4 mc68681_reg8 \ |
---|
[8414c033] | 16 | ns16550 \ |
---|
| 17 | z85c30 z85c30_reg \ |
---|
[abd8c82] | 18 | serprobe termios_baud2index termios_baud2num |
---|
| 19 | |
---|
[0737710] | 20 | C_FILES=$(C_PIECES:%=%.c) |
---|
| 21 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
| 22 | |
---|
[ab2dbd7] | 23 | INSTALLED_H_FILES=$(srcdir)/mc68681.h $(srcdir)/ns16550.h $(srcdir)/z85c30.h \ |
---|
[ee3b242b] | 24 | $(srcdir)/serial.h |
---|
[0737710] | 25 | SRCS=$(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(PRIVATE_H_FILES) |
---|
| 26 | OBJS=$(C_O_FILES) |
---|
| 27 | |
---|
| 28 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
| 29 | include $(RTEMS_ROOT)/make/lib.cfg |
---|
| 30 | |
---|
| 31 | # |
---|
| 32 | # Add local stuff here using += |
---|
| 33 | # |
---|
| 34 | |
---|
| 35 | DEFINES += |
---|
| 36 | CPPFLAGS += |
---|
| 37 | CFLAGS += $(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 | |
---|
| 46 | CLEAN_ADDITIONS += $(LIB) |
---|
| 47 | CLOBBER_ADDITIONS += |
---|
| 48 | |
---|
| 49 | all: ${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) |
---|
| 57 | preinstall: |
---|
[ee3b242b] | 58 | $(INSTALL) -m 444 $(INSTALLED_H_FILES) $(PROJECT_INCLUDE)/libchip |
---|
[0737710] | 59 | |
---|
| 60 | |
---|
Note: See
TracBrowser
for help on using the repository browser.