aboutsummaryrefslogtreecommitdiff
path: root/libXdmcp/Makefile.am
blob: 14e8ed064291ea37fa99860ed3f0238b5675b2d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
lib_LTLIBRARIES = libXdmcp.la

AM_CFLAGS=-I${top_srcdir}/include $(XDMCP_CFLAGS)
libXdmcp_la_LDFLAGS = -version-number 6:0:0 -no-undefined
libXdmcp_la_LIBADD = $(XDMCP_LIBS)
libXdmcp_la_SOURCES = \
	A8Eq.c \
	AA16.c \
	AA32.c \
	AA8.c \
	Alloc.c \
	AofA8.c \
	CA8.c \
	CmpKey.c \
	DA16.c \
	DA32.c \
	DA8.c \
	DAofA8.c \
	DecKey.c \
	Fill.c \
	Flush.c \
	GenKey.c \
	IncKey.c \
	RA16.c \
	RA32.c \
	RA8.c \
	RAofA8.c \
	RC16.c \
	RC32.c \
	RC8.c \
	RHead.c \
	RR.c \
	RaA16.c \
	RaA32.c \
	RaA8.c \
	RaAoA8.c \
	Unwrap.c \
	WA16.c \
	WA32.c \
	WA8.c \
	WAofA8.c \
	WC16.c \
	WC32.c \
	WC8.c \
	Whead.c \
	Wrap.c \
	Wrap.h

if HASXDMAUTH
nodist_libXdmcp_la_SOURCES = Wraphelp.c
endif HASXDMAUTH

xdmcpincludedir=$(includedir)/X11

INCLUDES = \
	-I${top_builddir}/include

xdmcpinclude_HEADERS = \
	include/X11/Xdmcp.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xdmcp.pc

EXTRA_DIST = xdmcp.pc.in 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

if MAINTAINER_MODE
.PHONY: ChangeLog

ChangeLog:
	GIT_DIR=${srcdir}/.git git-log > ChangeLog

dist-hook: ChangeLog
endif MAINTAINER_MODE

CLEANFILES=$(lintlib_DATA)