summaryrefslogtreecommitdiff
path: root/dviware/mdvi/config/config.mk.in
blob: 54781e654df27128083153a93f69661279680d10 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# @configure_input@

PACKAGE = @PACKAGE@
MAJOR   = @MAJOR@
MINOR   = @MINOR@
PATCH   = @PATCH@
VERSION = @VERSION@

#############################################
# Directories

TOPDIR       = @TOPDIR@
TOPSRCDIR    = @TOPSRCDIR@
CONFIGDIR    = $(TOPDIR)/config
CONFIGSRCDIR = $(TOPSRCDIR)/config
FRAGDIR      = $(CONFIGSRCDIR)
prefix	     = @prefix@
exec_prefix  = @exec_prefix@
bindir	     = @bindir@
datadir	     = @datadir@
localedir    = $(datadir)/locale

# gettext uses this
top_builddir = $(TOPDIR)

############################################
# Programs

@SET_MAKE@
SHELL	= @SHELL@
CC	= @CC@
TAR	= tar
MAKELIB	= ar rcs
MD5SUM	= @MD5SUM@
MAKEDEP = $(CC) -MM -MG
INSTALL	= @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIRS = $(SHELL) $(CONFIGSRCDIR)/mkinstalldirs

############################################
# Compiler options

# Compiler options
CFLAGS	= @CFLAGS@
LDFLAGS	= @LDFLAGS@
DEFS	= @DEFS@
CPPFLAGS= @CPPFLAGS@

# Default flags for dependencies
DEPCFLAGS = $(CFLAGS) $(CPPFLAGS)

# Out `support' library
SUPPORTLIB = @SUPPORTLIB@
SUPPORTHDR = @SUPPORTHDR@

# Options to compile kpathsea sources
KPSE_CFLAGS = @KPATHSEA_CFLAGS@
# Options to link against the kpathsea library
KPSE_LIBS = @KPATHSEA_LDFLAGS@ @KPATHSEA_LIBS@

# Options to compile t1lib sources
T1LIB_CFLAGS = @T1LIB_CFLAGS@
T1LIB_LIBS = @T1LIB_LDFLAGS@ @T1LIB_LIBS@

# Options to compile FreeType sources
FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
FREETYPE_LIBS = @FREETYPE_LDFLAGS@ @FREETYPE_LIBS@

# Options to compile X sources
X_CFLAGS = @X_CFLAGS@
# Options to link against the X libraries
X_LIBS = @X_LIBS@ @X11LIB@ @X_EXTRA_LIBS@

# Options for i18n
INTLDEPS = @INTLDEPS@
INTLLIBS = @INTLLIBS@
INTLCFLAGS_yes = -I$(top_builddir)/intl

# Libraries we need
LIBS = @LIBS@

# Additional compiler flags
ADDCFLAGS = $(INTLCFLAGS_@USE_INCLUDED_LIBINTL@) $(SUPPORTHDR)

# Additional libraries
ADDLIBS = $(INTLLIBS) $(SUPPORTLIB)