source: rtems/cpukit/libfs/src/nfsclient/Makefile.am @ 3c96bee

4.115
Last change on this file since 3c96bee was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1include $(top_srcdir)/automake/compile.am
2
3#%dirutils.obj: %dirutils.o
4#       $(LD) -r -o $@ $^
5project_lib_PROGRAMS = dirutils.rel
6dirutils_rel_SOURCES = src/dirutils.c
7dirutils_rel_CPPFLAGS = $(AM_CPPFLAGS)
8dirutils_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
9
10if LIBNETWORKING
11project_lib_LIBRARIES = libnfs.a
12
13# if you have CEXP set this variable to 'YES'
14# and some "help" info will be compiled in.
15libnfs_a_SOURCES = src/rpcio.c src/rpcio.h
16libnfs_a_SOURCES += src/nfs.c src/sock_mbuf.c src/xdr_mbuf.c
17libnfs_a_SOURCES += proto/mount_prot.h proto/nfs_prot.h
18
19# With CEXP
20# libnfs_a_SOURCES += dirutils.c rpcio.modini.c nfs.modini.c cexphelp.c
21
22include_HEADERS = src/librtemsNfs.h
23
24# PGMS=${ARCH}/nfs.obj ${ARCH}/rpcio.obj ${ARCH}/dirutils.obj
25
26libnfs_a_CPPFLAGS = $(AM_CPPFLAGS)
27libnfs_a_CPPFLAGS += -I$(srcdir)/proto
28libnfs_a_CPPFLAGS += -UHAVE_CEXP
29
30#%nfs.obj: %nfs.o %nfs.modini.o
31#       $(LD) -r -o $@ $^ -L../proto/$(ARCH) -lnfsprot
32project_lib_PROGRAMS += nfs.rel
33nfs_rel_SOURCES = src/nfs.c proto/nfs_prot.h proto/mount_prot.h
34nfs_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/proto
35nfs_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
36nfs_rel_LDADD = libnfs.a
37
38#%rpcio.obj: %rpcio.o %sock_mbuf.o %xdr_mbuf.o %rpcio.modini.o
39#       $(LD) -r -o $@ $^
40project_lib_PROGRAMS += rpcio.rel
41rpcio_rel_SOURCES = src/rpcio.c src/sock_mbuf.c src/xdr_mbuf.c
42rpcio_rel_CPPFLAGS = $(AM_CPPFLAGS)
43rpcio_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44
45libnfs_a_SOURCES += proto/nfs_prot_xdr.c proto/nfs_prot.h
46libnfs_a_SOURCES += proto/mount_prot_xdr.c proto/mount_prot.h
47
48libnfs_a_CPPFLAGS += -I$(srcdir)/proto
49libnfs_a_CPPFLAGS += -UHAVE_CEXP
50endif
51
52
53if RPCTOOLS
54$(srcdir)/proto/mount_prot.h: proto/mount_prot.x
55        (cd $(srcdir)/proto && $(RPCGEN) -h -C mount_prot.x > mount_prot.h)
56
57$(srcdir)/proto/mount_prot_xdr.c: proto/mount_prot.x proto/mount_prot.h
58        (cd $(srcdir)/proto && $(RPCGEN) -c -C mount_prot.x \
59        > mount_prot_xdr.c)
60
61$(srcdir)/proto/nfs_prot.h: proto/nfs_prot.x
62        (cd $(srcdir)/proto && $(RPCGEN) -h -C nfs_prot.x > nfs_prot.h)
63
64$(srcdir)/proto/nfs_prot_xdr.c: proto/nfs_prot.x proto/nfs_prot.h
65        (cd $(srcdir)/proto && $(RPCGEN) -c -C nfs_prot.x \
66        > nfs_prot_xdr.c)
67endif
68
69include $(srcdir)/preinstall.am
70include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.