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

4.104.114.84.95
Last change on this file since 0737710 was 0737710, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 13, 1998 at 3:48:25 PM

Base code from ppcn_60x BSP

  • Property mode set to 100644
File size: 1.2 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=ns16550 z85c30
15C_FILES=$(C_PIECES:%=%.c)
16C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
17
18H_FILES=$(srcdir)/libcsupport.h
19SYS_H_FILES=
20RTEMS_H_FILES=$(srcdir)/libio.h
21PRIVATE_H_FILES=$(srcdir)/internal.h
22
23INSTALLED_H_FILES=$(srcdir)/ns16550.h $(srcdir)/z8530.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 $(H_FILES) $(PROJECT_INCLUDE)/libchip
58
59
Note: See TracBrowser for help on using the repository browser.