]>
Commit | Line | Data |
---|---|---|
1 | # Makefile for Autoconf. | |
2 | # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. | |
3 | ||
4 | # This program is free software; you can redistribute it and/or modify | |
5 | # it under the terms of the GNU General Public License as published by | |
6 | # the Free Software Foundation; either version 2, or (at your option) | |
7 | # any later version. | |
8 | ||
9 | # This program is distributed in the hope that it will be useful, | |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | # GNU General Public License for more details. | |
13 | ||
14 | # You should have received a copy of the GNU General Public License | |
15 | # along with this program; if not, write to the Free Software | |
16 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
17 | # 02111-1307, USA. | |
18 | ||
19 | #### Start of system configuration section. #### | |
20 | ||
21 | GLOBAL_LIB_DIR = $(WXBASEDIR)/lib/$(OS) | |
22 | GLOBAL_BIN_DIR = $(WXBASEDIR)/bin/$(OS) | |
23 | ||
24 | # define toolkit to use | |
25 | TOOLKIT_DEF = -D@TOOLKIT_DEF@ | |
26 | ||
27 | # general compiler stuff | |
28 | OPTIMISE = @OPTIMISE@ | |
29 | PROFILE = @PROFILE@ | |
30 | DEBUG = @WXDEBUG@ @WXDEBUG_DEFINE@ | |
31 | ||
32 | # c-compiler stuff | |
33 | CC = @CC@ | |
34 | CFLAGS = @CFLAGS@ $(OPTIMISE) $(PROFILE) $(DEBUG) | |
35 | CPP = @CPP@ | |
36 | ||
37 | # c++-compiler stuff | |
38 | CXX = @CXX@ | |
39 | CXXFLAGS = @CXXFLAGS@ $(OPTIMISE) $(PROFILE) $(DEBUG) | |
40 | CXXCPP = @CXXCPP@ | |
41 | ||
42 | # shared compile stuff | |
43 | PICFLAGS = @PICFLAGS@ | |
44 | CREATE_SHARED = @CREATE_SHARED@ | |
45 | ||
46 | # other stuff | |
47 | RM = rm -f | |
48 | LEX = @LEX@ | |
49 | LEXLIB = @LEXLIB@ | |
50 | YACC = @YACC@ | |
51 | RANLIB = @RANLIB@ | |
52 | INSTALL = @INSTALL@ | |
53 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
54 | INSTALL_DATA = @INSTALL_DATA@ | |
55 | AWK = @AWK@ | |
56 | LN_S = @LN_S@ | |
57 | CJPEG_PROG = | |
58 | CONVERT_PATH = /usr/bin/X11 | |
59 | CONVERT_PROG = /usr/bin/X11/convert | |
60 | DJPEG_PROG = | |
61 | GIFTOPNM_PROG = | |
62 | NETPBM_PATH = | |
63 | ||
64 | prefix = @prefix@ | |
65 | exec_prefix = @exec_prefix@ | |
66 | ||
67 | # Directory in which to install scripts. | |
68 | #bindir = @bindir@ | |
69 | ||
70 | # Directory in which to install library files. | |
71 | datadir = @datadir@ | |
72 | acdatadir = $(datadir)/autoconf | |
73 | ||
74 | # Directory in which to install documentation info files. | |
75 | infodir = @infodir@ | |
76 | ||
77 | X_CFLAGS = @X_CFLAGS@ | |
78 | X_LIBS = @X_LIBS@ | |
79 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ | |
80 | X_PRE_LIBS = @X_PRE_LIBS@ | |
81 | ||
82 | GUI_TK_INCLUDE = @GUI_TK_INCLUDE@ | |
83 | GUI_TK_LIBRARY = @GUI_TK_LIBRARY@ | |
84 | GUI_TK_LINK = @GUI_TK_LINK@ | |
85 | ||
86 | OPENGL_INCLUDE = @OPENGL_INCLUDE@ | |
87 | OPENGL_LIBRARY = @OPENGL_LIBRARY@ | |
88 | OPENGL_LINK = @OPENGL_LINK@ | |
89 | ||
90 | THREADS_LINK = @THREADS_LINK@ | |
91 | ||
92 | # INCLUDES | |
93 | WX_INCLUDES = \ | |
94 | $(TOOLKIT_DEF) \ | |
95 | -I. \ | |
96 | -I.. \ | |
97 | -I$(WXBASEDIR)/include \ | |
98 | -I$(WXBASEDIR)/src/zlib \ | |
99 | $(GUI_TK_INCLUDE) \ | |
100 | $(OPENGL_INCLUDE) \ | |
101 | $(X_CFLAGS) | |
102 | ||
103 | # -I$(WXBASEDIR)/src/png \ | |
104 | # -I$(WXBASEDIR)/src/zlib \ | |
105 | # -I$(WXBASEDIR)/src/gdk_imlib \ | |
106 | ||
107 | WX_LIBS = -L$(GLOBAL_LIB_DIR) -lwx_gtk | |
108 | ||
109 | OPENGL_LIBS = $(OPENGL_LIBRARY) $(OPENGL_LINK) | |
110 | ||
111 | GUI_TK_LIBS = $(GUI_TK_LIBRARY) $(GUI_TK_LINK) -ldl | |
112 | ||
113 | LINK = $(CXX) -o $@ | |
114 | LINK_LIBS= \ | |
115 | $(WX_LIBS) \ | |
116 | $(GUI_TK_LIBS) \ | |
117 | $(X_EXTRA_LIBS) \ | |
118 | $(X_PRE_LIBS) \ | |
119 | $(THREADS_LINK) | |
120 | ||
121 | # $(X_LIBS) -lX11 -lXext -lm gtk-config does this for me | |
122 | ||
123 | # Don't include $(OPENGL_LIBS) in LINK_LIBS; they | |
124 | # can be conveniently added to BIN_LINK in Makefile.in. | |
125 | ||
126 | #### End of system configuration section. #### |