summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-slapi-plugins/ipa-sidgen/Makefile.am
blob: 642fdd599b9a3e8204232199e1cc4a5ee8b013ba (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
NULL =

PLUGIN_COMMON_DIR=../common

AM_CPPFLAGS =							\
	-I.							\
	-I$(srcdir)						\
	-I$(PLUGIN_COMMON_DIR)					\
	-I/usr/include/dirsrv					\
	-DPREFIX=\""$(prefix)"\" 				\
	-DBINDIR=\""$(bindir)"\"				\
	-DLIBDIR=\""$(libdir)"\" 				\
	-DLIBEXECDIR=\""$(libexecdir)"\"			\
	-DDATADIR=\""$(datadir)"\"				\
	$(LDAP_CFLAGS)					\
	$(WARN_CFLAGS)						\
	$(NULL)

plugindir = $(libdir)/dirsrv/plugins
plugin_LTLIBRARIES = 		\
	libipa_sidgen.la	\
	libipa_sidgen_task.la	\
	$(NULL)

libipa_sidgen_la_SOURCES = 	\
	ipa_sidgen.c		\
	ipa_sidgen_common.c	\
	$(NULL)

libipa_sidgen_la_LDFLAGS = -avoid-version

libipa_sidgen_la_LIBADD = 	\
	$(LDAP_LIBS)		\
	$(NULL)

libipa_sidgen_task_la_SOURCES = 	\
	ipa_sidgen_task.c		\
	ipa_sidgen_common.c		\
	$(NULL)

libipa_sidgen_task_la_LDFLAGS = -avoid-version

libipa_sidgen_task_la_LIBADD = 	\
	$(LDAP_LIBS)		\
	$(NULL)

appdir = $(IPA_DATA_DIR)
app_DATA =				\
	ipa-sidgen-conf.ldif		\
	ipa-sidgen-task-conf.ldif	\
	ipa-sidgen-task-run.ldif	\
	$(NULL)

EXTRA_DIST =			\
	$(app_DATA)		\
	$(NULL)

MAINTAINERCLEANFILES =		\
	*~			\
	Makefile.in