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

4.104.114.84.9
Last change on this file since 8414c033 was 8414c033, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 15, 1998 at 11:54:24 PM

Added default z85c30 register access routines.

  • 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 mc68681_reg mc68681_reg2 mc68681_reg4 mc68681_reg8 \
15    ns16550 \
16    z85c30 z85c30_reg \
17    serprobe termios_baud2index termios_baud2num
18
19C_FILES=$(C_PIECES:%=%.c)
20C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
21
22INSTALLED_H_FILES=$(srcdir)/mc68681.h $(srcdir)/ns16550.h $(srcdir)/z85c30.h \
23                  $(srcdir)/serial.h
24SRCS=$(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(PRIVATE_H_FILES)
25OBJS=$(C_O_FILES)
26
27include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
28include $(RTEMS_ROOT)/make/lib.cfg
29
30#
31# Add local stuff here using +=
32#
33
34DEFINES  +=
35CPPFLAGS +=
36CFLAGS   += $(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
45CLEAN_ADDITIONS += $(LIB)
46CLOBBER_ADDITIONS +=
47
48all:    ${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)
56preinstall:
57        $(INSTALL) -m 444 $(INSTALLED_H_FILES) $(PROJECT_INCLUDE)/libchip
58
59
Note: See TracBrowser for help on using the repository browser.