summaryrefslogtreecommitdiff
path: root/src/include/Makefile.sub
blob: 58e1ac981badbecddf4db115079458de4b80aad0 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
HDRS=\
  assert.h \
  cmap.h \
  cset.h \
  color.h \
  device.h \
  driver.h \
  DviChar.h \
  errarg.h \
  error.h \
  font.h \
  geometry.h \
  getopt.h \
  getopt_int.h \
  gettext.h \
  htmlhint.h \
  index.h \
  lib.h \
  macropath.h \
  nonposix.h \
  posix.h \
  printer.h \
  ptable.h \
  refid.h \
  relocate.h \
  search.h \
  searchpath.h \
  stringclass.h \
  symbol.h \
  unicode.h \
  XFontName.h
GENHDRS=defs.h

all depend: $(GENHDRS)

defs.h: FORCE
	@$(SHELL) $(top_srcdir)/gendef.sh defs.h \
	"PROG_PREFIX=\"$(g)\"" \
	"DEVICE=\"$(DEVICE)\"" \
	"INSTALLPATH=\"$(prefix)\"" \
	"BINPATH=\"$(bindir)\"" \
	"FONTPATH=\"$(fontpath)\"" \
	"MACROPATH=\"$(tmacpath)\"" \
	"INDEX_SUFFIX=\"$(indexext)\"" \
	"COMMON_WORDS_FILE=\"$(common_words_file)\"" \
	"DEFAULT_INDEX_DIR=\"$(indexdir)\"" \
	"DEFAULT_INDEX_NAME=\"$(indexname)\"" \
	"DEFAULT_INDEX=\"$(indexdir)/$(indexname)\""

FORCE: