2012-03-10 04:59:38 -07:00
|
|
|
SUBDIRS=man
|
|
|
|
|
2006-11-25 09:53:47 -07:00
|
|
|
lib_LTLIBRARIES = libXau.la
|
|
|
|
|
2010-08-21 10:11:03 -06:00
|
|
|
AM_CFLAGS = $(XAU_CFLAGS) $(CWARNFLAGS)
|
2013-05-31 08:46:30 -06:00
|
|
|
AM_CPPFLAGS = -I${top_srcdir}/include
|
2006-11-25 09:53:47 -07:00
|
|
|
|
|
|
|
libXau_la_LDFLAGS = -version-number 6:0:0 -no-undefined
|
|
|
|
|
|
|
|
libXau_la_LIBADD = $(XAU_LIBS)
|
|
|
|
|
|
|
|
libXau_la_SOURCES = \
|
|
|
|
AuDispose.c \
|
|
|
|
AuFileName.c \
|
|
|
|
AuGetAddr.c \
|
|
|
|
AuGetBest.c \
|
|
|
|
AuLock.c \
|
|
|
|
AuRead.c \
|
|
|
|
AuUnlock.c \
|
|
|
|
AuWrite.c
|
|
|
|
|
|
|
|
xauincludedir=$(includedir)/X11
|
|
|
|
|
|
|
|
xauinclude_HEADERS = include/X11/Xauth.h
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = xau.pc
|
|
|
|
|
2006-12-16 14:38:42 -07:00
|
|
|
check_PROGRAMS=Autest
|
|
|
|
TESTS=Autest
|
|
|
|
|
|
|
|
Autest_SOURCES=Autest.c
|
|
|
|
Autest_LDADD=libXau.la
|
|
|
|
|
|
|
|
if LINT
|
|
|
|
ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
|
|
$(AM_CPPFLAGS) $(CPPFLAGS)
|
|
|
|
|
|
|
|
lint:
|
|
|
|
$(LINT) $(ALL_LINT_FLAGS) $(libXau_la_SOURCES)
|
|
|
|
endif LINT
|
|
|
|
|
|
|
|
if MAKE_LINT_LIB
|
|
|
|
lintlibdir = $(libdir)
|
|
|
|
|
|
|
|
lintlib_DATA = $(LINTLIB)
|
|
|
|
|
|
|
|
$(LINTLIB): $(libXau_la_SOURCES)
|
|
|
|
$(LINT) -y -oXau -x $(ALL_LINT_FLAGS) $(libXau_la_SOURCES)
|
|
|
|
endif MAKE_LINT_LIB
|
|
|
|
|
2012-03-10 04:59:38 -07:00
|
|
|
CLEANFILES = $(lintlib_DATA)
|
2010-08-21 10:11:03 -06:00
|
|
|
MAINTAINERCLEANFILES = ChangeLog INSTALL
|
2006-12-16 14:38:42 -07:00
|
|
|
|
2010-08-21 10:11:03 -06:00
|
|
|
.PHONY: ChangeLog INSTALL
|
|
|
|
|
|
|
|
INSTALL:
|
|
|
|
$(INSTALL_CMD)
|
2006-12-16 14:38:42 -07:00
|
|
|
|
|
|
|
ChangeLog:
|
2009-10-31 11:44:36 -06:00
|
|
|
$(CHANGELOG_CMD)
|
2006-12-16 14:38:42 -07:00
|
|
|
|
2010-08-21 10:11:03 -06:00
|
|
|
dist-hook: ChangeLog INSTALL
|