1 # Makefile for Autoconf.
2 # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
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)
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.
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
19 #### Start of system configuration section. ####
21 GLOBAL_LIB_DIR = $(WXBASEDIR)/lib/$(OS)
22 GLOBAL_BIN_DIR = $(WXBASEDIR)/bin/$(OS)
24 # define toolkit to use
25 TOOLKIT_DEF = -D@TOOLKIT_DEF@
27 # general compiler stuff
30 DEBUG = @WXDEBUG@ @WXDEBUG_DEFINE@
36 CFLAGS = @CFLAGS@ $(CPPFLAGS) $(OPTIMISE) $(PROFILE) $(DEBUG) -D_REENTRANT
40 CXXFLAGS = @CXXFLAGS@ $(CPPFLAGS) $(OPTIMISE) $(PROFILE) $(DEBUG) -D_REENTRANT
43 # shared compile stuff
45 CREATE_SHARED = @CREATE_SHARED@
54 INSTALL_PROGRAM = @INSTALL_PROGRAM@
55 INSTALL_DATA = @INSTALL_DATA@
59 CONVERT_PATH = /usr/bin/X11
60 CONVERT_PROG = /usr/bin/X11/convert
65 # Base directories for installation
67 exec_prefix = @exec_prefix@
69 # Directory in which to install headers
70 includedir = @includedir@
72 # Directory in which to install library files
75 # Directory in which to install executable files
80 X_EXTRA_LIBS = @X_EXTRA_LIBS@
81 X_PRE_LIBS = @X_PRE_LIBS@
83 GUI_TK_INCLUDE = @GUI_TK_INCLUDE@
84 GUI_TK_LIBRARY = @GUI_TK_LIBRARY@
85 GUI_TK_LINK = @GUI_TK_LINK@
89 OPENGL_INCLUDE = @OPENGL_INCLUDE@
90 OPENGL_LIBRARY = @OPENGL_LIBRARY@
91 OPENGL_LINK = @OPENGL_LINK@
93 THREADS_LINK = @THREADS_LINK@
94 EXTRA_LINK = @EXTRA_LINK@
99 -I$(WXBASEDIR)/include \
102 -I$(WXBASEDIR)/src/zlib \
103 -I$(WXBASEDIR)/src/iodbc \
107 WX_LIBS = -L$(GLOBAL_LIB_DIR) $(WX_LINK)
109 OPENGL_LIBS = $(OPENGL_LIBRARY) $(OPENGL_LINK)
111 GUI_TK_LIBS = $(GUI_TK_LIBRARY) $(GUI_TK_LINK) @DL_LIBRARY@
122 # Don't include $(OPENGL_LIBS) in LINK_LIBS; they
123 # can be conveniently added to BIN_LINK in Makefile.in.
125 #### End of system configuration section. ####