summaryrefslogtreecommitdiff
path: root/libck-connector/Makefile.am
blob: 9a8c0a8fe7cb7e8c9a2089c840caadc74d82ff5e (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
NULL =

AM_CFLAGS = 				\
	-I.				\
	-U_FORTIFY_SOURCE		\
	$(LIBDBUS_CFLAGS)		\
	$(NULL)

lib_LTLIBRARIES = 			\
	libck-connector.la		\
	$(NULL)

libck_connectorincludedir = $(includedir)/ConsoleKit/ck-connector

libck_connectorinclude_HEADERS =	\
	ck-connector.h			\
	$(NULL)

libck_connector_la_SOURCES = 		\
	ck-connector.c			\
	ck-connector.h			\
	$(NULL)

if BUILD_TESTS
noinst_PROGRAMS = 			\
	test-connector			\
	$(NULL)

test_connector_SOURCES = 		\
	test-connector.c 		\
	$(NULL)


test_connector_LDADD =			\
	libck-connector.la	\
	$(LIBDBUS_LIBS)			\
	$(NULL)
endif # BUILD_TESTS

# soname management for libck-connector
LIBCKCON_LT_CURRENT=0
LIBCKCON_LT_REVISION=0
LIBCKCON_LT_AGE=0

libck_connector_la_LIBADD = 		\
	$(LIBDBUS_LIBS)			\
	$(NULL)

libck_connector_la_LDFLAGS = 		\
	-version-info $(LIBCKCON_LT_CURRENT):$(LIBCKCON_LT_REVISION):$(LIBCKCON_LT_AGE)	\
	$(NULL)

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = ck-connector.pc

EXTRA_DIST = 				\
	ck-connector.pc.in		\
	$(NULL)

MAINTAINERCLEANFILES =			\
	*~				\
	Makefile.in

clean-local:
	rm -f *~