]> git.saurik.com Git - wxWidgets.git/blame - src/gtk/setup/linux/maketmpl
I've now added the documentation files.
[wxWidgets.git] / src / gtk / setup / linux / maketmpl
CommitLineData
c801d85f
KB
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
21GLOBAL_LIB_DIR = $(WXBASEDIR)/lib/$(OS)
22GLOBAL_BIN_DIR = $(WXBASEDIR)/bin/$(OS)
23
24# define toolkit to use
25TOOLKIT_DEF = -D__GTK__
26
27# general compiler stuff
28OPTIMISE = -O2
29PROFILE =
30DEBUG =
31
32# c-compiler stuff
33CC = gcc
34CFLAGS = -Wall $(OPTIMISE) $(PROFILE) $(DEBUG)
35CPP = gcc -E
36
37# c++-compiler stuff
38CXX = c++
39CXXFLAGS = -Wall $(OPTIMISE) $(PROFILE) $(DEBUG)
40CXXCPP = c++ -E
41
42# shared compile stuff
43PICFLAGS = -fPIC
44CREATE_SHARED = sharedLinux
45
46# other stuff
47RM = rm -f
48LEX = flex
49LEXLIB = -lfl
50YACC = bison -y
51RANLIB = ranlib
52INSTALL = /usr/bin/install -c
53INSTALL_PROGRAM = ${INSTALL}
54INSTALL_DATA = ${INSTALL} -m 644
55AWK = mawk
56LN_S = ln -s
57CJPEG_PROG =
58CONVERT_PATH = /usr/bin/X11
59CONVERT_PROG = /usr/bin/X11/convert
60DJPEG_PROG =
61GIFTOPNM_PROG =
62NETPBM_PATH =
63
64prefix = /usr/local
65exec_prefix = ${prefix}
66
67# Directory in which to install scripts.
68#bindir = ${exec_prefix}/bin
69
70# Directory in which to install library files.
71datadir = ${prefix}/share
72acdatadir = $(datadir)/autoconf
73
74# Directory in which to install documentation info files.
75infodir = ${prefix}/info
76
77X_CFLAGS = -I/usr/X11R6/include
78X_LIBS = -L/usr/X11R6/lib
79X_EXTRA_LIBS =
80X_PRE_LIBS = -lSM -lICE
81
82GUI_TK_INCLUDE = -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include
83GUI_TK_LIBRARY = -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lXext -lX11 -lm
84GUI_TK_LINK =
85
86OPENGL_INCLUDE =
87OPENGL_LIBRARY =
88OPENGL_LINK =
89
90THREADS_LINK =
91
92# INCLUDES
93WX_INCLUDES = \
94$(TOOLKIT_DEF) \
95-I. \
96-I.. \
97-I$(WXBASEDIR)/include \
98-I$(WXBASEDIR)/src/png \
99-I$(WXBASEDIR)/src/zlib \
100-I$(WXBASEDIR)/src/gdk_imlib \
101$(GUI_TK_INCLUDE) \
102$(OPENGL_INCLUDE) \
103$(X_CFLAGS)
104
105WX_LIBS = -L$(GLOBAL_LIB_DIR) -lwx_gtk
106
107OPENGL_LIBS = $(OPENGL_LIBRARY) $(OPENGL_LINK)
108
109GUI_TK_LIBS = $(GUI_TK_LIBRARY) $(GUI_TK_LINK)
110
111LINK = $(CXX) -o $@
112LINK_LIBS= \
113 $(WX_LIBS) \
114 $(GUI_TK_LIBS) \
115 $(X_EXTRA_LIBS) \
116 $(X_PRE_LIBS)
117
118# $(X_LIBS) -lX11 -lXext -lm gtk-config does this for me
119
120# Don't include $(OPENGL_LIBS) or $(THREADS_LINK) in LINK_LIBS; they
121# can be conveniently added to BIN_LINK in Makefile.in.
122
123#### End of system configuration section. ####