summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 1d8e6e38176b0a1571d17c2404ea0993bf0ff818 (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
AM_CFLAGS = $(RUNTIME_CFLAGS)
AM_LDFLAGS = -module -avoid-version -export-symbols-regex nis_plugin_init
LIBPTHREAD = @LIBPTHREAD@
LIBWRAP = @LIBWRAP@

plugindir = $(libdir)/dirsrv/plugins
dist_noinst_SCRIPTS = ypmaplist.py

plugin_LTLIBRARIES = nisserver-plugin.la
nisserver_plugin_la_SOURCES = \
	backend.c \
	backend.h \
	defaults.c \
	defaults.h \
	dispatch.c \
	dispatch.h \
	format.c \
	format.h \
	map.c \
	map.h \
	nis.c \
	nis.h \
	plug-nis.c \
	plug-nis.h \
	portmap.c \
	portmap.h \
	wrap.c \
	wrap.h
nisserver_plugin_la_LIBADD = $(RUNTIME_LIBS) $(LIBWRAP) -lnsl $(LIBPTHREAD)

noinst_LTLIBRARIES = dummy-nis-plugin.la
dummy_nis_plugin_la_SOURCES = \
	dispatch.c \
	dispatch.h \
	dummymap.c \
	map.h \
	nis.c \
	nis.h \
	plug-nis.c \
	plug-nis.h \
	portmap.c \
	portmap.h
dummy_nis_plugin_la_LIBADD = $(RUNTIME_LIBS) -lnsl -lpthread