From: Steve Dickson Date: Thu, 16 Dec 2010 16:49:44 +0000 (-0500) Subject: Makefile Improvements X-Git-Tag: libtirpc-0-2-2-rc4~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5535aa0db9bced35fb865c60f3bffc2782f2439;p=libtirpc Makefile Improvements Currently when one .c file is changed all the .c files are recompile, which obviously is not needed. The patch removes the explicit rules that causes those recompiles and let the autoconf code deal with dependencies Signed-off-by: Steve Dickson --- diff --git a/src/Makefile.am b/src/Makefile.am index 7b002da..6731ff9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -67,29 +67,3 @@ endif ## libtirpc_a_SOURCES += netname.c netnamer.c rpcdname.c \ ## libtirpc_a_SOURCES += rtime.c \ ## auth_time.c auth_des.c authdes_prot.c - -if GSS -$(libtirpc_la_OBJECTS) :auth_none.c auth_unix.c authunix_prot.c bindresvport.c clnt_bcast.c \ - clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \ - clnt_vc.c rpc_dtablesize.c getnetconfig.c getnetpath.c getrpcent.c \ - getrpcport.c mt_misc.c pmap_clnt.c pmap_getmaps.c pmap_getport.c \ - pmap_prot.c pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c \ - rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \ - rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c \ - svc_raw.c svc_run.c svc_simple.c svc_vc.c \ - xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c \ - auth_gss.c authgss_prot.c svc_auth_gss.c getpeereid.c \ - auth_time.c auth_des.c authdes_prot.c svc_auth_none.c - -else -$(libtirpc_la_OBJECTS) :auth_none.c auth_unix.c authunix_prot.c bindresvport.c clnt_bcast.c \ - clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \ - clnt_vc.c rpc_dtablesize.c getnetconfig.c getnetpath.c getrpcent.c \ - getrpcport.c mt_misc.c pmap_clnt.c pmap_getmaps.c pmap_getport.c \ - pmap_prot.c pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c \ - rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \ - rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c \ - svc_raw.c svc_run.c svc_simple.c svc_vc.c \ - xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c \ - getpeereid.c auth_time.c auth_des.c authdes_prot.c -endif