source: rtems/cpukit/libnetworking/nfs/Makefile.am @ 0e1dd41f

4.104.114.84.9
Last change on this file since 0e1dd41f was 0e1dd41f, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 22, 2002 at 1:44:48 PM

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

  • kern/Makefile.am: Use .$(OBJEXT) instead of .o.
  • 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: Ditto.
  • Property mode set to 100644
File size: 891 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)/%.$(OBJEXT))
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.