source: rtems/c/src/exec/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
RevLine 
[df49c60]1##
[4bf1801]2## $Id$
[df49c60]3##
[4bf1801]4
[e6d8fe47]5include_rtemsdir = $(includedir)/rtems
6
[4bf1801]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 \
[c1f3fc04]13    rtems_showudpstat.c rtems_select.c mkrootfs.c
[4bf1801]14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
15
16OBJS = $(C_O_FILES)
17
[c1f3fc04]18include_rtems_HEADERS = rtems_bsdnet.h rtems_bsdnet_internal.h tftp.h \
19    mkrootfs.h
[df49c60]20
[b68e01c5]21PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
[e6d8fe47]22    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
[df49c60]23
24$(PROJECT_INCLUDE)/rtems:
25        @$(mkinstalldirs) $@
26
27$(PROJECT_INCLUDE)/rtems/%.h: %.h
28        $(INSTALL_DATA) $< $@
29
[bfd1a53a]30include $(RTEMS_ROOT)/../../../../automake/multilib.am
[8a79786]31include $(top_srcdir)/../../../../automake/compile.am
32include $(top_srcdir)/../../../../automake/lib.am
[4bf1801]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
[df49c60]44all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
[4bf1801]45
46.PRECIOUS: $(LIB)
47
[9b28bea5]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
[4bf1801]52
[8a79786]53include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.