Makefile.am 825 Bytes
Newer Older
Bastien Nocera's avatar
Bastien Nocera committed
1 2
if HAVE_PAM

Matthias Clasen's avatar
Matthias Clasen committed
3
pammod_LTLIBRARIES = pam_fprintd.la
Bastien Nocera's avatar
Bastien Nocera committed
4
pammoddir=$(libdir)/security
Bastien Nocera's avatar
Bastien Nocera committed
5

Matthias Clasen's avatar
Matthias Clasen committed
6
pam_fprintd_la_SOURCES = pam_fprintd.c $(MARSHALFILES)
7
pam_fprintd_la_CFLAGS = -fPIC $(WARN_CFLAGS) $(GLIB_CFLAGS) -DLOCALEDIR="\"$(localedir)\""
8
pam_fprintd_la_LDFLAGS = -avoid-version -module -Wl,-z,nodelete
Matthias Clasen's avatar
Matthias Clasen committed
9
pam_fprintd_la_LIBADD = $(PAM_LIBS) $(GLIB_LIBS)
Bastien Nocera's avatar
Bastien Nocera committed
10

11 12 13 14 15 16 17 18 19
MARSHALFILES = marshal.c marshal.h
GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
BUILT_SOURCES = $(MARSHALFILES)

marshal.h: $(top_srcdir)/src/fprintd-marshal.list
	( $(GLIB_GENMARSHAL) --prefix=fprintd_marshal $(top_srcdir)/src/fprintd-marshal.list --header > marshal.h )
marshal.c: marshal.h
	( $(GLIB_GENMARSHAL) --prefix=fprintd_marshal $(top_srcdir)/src/fprintd-marshal.list --body --header > marshal.c )

Bastien Nocera's avatar
Bastien Nocera committed
20 21
endif

Bastien Nocera's avatar
Bastien Nocera committed
22
EXTRA_DIST = pam_fprintd.c fingerprint-strings.h