"Fossies" - the Fresh Open Source Software Archive

Member "bayonne-1.2.16/modules/sunrpc/Makefile.am" (27 May 2006, 1556 Bytes) of package /linux/misc/old/bayonne-1.2.16.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile.am": 2.2.4_vs_1.2.16.

    1 # Copyright (C) 2000 Open Source Telecom Corporation.
    2 #  
    3 # This file is free software; as a special exception the author gives
    4 # unlimited permission to copy and/or distribute it, with or without 
    5 # modifications, as long as this notice is preserved.
    6 # 
    7 # This program is distributed in the hope that it will be useful, but
    8 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
    9 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   10 
   11 AUTOMAKE_OPTIONS = no-dependencies dist-shar
   12 EXTRA_DIST = bayonne_rpc.x bayonne_rpc.h
   13 RPCGEN = rpcgen
   14 
   15 %_rpc.h:	%_rpc.x
   16 	$(RPCGEN) -M -h $< >$@
   17 
   18 %_xdr.c:	%_rpc.x
   19 	$(RPCGEN) -M -c $< >$@
   20 
   21 %_svc.c:	%_rpc.x
   22 	$(RPCGEN) -M -m $< >$@
   23 
   24 %_cl.c:	%_rpc.x
   25 	$(RPCGEN) -M -l $< >$@
   26 
   27 rpcincludedir = $(includedir)/rpcsvc
   28 modlibexecdir = $(libdir)/bayonne/$(VERSION)
   29 
   30 modlibexec_PROGRAMS = sunrpc.mod
   31 #rpcinclude_HEADERS = bayonne_rpc.h bayonne_rpc.x
   32 
   33 lib_LTLIBRARIES = libbayonnerpc.la
   34 libbayonnerpc_la_SOURCES = bayonne_cl.c bayonne_xdr.c
   35 sbin_PROGRAMS = rpc_calls
   36 
   37 sunrpc_mod_SOURCES = calls.cpp server.cpp
   38 sunrpc_mod_CXXFLAGS = -fPIC
   39 sunrpc_mod_LDFLAGS = @MODULE_FLAGS@ @SERVER_LIB@ @SUNRPC_LIBS@
   40 
   41 rpc_calls_SOURCES = rpc_calls.cpp
   42 rpc_calls_LDFLAGS = libbayonnerpc.la @SUNRPC_LIBS@
   43 
   44 noinst_HEADERS = bayonne_svc.c bayonne_xdr.c
   45 
   46 rpc:	bayonne_rpc.h bayonne_cl.c bayonne_svc.c bayonne_xdr.c
   47 
   48 install-data-local:
   49 	$(mkinstalldirs) $(DESTDIR)$(rpcincludedir)
   50 	$(INSTALL_DATA) bayonne_rpc.x $(DESTDIR)$(rpcincludedir)/bayonne.x
   51 	$(INSTALL_DATA) bayonne_rpc.h $(DESTDIR)$(rpcincludedir)/bayonne.h
   52