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