2006-11-25 13:07:29 -07:00
|
|
|
xdmlibdir = $(XDMLIBDIR)
|
|
|
|
|
2011-11-15 13:53:44 -07:00
|
|
|
if DYNAMIC_GREETER
|
2006-11-25 13:07:29 -07:00
|
|
|
xdmlib_LTLIBRARIES = libXdmGreet.la
|
2011-11-15 13:53:44 -07:00
|
|
|
else
|
|
|
|
noinst_LTLIBRARIES = libXdmGreet.la
|
|
|
|
endif
|
2006-11-25 13:07:29 -07:00
|
|
|
|
|
|
|
libXdmGreet_la_SOURCES = \
|
|
|
|
Login.c \
|
2011-11-15 13:53:44 -07:00
|
|
|
Login.h \
|
|
|
|
LoginP.h \
|
2006-11-25 13:07:29 -07:00
|
|
|
greet.c \
|
|
|
|
verify.c
|
|
|
|
|
|
|
|
libXdmGreet_la_LIBADD = $(XDMGREET_LIBS)
|
|
|
|
|
2011-11-15 13:53:44 -07:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
|
|
|
AM_CFLAGS = $(CWARNFLAGS) $(XDMGREET_CFLAGS) -DGREET_LIB
|
2006-11-25 13:07:29 -07:00
|
|
|
|
2011-11-15 13:53:44 -07:00
|
|
|
if DYNAMIC_GREETER
|
2006-11-25 13:07:29 -07:00
|
|
|
libXdmGreet_la_LDFLAGS = -module -avoid-version
|
2011-11-15 13:53:44 -07:00
|
|
|
else
|
|
|
|
libXdmGreet_la_LDFLAGS = -static
|
2006-11-25 13:07:29 -07:00
|
|
|
endif
|
2007-08-05 13:00:25 -06:00
|
|
|
|
|
|
|
if LINT
|
|
|
|
ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
2010-03-28 03:33:02 -06:00
|
|
|
$(AM_CPPFLAGS) $(CPPFLAGS)
|
2007-08-05 13:00:25 -06:00
|
|
|
|
|
|
|
lint:
|
|
|
|
$(LINT) $(ALL_LINT_FLAGS) $(libXdmGreet_la_SOURCES)
|
|
|
|
|
|
|
|
endif LINT
|