Author: biurrun Date: Tue Oct 13 20:06:10 2009 New Revision: 1131 Log: Refactoring: Move sources used by multiple targets into common variables. Modified: trunk/pairing/Makefile.am Modified: trunk/pairing/Makefile.am ============================================================================== --- trunk/pairing/Makefile.am Tue Oct 13 19:25:39 2009 (r1130) +++ trunk/pairing/Makefile.am Tue Oct 13 20:06:10 2009 (r1131) @@ -34,8 +34,11 @@ LDADD += @PISA_LIBPISA_LIB_STATIC@ @PISA_LIBCONFIG_LIB_STATIC@ endif endif + +COMMON_SRCS = common.c common_headers.c libconfig_wrapper.c +ACCEPT_SEND_SRCS = hash.c packet_handler.c $(COMMON_SRCS) -send_SOURCES = send.c common_headers.c common.c packet_handler.c hash.c libconfig_wrapper.c packet_handler_send.c create_send_headers.c -accept_SOURCES = accept.c hash.c common_headers.c packet_handler.c libconfig_wrapper.c common.c packet_handler_accept.c create_accept_headers.c +accept_SOURCES = accept.c packet_handler_accept.c create_accept_headers.c $(ACCEPT_SEND_SRCS) +send_SOURCES = send.c packet_handler_send.c create_send_headers.c $(ACCEPT_SEND_SRCS) passgen_SOURCES = passgen.c hash.c -management_SOURCES = management.c common.c common_headers.c libconfig_wrapper.c +management_SOURCES = management.c $(COMMON_SRCS)