| 1 |
## Process this file with automake to create Makefile.in. |
| 2 |
|
| 3 |
## NOTE: this file doesn't really try to be complete. In particular |
| 4 |
## `make dist' won't work at all. We're just aiming to get the |
| 5 |
## program built. We also don't bother trying to assemble code, or |
| 6 |
## anything like that. |
| 7 |
|
| 8 |
noinst_HEADERS = rpc_com.h debug.h |
| 9 |
|
| 10 |
AM_CPPFLAGS = -I$(top_srcdir)/tirpc -include config.h -DPORTMAP -DINET6 \ |
| 11 |
-D_GNU_SOURCE -Wall -pipe |
| 12 |
|
| 13 |
lib_LTLIBRARIES = libtirpc.la |
| 14 |
|
| 15 |
libtirpc_la_LDFLAGS = @LDFLAG_NOUNDEFINED@ -no-undefined @PTHREAD_LIBS@ |
| 16 |
libtirpc_la_LDFLAGS += -version-info @LT_VERSION_INFO@ |
| 17 |
|
| 18 |
libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c \ |
| 19 |
binddynport.c bindresvport.c \ |
| 20 |
clnt_bcast.c clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \ |
| 21 |
clnt_vc.c rpc_dtablesize.c getnetconfig.c getnetpath.c getrpcent.c \ |
| 22 |
getrpcport.c mt_misc.c pmap_clnt.c pmap_getmaps.c pmap_getport.c \ |
| 23 |
pmap_prot.c pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c \ |
| 24 |
rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \ |
| 25 |
rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_auth_none.c \ |
| 26 |
svc_generic.c svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \ |
| 27 |
auth_time.c debug.c |
| 28 |
|
| 29 |
if AUTHDES |
| 30 |
libtirpc_la_SOURCES += auth_des.c authdes_prot.c des_crypt.c des_impl.c des_soft.c svc_auth_des.c |
| 31 |
endif |
| 32 |
|
| 33 |
## XDR |
| 34 |
libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c xdr_sizeof.c |
| 35 |
|
| 36 |
if SYMVERS |
| 37 |
libtirpc_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libtirpc.map |
| 38 |
endif |
| 39 |
|
| 40 |
## Secure-RPC |
| 41 |
if GSS |
| 42 |
libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c \ |
| 43 |
rpc_gss_utils.c |
| 44 |
libtirpc_la_LIBADD = $(GSSAPI_LIBS) |
| 45 |
libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS) |
| 46 |
endif |
| 47 |
|
| 48 |
libtirpc_la_SOURCES += key_call.c key_prot_xdr.c getpublickey.c |
| 49 |
libtirpc_la_SOURCES += netname.c netnamer.c rpcdname.c rtime.c |
| 50 |
|
| 51 |
CLEANFILES = cscope.* *~ |
| 52 |
DISTCLEANFILES = Makefile.in |