xenocara/app/xdm/greeter/Makefile.am

35 lines
657 B
Makefile
Raw Normal View History

2006-11-25 13:07:29 -07:00
xdmlibdir = $(XDMLIBDIR)
if DYNAMIC_GREETER
2006-11-25 13:07:29 -07:00
xdmlib_LTLIBRARIES = libXdmGreet.la
else
noinst_LTLIBRARIES = libXdmGreet.la
endif
2006-11-25 13:07:29 -07:00
libXdmGreet_la_SOURCES = \
Login.c \
Login.h \
LoginP.h \
2006-11-25 13:07:29 -07:00
greet.c \
verify.c
libXdmGreet_la_LIBADD = $(XDMGREET_LIBS)
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CFLAGS = $(CWARNFLAGS) $(XDMGREET_CFLAGS) -DGREET_LIB
2006-11-25 13:07:29 -07:00
if DYNAMIC_GREETER
2006-11-25 13:07:29 -07:00
libXdmGreet_la_LDFLAGS = -module -avoid-version
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