source: rtems/c/src/exec/libnetworking/rtems/Makefile.am @ 9b28bea5

4.104.114.84.95
Last change on this file since 9b28bea5 was 9b28bea5, checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 16:07:35

2000-09-04 Ralf Corsepius <corsepiu@…>

  • kern/Makefile.am, lib/Makefile.am, libc/Makefile.am, net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am, pppd/Makefile.am, rtems/Makefile.am, rtems_servers/Makefile.am, rtems_webserver/Makefile.am, wrapup/Makefile.am: Include compile.am
  • Property mode set to 100644
File size: 1.3 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
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
14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
15
16OBJS = $(C_O_FILES)
17
18H_FILES = rtems_bsdnet.h rtems_bsdnet_internal.h tftp.h
19
20noinst_HEADERS = $(H_FILES)
21
22PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
23    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
24
25$(PROJECT_INCLUDE)/rtems:
26        @$(mkinstalldirs) $@
27
28$(PROJECT_INCLUDE)/rtems/%.h: %.h
29        $(INSTALL_DATA) $< $@
30
31include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
32include $(top_srcdir)/../../../automake/compile.am
33include $(top_srcdir)/../../../automake/lib.am
34
35#
36# Add local stuff here using +=
37#
38
39AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \
40    -DBOOTP_COMPAT
41
42$(LIB): $(OBJS)
43        $(make-library)
44
45all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
46
47.PRECIOUS: $(LIB)
48
49EXTRA_DIST = issetugid.c rtems_bootp.c rtems_glue.c rtems_select.c \
50    rtems_showicmpstat.c rtems_showifstat.c rtems_showipstat.c \
51    rtems_showmbuf.c rtems_showroute.c rtems_showtcpstat.c \
52    rtems_showudpstat.c rtems_syscall.c sghostname.c
53
54include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.