summaryrefslogtreecommitdiff
path: root/app/xdm/xdmshell/Makefile.am
blob: ea4904881cad779aaa1e32c36a9cf5d669948434 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

if INSTALL_XDMSHELL
bin_PROGRAMS = xdmshell
else
noinst_PROGRAMS = xdmshell
endif

AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CFLAGS = 			\
	$(CWARNFLAGS)		\
	$(XDMSHELL_CFLAGS)	\
	-DBINDIR="\"$(bindir)\""

xdmshell_SOURCES = xdmshell.c

if LINT
ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) \
		$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)

lint:
	$(LINT) $(ALL_LINT_FLAGS) $(xdmshell_SOURCES)
endif LINT