2015-04-06 07:43:52 -06:00
|
|
|
SUBDIRS=doc . test
|
2010-11-11 03:14:40 -07:00
|
|
|
|
2006-11-25 09:46:32 -07:00
|
|
|
lib_LTLIBRARIES = libXdmcp.la
|
|
|
|
|
2010-11-11 03:14:40 -07:00
|
|
|
AM_CPPFLAGS = -I${top_srcdir}/include
|
|
|
|
AM_CFLAGS = \
|
|
|
|
$(XDMCP_CFLAGS) \
|
|
|
|
$(CWARNFLAGS)
|
|
|
|
|
2006-11-25 09:46:32 -07:00
|
|
|
libXdmcp_la_LDFLAGS = -version-number 6:0:0 -no-undefined
|
|
|
|
libXdmcp_la_LIBADD = $(XDMCP_LIBS)
|
|
|
|
libXdmcp_la_SOURCES = \
|
2010-11-11 03:14:40 -07:00
|
|
|
Array.c \
|
2006-11-25 09:46:32 -07:00
|
|
|
Fill.c \
|
|
|
|
Flush.c \
|
2010-11-11 03:14:40 -07:00
|
|
|
Key.c \
|
|
|
|
Read.c \
|
2006-11-25 09:46:32 -07:00
|
|
|
Unwrap.c \
|
|
|
|
Wrap.c \
|
2010-11-11 03:14:40 -07:00
|
|
|
Wrap.h \
|
|
|
|
Write.c
|
2006-11-25 09:46:32 -07:00
|
|
|
|
|
|
|
if HASXDMAUTH
|
|
|
|
nodist_libXdmcp_la_SOURCES = Wraphelp.c
|
|
|
|
endif HASXDMAUTH
|
|
|
|
|
|
|
|
xdmcpincludedir=$(includedir)/X11
|
|
|
|
|
|
|
|
xdmcpinclude_HEADERS = \
|
|
|
|
include/X11/Xdmcp.h
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = xdmcp.pc
|
|
|
|
|
2010-11-11 03:14:40 -07:00
|
|
|
MAINTAINERCLEANFILES = ChangeLog INSTALL
|
|
|
|
EXTRA_DIST = autogen.sh Wraphelp.c Wraphelp.README.crypto
|
2009-10-31 11:53:31 -06:00
|
|
|
|
|
|
|
if LINT
|
|
|
|
ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
|
|
|
|
|
|
|
|
lint:
|
|
|
|
$(LINT) $(ALL_LINT_FLAGS) $(libXdmcp_la_SOURCES) $(nodist_libXdmcp_la_SOURCES) $(LIBS) $(XDMCP_LIBS)
|
|
|
|
endif LINT
|
|
|
|
|
|
|
|
if MAKE_LINT_LIB
|
|
|
|
lintlibdir = $(libdir)
|
|
|
|
|
|
|
|
lintlib_DATA = $(LINTLIB)
|
|
|
|
|
|
|
|
$(LINTLIB): $(libXdmcp_la_SOURCES) $(nodist_libXdmcp_la_SOURCES)
|
|
|
|
$(LINT) -y -oXdmcp -x $(ALL_LINT_FLAGS) $(libXdmcp_la_SOURCES) $(nodist_libXdmcp_la_SOURCES)
|
|
|
|
endif MAKE_LINT_LIB
|
|
|
|
|
|
|
|
|
2010-11-11 03:14:40 -07:00
|
|
|
.PHONY: ChangeLog INSTALL
|
|
|
|
|
|
|
|
INSTALL:
|
|
|
|
$(INSTALL_CMD)
|
2009-10-31 11:53:31 -06:00
|
|
|
|
|
|
|
ChangeLog:
|
|
|
|
$(CHANGELOG_CMD)
|
|
|
|
|
2010-11-11 03:14:40 -07:00
|
|
|
dist-hook: ChangeLog INSTALL
|
2009-10-31 11:53:31 -06:00
|
|
|
|
|
|
|
CLEANFILES=$(lintlib_DATA)
|