source: rtems/cpukit/libnetworking/nfs/Makefile.am @ eb4b28d

4.104.114.84.95
Last change on this file since eb4b28d was eb4b28d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/22/02 at 06:35:33

2002-07-22 Ralf Corsepius <corsepiu@…>

  • kern/Makefile.am: Eliminate LIBNAME.
  • lib/Makefile.am: Ditto.
  • libc/Makefile.am: Ditto.
  • net/Makefile.am: Ditto.
  • netinet/Makefile.am: Ditto.
  • nfs/Makefile.am: Ditto.
  • rtems/Makefile.am: Ditto.
  • wrapup/Makefile.am: Use project_libdir instead of $(PROJECT_RELEASE)/lib.
  • Property mode set to 100644
File size: 883 bytes
Line 
1##
2## $Id$
3##
4
5include_nfsdir = $(includedir)/nfs
6
7LIB = $(ARCH)/lib.a
8
9C_FILES = bootp_subr.c
10C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
11
12OBJS = $(C_O_FILES)
13
14include $(top_srcdir)/../automake/multilib.am
15include $(top_srcdir)/../automake/compile.am
16include $(top_srcdir)/../automake/lib.am
17
18#
19# Add local stuff here using +=
20#
21
22AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \
23    -DBOOTP_COMPAT
24
25$(LIB): $(OBJS)
26        $(make-library)
27
28all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
29
30.PRECIOUS: $(LIB)
31
32EXTRA_DIST = bootp_subr.c
33
34include_nfs_HEADERS = krpc.h nfs.h nfsdiskless.h nfsproto.h rpcv2.h xdr_subs.h
35
36PREINSTALL_FILES = $(PROJECT_INCLUDE)/nfs \
37    $(include_nfs_HEADERS:%=$(PROJECT_INCLUDE)/nfs/%)
38
39$(PROJECT_INCLUDE)/nfs:
40        @$(mkinstalldirs) $@
41
42$(PROJECT_INCLUDE)/nfs/%.h: %.h
43        $(INSTALL_DATA) $< $@
44
45include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.