#
# File:     make.env
# Author:   Julian Smart, Robert Roebling, Vadim Zeitlin
# Created:  1993
# Updated:  1999
# Copyright:(c) 1993, AIAI, University of Edinburgh,
# Copyright:(c) 1999, Vadim Zeitlin
# Copyright:(c) 1999, Robert Roebling
#

####################### GENERAL SETTINGS ############################

# see comment near LDFLAGS at the end of file
EXTRALIBS =   -L/usr/X11R6/lib  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl -lXi -lXext -lX11 -lm       -ldl    -lpthread    -lm
OPENGLLIBS = 
LDLIBS = $(APPEXTRALIBS) ${top_builddir}/lib/libwx_gtkd.a $(EXTRALIBS)

TOOLKIT = GTK
TOOLKITDIR = gtk

WXLIB = libwx_gtkd.a
WXSHLIB = libwx_gtkd-2.3.so.0.0.0

EXTRADEFS="-DwxINSTALL_PREFIX=\"/usr/local\""

########################### VERSION #################################

WX_MAJOR_VERSION_NUMBER = 2
WX_MINOR_VERSION_NUMBER = 3
WX_RELEASE_NUMBER = 0

########################### Programs #################################

# C++ compiler
CC          = c++
CCPP        = c++ -E

# C compiler
CCC         = gcc
CCCPP       = gcc -E

# Compiler for lex/yacc .c programs
CCLEX       = gcc

LEX         = flex
YACC        = bison -y
AR          = ar
AS          = 
NM          = 
LN_S        = ln -s
STRIP       = strip
MAKE        = make
AROPTIONS   = ruv
RANLIB      = ranlib
LD          = 
MAKEINFO    = 

SHARED_LD   = 

RESFLAGS    = 
RESCOMP     = 
REZ         = 
REZFLAGS    = 
DEREZ       = 
DEREZFLAGS  = 
DLLTOOL     = 

########################### Flags #################################

#
# CPPFLAGS  (gnu standard) is not C++ flags, but flags for the "cpp"
# preprocessor. Unfortunately whoever wrote this now uses CPPFLAGS for
# C++ like CFLAGS for C. :-(
# We *must* include CPPFLAGS in both of these, to make sure that all
# header files get found.  (KB)

CFLAGS = $(APPEXTRACFLAGS) $(APPEXTRACPPFLAGS) -D__WXGTK__  -D__WXDEBUG__ -g -I. -I${top_builddir}/include -I${top_srcdir}/include -I${top_srcdir}/src/zlib -I${top_srcdir}/src/png -I${top_srcdir}/src/tiff -I/usr/lib/glib/include -I/usr/X11R6/include -Wall   -I/usr/X11R6/include $(EXTRADEFS) $(APPEXTRADEFS) 
CPPFLAGS = $(APPEXTRACXXFLAGS) $(APPEXTRACPPFLAGS) -D__WXGTK__  -D__WXDEBUG__ -g -I. -I${top_builddir}/include -I${top_srcdir}/include -I${top_srcdir}/src/zlib -I${top_srcdir}/src/png -I${top_srcdir}/src/tiff -I/usr/lib/glib/include -I/usr/X11R6/include -Wall   -I/usr/X11R6/include $(EXTRADEFS) $(APPEXTRADEFS) 
PICFLAGS = 

# taking into account how SHARED_LD is defined, appending LDFLAGS to it
# doesn't work, so we put them in the end of the linker command line in
# EXTRALIBS instead (see above)
# LDFLAGS =   -L/usr/X11R6/lib 

