source: rtems/c/src/libnetworking/rtems/Makefile.am @ c1f3fc04

4.104.114.84.95
Last change on this file since c1f3fc04 was c1f3fc04, checked in by Joel Sherrill <joel.sherrill@…>, on 05/17/02 at 18:28:26

2002-05-16 Ralf Corsepius <corsepiu@…>

  • rtems/mkrootfs.c: Add (relocated from libmisc/rootfs).
  • rtems/mkrootfs.h: Ditto.
  • rtems/Makefile.am: Reflect changes above.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1##
2## $Id$
3##
4
5include_rtemsdir = $(includedir)/rtems
6
7LIBNAME = lib.a
8LIB = $(ARCH)/$(LIBNAME)
9
10C_FILES = sghostname.c issetugid.c rtems_glue.c rtems_syscall.c \
11    rtems_bootp.c rtems_showmbuf.c rtems_showroute.c rtems_showifstat.c \
12    rtems_showipstat.c rtems_showicmpstat.c rtems_showtcpstat.c \
13    rtems_showudpstat.c rtems_select.c mkrootfs.c
14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
15
16OBJS = $(C_O_FILES)
17
18include_rtems_HEADERS = rtems_bsdnet.h rtems_bsdnet_internal.h tftp.h \
19    mkrootfs.h
20
21PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
22    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
23
24$(PROJECT_INCLUDE)/rtems:
25        @$(mkinstalldirs) $@
26
27$(PROJECT_INCLUDE)/rtems/%.h: %.h
28        $(INSTALL_DATA) $< $@
29
30include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
31include $(top_srcdir)/../../../automake/compile.am
32include $(top_srcdir)/../../../automake/lib.am
33
34#
35# Add local stuff here using +=
36#
37
38AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \
39    -DBOOTP_COMPAT
40
41$(LIB): $(OBJS)
42        $(make-library)
43
44all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
45
46.PRECIOUS: $(LIB)
47
48EXTRA_DIST = issetugid.c rtems_bootp.c rtems_glue.c rtems_select.c \
49    rtems_showicmpstat.c rtems_showifstat.c rtems_showipstat.c \
50    rtems_showmbuf.c rtems_showroute.c rtems_showtcpstat.c \
51    rtems_showudpstat.c rtems_syscall.c sghostname.c
52
53include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.