-
Notifications
You must be signed in to change notification settings - Fork 6
/
makeopts.in
146 lines (125 loc) · 3.63 KB
/
makeopts.in
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# makeopts template file for M
# $Id$
# set build root directories:
SOURCEDIR := @SOURCEDIR@
BUILDDIR := @BUILDDIR@
top_builddir := @BUILDDIR@
# the c-client (imap) library:
IMAP_OSTYPE := @CCOSTYPE@
IMAP_SSLTYPE := @IMAP_SSLTYPE@
IMAP_CFLAGS := @IMAP_CFLAGS@
# the compface library:
CFACE_CPPFLAGS := @CFACE_CPPFLAGS@
CFACE_CFLAGS := @CFACE_CFLAGS@
# the libmal library:
LIBMAL_CPPFLAGS := @LIBMAL_CPPFLAGS@
LIBMAL_CFLAGS := @LIBMAL_CFLAGS@
LIBMAL_CXXFLAGS := @LIBMAL_CXXFLAGS@
# where we have the Icon xpms:
ICONDIR=$(SOURCEDIR)/src/icons
# resources:
RESFLAGS := @RESFLAGS@
# this will be set or unset
@MAKE_USE_PYTHON@
@MAKE_USE_DSPAM@
@MAKE_DEBUG@
@MAKE_EXPERIMENTAL@
@MAKE_USE_MODULES@
@MAKE_USE_LEAKTRACER@
@MAKE_HAVE_DOCTOOLS@
@MAKE_HAVE_LIBMAL@
@MAKE_PISOCKLIB@
@MAKE_USE_MAC@
@MAKE_USE_MINGW@
@MAKE_USE_RESOURCES@
@MAKE_USE_PCH@
ifdef HAVE_LIBMAL
LIBMAL_SRC := $(SOURCEDIR)/extra/src/libmal
PISOCK_LIB += -L$(BUILDDIR)/extra/src/libmal -lmal
endif
# libraries needed by the modules, linked against individually in the modules
# directory, but listed here in case we build a static library:
ifeq ($(USE_MODULES),static)
MODULES_LIBS := $(PISOCK_LIB)
else
MODULES_LIBS :=
endif
# canonical host
CANONICAL_HOST := @host@
# documentation
PERL := @PERL@
# DOC++/kdoc (doc++ is preferred, -r to do short filenames to avoid dpkg bug)
DOCXXHTML=doc++ -r -f -k -u -k $(DXXTBL) -H -d $(BUILDDIR)/doc/classes
DOCXXTEX =doc++ -f -k -u -k $(DXXTBL) -H -t -o $(BUILDDIR)/doc/classes.tex
KDOCHTML = kdoc -H -d $(BUILDDIR)/doc/classes -u $(SOURCEDIR) -a -i -e M
KDOCTEX = kdoc -T -d $(BUILDDIR)/doc/classes -u $(SOURCEDIR) -a -i -e M
SCANDOCHTML = @PERL@ $(SOURCEDIR)/extra/scandoc/scandoc.pl -i $(SOURCEDIR)/extra/scandoc/Mtemplate.html -p $(BUILDDIR)/doc/classes/ -t 3
SCANDOCTEX = echo "Cannot generate .tex class documentation with scandoc."
DOCHTML := @DOCHTML@
DOCTEX := @DOCTEX@
LATEX := @LATEX@
MAKEINDEX := @MAKEINDEX@
DVIPS := @DVIPS@
LATEX2HTML := @LATEX2HTML@
PSTOPDF := @PSTOPDF@
# international localizations (i.e., translations)
@MAKE_XLATE@
XGETTEXT:= @XGETTEXT@
MSGMERGE:= @MSGMERGE@
MSGFMT := @MSGFMT@
# compiler stuff
CPP := @CPP@
CPPFLAGS= @CPPFLAGS@
CC := @CC@
CXX := @CXX@
AR := ar
RANLIB := @RANLIB@
YACC := @YACC@
# SWIG
SWIG := @SWIG@
# other stuff
RM := rm -f
M4 := @M4@
REZFLAGS:= @REZFLAGS@
SETFILE := @SETFILE@
# install stuff
INSTALL := @INSTALL@
INSTALL_PROGRAM := @INSTALL_PROGRAM@
INSTALL_DATA := @INSTALL_DATA@
INSTALL_OPTIONS := -m 755
ifdef USE_MAC
# under Mac OS X we "install" into our bundle which the user can then simply
# drag and drop whenever he wishes
DESTDIR = $(top_builddir)/src/Mahogany.app/Contents
BINDIR = $(DESTDIR)/MacOS
# LIBDIR and MODULEDIR are unused under Mac so far
LOCALEDIR = $(DESTDIR)/Resources/locale
DATADIR = $(DESTDIR)/Resources
else # normal Unix stuff
DESTDIR = @prefix@
# Directory in which to install binaries and scripts
BINDIR = $(DESTDIR)/bin
# Directory in which to install loadable modules
LIBDIR = $(DESTDIR)/lib/mahogany
# Directory in which to install loadable modules
MODULEDIR = $(LIBDIR)/modules
# Directory in which to install message catalogs
LOCALEDIR = $(DESTDIR)/share/locale
# Directory in which to install arch-independent data files
DATADIR = $(DESTDIR)/share/mahogany
endif
# where to install docs
DOCDIR = $(DATADIR)/doc
LINK = $(CXX)
CFLAGS = @CFLAGS@
CXXFLAGS = @CXXFLAGS@
# for the python code:
CXXFLAGS_RELAXED = @CXXFLAGS_RELAXED@
# shared libraries options
SHARED_CFLAGS := @SHARED_CFLAGS@
LDFLAGS = @LDFLAGS@ @MODULELDFLAGS@
LIBS=$(MODULES_LIBS) @LIBS@
GUI_LIBS=@WX_LIBS@
GUI_LIBS_QUARTSTATIC=@GUI_LIBS_QUARTSTATIC@
GUI_LIBS_SEMISTATIC=@GUI_LIBS_SEMISTATIC@
GUI_LIBS_STATIC=@GUI_LIBS_STATIC@