diff options
Diffstat (limited to 'wsutil/Makefile.am')
-rw-r--r-- | wsutil/Makefile.am | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/wsutil/Makefile.am b/wsutil/Makefile.am index 434457ccd8..6b8de84d28 100644 --- a/wsutil/Makefile.am +++ b/wsutil/Makefile.am @@ -42,13 +42,7 @@ libwsutil_abi_INCLUDES = \ # Optional objects that I know how to build. These will be # linked into libwsutil if necessary. -wsutil_optional_objects = \ - @GETOPT_LO@ \ - @INET_ATON_LO@ \ - @INET_NTOP_LO@ \ - @INET_PTON_LO@ \ - @POPCOUNT_LO@ \ - @STRPTIME_LO@ +wsutil_optional_objects = if SSE42_SUPPORTED wsutil_optional_objects += libwsutil_sse42.la @@ -78,23 +72,14 @@ libwsutil_sse42_la_SOURCES = \ libwsutil_sse42_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_SSE42) EXTRA_libwsutil_la_SOURCES = \ - inet_aton.c \ - inet_aton.h \ - inet_ntop.c \ - inet_pton.c \ inet_addr-int.h \ - popcount.c \ - popcount.h \ - strptime.c \ - strptime.h \ - wsgetopt.c \ - wsgetopt.h \ - wsgetopt_int.h - -libwsutil_la_DEPENDENCIES = \ + wsgetopt.h + +EXTRA_libwsutil_la_DEPENDENCIES = \ $(wsutil_optional_objects) libwsutil_la_LIBADD = \ + $(LTLIBOBJS) \ @COREFOUNDATION_FRAMEWORKS@ \ @GLIB_LIBS@ \ @LIBGCRYPT_LIBS@ \ |