Makefile.am revision fc544a13
1SUBDIRS=doc . test 2 3lib_LTLIBRARIES = libXdmcp.la 4 5AM_CPPFLAGS = -I${top_srcdir}/include 6AM_CFLAGS = \ 7 $(XDMCP_CFLAGS) \ 8 $(CWARNFLAGS) 9 10libXdmcp_la_LDFLAGS = -version-number 6:0:0 -no-undefined 11libXdmcp_la_LIBADD = $(XDMCP_LIBS) 12libXdmcp_la_SOURCES = \ 13 Array.c \ 14 Fill.c \ 15 Flush.c \ 16 Key.c \ 17 Read.c \ 18 Unwrap.c \ 19 Wrap.c \ 20 Wrap.h \ 21 Write.c 22 23if HASXDMAUTH 24nodist_libXdmcp_la_SOURCES = Wraphelp.c 25endif HASXDMAUTH 26 27xdmcpincludedir=$(includedir)/X11 28 29xdmcpinclude_HEADERS = \ 30 include/X11/Xdmcp.h 31 32pkgconfigdir = $(libdir)/pkgconfig 33pkgconfig_DATA = xdmcp.pc 34 35MAINTAINERCLEANFILES = ChangeLog INSTALL 36EXTRA_DIST = autogen.sh Wraphelp.c Wraphelp.README.crypto 37 38if LINT 39ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 40 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) 41 42lint: 43 $(LINT) $(ALL_LINT_FLAGS) $(libXdmcp_la_SOURCES) $(nodist_libXdmcp_la_SOURCES) $(LIBS) $(XDMCP_LIBS) 44endif LINT 45 46if MAKE_LINT_LIB 47lintlibdir = $(libdir) 48 49lintlib_DATA = $(LINTLIB) 50 51$(LINTLIB): $(libXdmcp_la_SOURCES) $(nodist_libXdmcp_la_SOURCES) 52 $(LINT) -y -oXdmcp -x $(ALL_LINT_FLAGS) $(libXdmcp_la_SOURCES) $(nodist_libXdmcp_la_SOURCES) 53endif MAKE_LINT_LIB 54 55 56.PHONY: ChangeLog INSTALL 57 58INSTALL: 59 $(INSTALL_CMD) 60 61ChangeLog: 62 $(CHANGELOG_CMD) 63 64dist-hook: ChangeLog INSTALL 65 66CLEANFILES=$(lintlib_DATA) 67