source: rtems/c/src/lib/libc/Makefile.in @ 55e1322

4.104.114.84.95
Last change on this file since 55e1322 was 55e1322, checked in by Joel Sherrill <joel.sherrill@…>, on 10/21/97 at 17:03:17

Added termios submission from Eric Norum and Katsutoshi Shibuya.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8VPATH=@srcdir@
9
10LIBNAME=libcsupport.a
11LIB=${ARCH}/${LIBNAME}
12
13# C and C++ source names, if any, go here -- minus the .c or .cc
14C_PIECES=__gettod __brk __times malloc syscalls \
15    no_libc newlibc newlibif newlibifr support unixlibc \
16    libio hosterr tcattr termios
17C_FILES=$(C_PIECES:%=%.c)
18C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
19
20H_FILES=$(srcdir)/libcsupport.h
21SYS_H_FILES=
22RTEMS_H_FILES=$(srcdir)/libio.h
23PRIVATE_H_FILES=$(srcdir)/internal.h
24
25INSTALLED_H_FILES=$(srcdir)/libio.h $(srcdir)/libcsupport.h
26SRCS=$(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(PRIVATE_H_FILES)
27OBJS=$(C_O_FILES)
28
29include $(RTEMS_CUSTOM)
30include $(PROJECT_ROOT)/make/lib.cfg
31
32#
33# Add local stuff here using +=
34#
35
36DEFINES  +=
37CPPFLAGS +=
38CFLAGS   += $(LIBC_DEFINES)
39
40#
41# Add your list of files to delete here.  The config files
42#  already know how to delete some stuff, so you may want
43#  to just run 'make clean' first to see what gets missed.
44#  'make clobber' already includes 'make clean'
45#
46
47CLEAN_ADDITIONS += $(LIB)
48CLOBBER_ADDITIONS +=
49
50all:    ${ARCH} preinstall $(LIB)
51        $(INSTALL_VARIANT) -m 644 ${LIB} ${PROJECT_RELEASE}/lib
52
53$(LIB): $(SRCS) ${OBJS}
54        $(make-library)
55
56# Install the library, appending _g or _p as appropriate.
57# for include files, just use $(INSTALL)
58preinstall:
59        $(INSTALL) -m 444 ${RTEMS_H_FILES} $(PROJECT_INCLUDE)/rtems
60        $(INSTALL) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
61        $(INSTALL) -m 444 $(SYS_H_FILES) $(PROJECT_INCLUDE)/sys
62
63
Note: See TracBrowser for help on using the repository browser.