source: rtems/cpukit/libnetworking/rtems/Makefile.am @ 8361b50

4.104.114.84.95
Last change on this file since 8361b50 was 0e1dd41f, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 22, 2002 at 1:44:48 PM

2002-07-22 Ralf Corsepius <corsepiu@…>

  • kern/Makefile.am: Use .$(OBJEXT) instead of .o.
  • lib/Makefile.am: Ditto.
  • libc/Makefile.am: Ditto.
  • net/Makefile.am: Ditto.
  • netinet/Makefile.am: Ditto.
  • nfs/Makefile.am: Ditto.
  • rtems/Makefile.am: Ditto.
  • wrapup/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
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
14
15OBJS = $(C_O_FILES)
16
17include_rtems_HEADERS = rtems_bsdnet.h rtems_bsdnet_internal.h tftp.h \
18    ftpfs.h mkrootfs.h
19
20PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
21    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
22
23$(PROJECT_INCLUDE)/rtems:
24        @$(mkinstalldirs) $@
25
26$(PROJECT_INCLUDE)/rtems/%.h: %.h
27        $(INSTALL_DATA) $< $@
28
29include $(top_srcdir)/../automake/multilib.am
30include $(top_srcdir)/../automake/compile.am
31include $(top_srcdir)/../automake/lib.am
32
33#
34# Add local stuff here using +=
35#
36
37AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \
38    -DBOOTP_COMPAT
39
40$(LIB): $(OBJS)
41        $(make-library)
42
43all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
44
45.PRECIOUS: $(LIB)
46
47EXTRA_DIST = issetugid.c rtems_bootp.c rtems_glue.c rtems_select.c \
48    rtems_showicmpstat.c rtems_showifstat.c rtems_showipstat.c \
49    rtems_showmbuf.c rtems_showroute.c rtems_showtcpstat.c \
50    rtems_showudpstat.c rtems_syscall.c sghostname.c
51
52include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.