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

4.104.114.84.95
Last change on this file since bfd1a53a was bfd1a53a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 06/15/02 at 07:14:44

2002-06-02 Ralf Corsepius <corsepiu@…>

  • rtems/Makefile.am: include multilib.am instead of RTEMS_BSP.cfg.
  • 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)/../../../../automake/multilib.am
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.