1noinst_LTLIBRARIES=liblinc.la 2#lib_LTLIBRARIES=liblinc.la 3 4if OS_WIN32 5else 6bin_PROGRAMS = linc-cleanup-sockets 7endif 8 9# -I$(top_builddir)/include 10# -I$(top_srcdir)/include 11INCLUDES = \ 12 -I$(top_builddir)/linc2/include \ 13 -I$(top_srcdir)/linc2/include \ 14 $(LINC_CFLAGS) \ 15 $(WARN_CFLAGS) \ 16 -DG_DISABLE_DEPRECATED 17 18if OS_WIN32 19else 20INCLUDES += -D_GNU_SOURCE 21endif 22 23liblinc_la_SOURCES = \ 24 linc.c \ 25 linc-connection.c \ 26 linc-debug.h \ 27 linc-compat.h \ 28 linc-compat.c \ 29 linc-private.h \ 30 linc-protocols.c \ 31 linc-server.c \ 32 linc-source.c 33 34liblinc_la_LDFLAGS = \ 35 $(LINC_LIBS) \ 36 -no-undefined 37 38linc_cleanup_sockets_SOURCES = \ 39 cleanup.c 40 41linc_cleanup_sockets_LDFLAGS = \ 42 $(LINC_LIBS) 43