xenocara/lib/libXdmcp/Makefile.am
matthieu 4088d0fef3 Update to libXdmcp 1.1.0.
Tested by krw@, ajacoutot@, jasper@ and on a bulk ports build by landry@
2010-11-11 10:14:40 +00:00

67 lines
1.3 KiB
Makefile

SUBDIRS=doc
lib_LTLIBRARIES = libXdmcp.la
AM_CPPFLAGS = -I${top_srcdir}/include
AM_CFLAGS = \
$(XDMCP_CFLAGS) \
$(CWARNFLAGS)
libXdmcp_la_LDFLAGS = -version-number 6:0:0 -no-undefined
libXdmcp_la_LIBADD = $(XDMCP_LIBS)
libXdmcp_la_SOURCES = \
Array.c \
Fill.c \
Flush.c \
Key.c \
Read.c \
Unwrap.c \
Wrap.c \
Wrap.h \
Write.c
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
MAINTAINERCLEANFILES = ChangeLog INSTALL
EXTRA_DIST = autogen.sh Wraphelp.c Wraphelp.README.crypto
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
.PHONY: ChangeLog INSTALL
INSTALL:
$(INSTALL_CMD)
ChangeLog:
$(CHANGELOG_CMD)
dist-hook: ChangeLog INSTALL
CLEANFILES=$(lintlib_DATA)