]>
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 | CPP = @CPP@ | |
35 | CPPFLAGS=@CPPFLAGS@ | |
36 | CFLAGS = @CFLAGS@ $(CPPFLAGS) $(OPTIMISE) $(PROFILE) $(DEBUG) | |
37 | ||
38 | # c++-compiler stuff | |
39 | CXX = @CXX@ | |
40 | CXXFLAGS = @CXXFLAGS@ $(CPPFLAGS) $(OPTIMISE) $(PROFILE) $(DEBUG) | |
41 | CXXCPP = @CXXCPP@ | |
42 | ||
43 | # shared compile stuff | |
44 | PICFLAGS = @PICFLAGS@ | |
45 | CREATE_SHARED = @CREATE_SHARED@ | |
46 | ||
47 | # other stuff | |
48 | RM = rm -f | |
49 | LEX = @LEX@ | |
50 | LEXLIB = @LEXLIB@ | |
51 | YACC = @YACC@ | |
52 | RANLIB = @RANLIB@ | |
53 | INSTALL = @INSTALL@ | |
54 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
55 | INSTALL_DATA = @INSTALL_DATA@ | |
56 | AWK = @AWK@ | |
57 | LN_S = @LN_S@ | |
58 | STRIP = @STRIP@ | |
59 | CJPEG_PROG = | |
60 | CONVERT_PATH = /usr/bin/X11 | |
61 | CONVERT_PROG = /usr/bin/X11/convert | |
62 | DJPEG_PROG = | |
63 | GIFTOPNM_PROG = | |
64 | NETPBM_PATH = | |
65 | ||
66 | # Base directories for installation | |
67 | prefix = @prefix@ | |
68 | exec_prefix = @exec_prefix@ | |
69 | ||
70 | # Directory in which to install headers | |
71 | includedir = @includedir@ | |
72 | ||
73 | # Directory in which to install library files | |
74 | libdir = @libdir@ | |
75 | ||
76 | # Directory in which to install executable files | |
77 | bindir = @bindir@ | |
78 | ||
79 | X_CFLAGS = @X_CFLAGS@ | |
80 | X_LIBS = @X_LIBS@ | |
81 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ | |
82 | X_PRE_LIBS = @X_PRE_LIBS@ | |
83 | ||
84 | GUI_TK_INCLUDE = @GUI_TK_INCLUDE@ | |
85 | GUI_TK_LIBRARY = @GUI_TK_LIBRARY@ | |
86 | GUI_TK_LINK = @GUI_TK_LINK@ | |
87 | ||
88 | WX_LINK = @WX_LINK@ | |
89 | ||
90 | THREADS_LINK = @THREADS_LINK@ | |
91 | EXTRA_LINK = @EXTRA_LINK@ | |
92 | JPEG_LINK = @JPEG_LINK@ | |
93 | POSIX4_LINK=@POSIX4_LINK@ | |
94 | ||
95 | # INCLUDES | |
96 | WX_INCLUDES = \ | |
97 | $(TOOLKIT_DEF) \ | |
98 | -I$(WXBASEDIR)/include \ | |
99 | -I. \ | |
100 | $(GUI_TK_INCLUDE) \ | |
101 | -I$(WXBASEDIR)/src/zlib \ | |
102 | -I$(WXBASEDIR)/src/iodbc \ | |
103 | $(X_CFLAGS) | |
104 | ||
105 | WX_LIBS = -L$(GLOBAL_LIB_DIR) $(WX_LINK) | |
106 | ||
107 | GUI_TK_LIBS = $(GUI_TK_LIBRARY) $(GUI_TK_LINK) @DL_LIBRARY@ | |
108 | ||
109 | LINK = $(CXX) -o $@ | |
110 | LINK_LIBS= \ | |
111 | $(WX_LIBS) \ | |
112 | $(GUI_TK_LIBS) \ | |
113 | $(X_EXTRA_LIBS) \ | |
114 | $(X_PRE_LIBS) \ | |
115 | $(THREADS_LINK) \ | |
116 | $(POSIX4_LINK) \ | |
117 | $(EXTRA_LINK) \ | |
118 | $(JPEG_LINK) | |
119 | ||
120 | # Don't include $(OPENGL_LIBS) in LINK_LIBS; they | |
121 | # can be conveniently added to BIN_LINK in Makefile.in. | |
122 | ||
123 | #### End of system configuration section. #### |