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

4.104.114.84.95
Last change on this file since c4638fff was c4638fff, checked in by Joel Sherrill <joel.sherrill@…>, on 05/11/98 at 17:39:59

new file to support execv family support in newlib

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