source: rtems/c/src/libnetworking/rtems/Makefile.am @ b68e01c5

4.104.114.84.95
Last change on this file since b68e01c5 was b68e01c5, checked in by Joel Sherrill <joel.sherrill@…>, on 09/27/01 at 13:28:22

2001-09-23 Ralf Corsepius <corsepiu@…>

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