aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/util/Makefile.am
blob: dfe91f1ae106dfc260b2b3eb4799feaca99816c0 (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

noinst_PROGRAMS=makekeys

makekeys_CFLAGS = \
	$(X11_CFLAGS) \
	$(CWARNFLAGS)

makekeys_CPPFLAGS = \
	-I$(top_srcdir)/include

CC = @CC_FOR_BUILD@
CPPFLAGS = @CPPFLAGS_FOR_BUILD@
CFLAGS = @CFLAGS_FOR_BUILD@
LDFLAGS = @LDFLAGS_FOR_BUILD@

EXTRA_DIST = mkks.sh

if LINT
# Check source code with tools like lint & sparse

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

lint:
	$(LINT) $(ALL_LINT_FLAGS) makekeys.c

endif LINT