1## Process this file with automake to produce Makefile.in 2 3include $(top_srcdir)/include.mk 4include $(top_srcdir)/ncklib/ncklib.mk 5 6# Build the shared library 7lib_LTLIBRARIES = libdcerpc.la 8libdcerpc_la_SOURCES = dummyfuncs.c strlcpy.c strlcat.c 9libdcerpc_la_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_unistr) 10libdcerpc_la_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_unistr) $(NAF_NP_LDFLAGS) 11 12if TARGET_OS_LINUX 13libdcerpc_la_LDFLAGS += -version-info 1:2:0 -all_load -Wl,--version-script,$(srcdir)/exports -Wl,-Bgroup -Wl,--allow-shlib-undefined 14else 15libdcerpc_la_LDFLAGS += -version-info 1:2:0 -all_load 16endif 17 18# uint16 converters not really needed now 19# 20# libdcerpc_la_SOURCES += mswrappers.c 21# if TARGET_OS_DARWIN 22# libdcerpc_la_LDFLAGS += -no-undefined 23# libdcerpc_la_SOURCES += darwin/wc16str.c 24# endif 25 26libdcerpc_la_LIBADD = \ 27 ../ncklib/libnck.la \ 28 ../idl_lib/libidl.la \ 29 ../uuid/libuuid.la \ 30 ../libdcethread/libdcethread.la \ 31 $(LIB_socket) \ 32 $(LIB_nsl) \ 33 $(LIB_dl) \ 34 $(LIB_unistr) 35