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

4.104.114.84.95
Last change on this file since 9deb5b8b was 9deb5b8b, checked in by Joel Sherrill <joel.sherrill@…>, on 08/01/97 at 18:12:11

Katsutoshi Shibuya (shibuya@…)of BU-Denken Co., Ltd.
(Sapporo, Japan) submitted the extended console driver for the
MVME162LX BSP and the POSIX tcsetattr() and tcgetattr() routines.
This device driver supports four serial ports, cooked IO, and
provides a portable base for Zilog 8530 based console drivers.

  • 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 support unixlibc libio hosterr tcattr
16C_FILES=$(C_PIECES:%=%.c)
17C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
18
19H_FILES=$(srcdir)/libcsupport.h
20SYS_H_FILES=
21RTEMS_H_FILES=$(srcdir)/libio.h
22PRIVATE_H_FILES=$(srcdir)/internal.h
23
24INSTALLED_H_FILES=$(srcdir)/libio.h $(srcdir)/libcsupport.h
25SRCS=$(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(PRIVATE_H_FILES)
26OBJS=$(C_O_FILES)
27
28include $(RTEMS_CUSTOM)
29include $(PROJECT_ROOT)/make/lib.cfg
30
31#
32# Add local stuff here using +=
33#
34
35DEFINES  +=
36CPPFLAGS +=
37CFLAGS   += $(LIBC_DEFINES)
38
39#
40# Add your list of files to delete here.  The config files
41#  already know how to delete some stuff, so you may want
42#  to just run 'make clean' first to see what gets missed.
43#  'make clobber' already includes 'make clean'
44#
45
46CLEAN_ADDITIONS += $(LIB)
47CLOBBER_ADDITIONS +=
48
49all:    ${ARCH} preinstall $(LIB)
50        $(INSTALL_VARIANT) -m 644 ${LIB} ${PROJECT_RELEASE}/lib
51
52$(LIB): $(SRCS) ${OBJS}
53        $(make-library)
54
55# Install the library, appending _g or _p as appropriate.
56# for include files, just use $(INSTALL)
57preinstall:
58        $(INSTALL) -m 444 ${RTEMS_H_FILES} ${PROJECT_RELEASE}/include/rtems
59        $(INSTALL) -m 444 $(H_FILES) ${PROJECT_RELEASE}/include
60        $(INSTALL) -m 444 $(SYS_H_FILES) ${PROJECT_RELEASE}/include/sys
61
62
Note: See TracBrowser for help on using the repository browser.