source: rtems/c/src/exec/libnetworking/nfs/Makefile.am @ e6d8fe47

4.104.114.84.95
Last change on this file since e6d8fe47 was e6d8fe47, checked in by Joel Sherrill <joel.sherrill@…>, on 02/05/01 at 18:36:27

2001-02-03 Ralf Corsepius <corsepiu@…>

  • Makefile.am, arpa/Makefile.am, machine/Makefile.am, net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am, rtems/Makefile.am, rtems_servers/Makefile.am, rtems_webserver/Makefile.am, sys/Makefile.am, vm/Makefile.am: Apply include_*HEADERS instead of H_FILES.
  • include/Makefile.am: Remove.
  • Makefile.am: Add handling of *.h files.
  • configure.in: Remove include/Makefile.
  • Property mode set to 100644
File size: 959 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7include_nfsdir = $(includedir)/nfs
8
9LIBNAME = lib.a
10LIB = $(ARCH)/$(LIBNAME)
11
12C_FILES = bootp_subr.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15OBJS = $(C_O_FILES)
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18include $(top_srcdir)/../../../automake/compile.am
19include $(top_srcdir)/../../../automake/lib.am
20
21#
22# Add local stuff here using +=
23#
24
25AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \
26    -DBOOTP_COMPAT
27
28$(LIB): $(OBJS)
29        $(make-library)
30
31all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
32
33.PRECIOUS: $(LIB)
34
35EXTRA_DIST = bootp_subr.c
36
37include_nfs_HEADERS = krpc.h nfs.h nfsdiskless.h nfsproto.h rpcv2.h xdr_subs.h
38
39PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs \
40    $(include_nfs_HEADERS:%=$(PROJECT_INCLUDE)/nfs/%)
41
42$(PROJECT_INCLUDE)/nfs:
43        @$(mkinstalldirs) $@
44
45$(PROJECT_INCLUDE)/nfs/%.h: %.h
46        $(INSTALL_DATA) $< $@
47
48include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.