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__GTK__
27 # general compiler stuff
34 CFLAGS = -Wall $(OPTIMISE) $(PROFILE) $(DEBUG)
39 CXXFLAGS = -Wall $(OPTIMISE) $(PROFILE) $(DEBUG)
42 # shared compile stuff
52 INSTALL = /usr/bin/install -c
53 INSTALL_PROGRAM = ${INSTALL}
54 INSTALL_DATA = ${INSTALL} -m 644
58 CONVERT_PATH = /usr/bin/X11
59 CONVERT_PROG = /usr/bin/X11/convert
65 exec_prefix = ${prefix}
67 # Directory in which to install scripts.
68 #bindir = ${exec_prefix}/bin
70 # Directory in which to install library files.
71 datadir = ${prefix}/share
72 acdatadir = $(datadir)/autoconf
74 # Directory in which to install documentation info files.
75 infodir = ${prefix}/info
77 X_CFLAGS = -I/usr/X11R6/include
78 X_LIBS = -L/usr/X11R6/lib
80 X_PRE_LIBS = -lSM -lICE
82 GUI_TK_INCLUDE = -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include
83 GUI_TK_LIBRARY = -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lXext -lX11 -lm
97 -I$(WXBASEDIR)/include \
98 -I$(WXBASEDIR)/src/png \
99 -I$(WXBASEDIR)/src/zlib \
100 -I$(WXBASEDIR)/src/gdk_imlib \
105 WX_LIBS = -L$(GLOBAL_LIB_DIR) -lwx_gtk
107 OPENGL_LIBS = $(OPENGL_LIBRARY) $(OPENGL_LINK)
109 GUI_TK_LIBS = $(GUI_TK_LIBRARY) $(GUI_TK_LINK)
118 # $(X_LIBS) -lX11 -lXext -lm gtk-config does this for me
120 # Don't include $(OPENGL_LIBS) or $(THREADS_LINK) in LINK_LIBS; they
121 # can be conveniently added to BIN_LINK in Makefile.in.
123 #### End of system configuration section. ####