source: rtems/cpukit/libnetworking/rtems/Makefile.am @ a3dfa39

4.104.114.84.95
Last change on this file since a3dfa39 was a3dfa39, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 11, 2002 at 3:34:58 PM

2002-12-11 Ralf Corsepius <corsepiu@…>

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