1noinst_PROGRAMS = makestrs
2
3CC = @CC_FOR_BUILD@
4CPPFLAGS = @CPPFLAGS_FOR_BUILD@
5CFLAGS = @CFLAGS_FOR_BUILD@
6LDFLAGS = @LDFLAGS_FOR_BUILD@
7LIBS =
8LINK = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@
9
10EXTRA_DIST = \
11	Shell.ht \
12	StrDefs.ct \
13	StrDefs.ht \
14	string.list
15
16makestrs_SOURCES = makestrs.c
17
18
19# Man page
20appmandir = $(APP_MAN_DIR)
21
22appman_PRE = makestrs.man
23
24noinst_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
25
26EXTRA_DIST += $(appman_PRE)
27CLEANFILES = $(noinst_DATA)
28
29SUFFIXES = .$(APP_MAN_SUFFIX) .man
30
31# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
32.man.$(APP_MAN_SUFFIX):
33	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
34