3 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin
6 # Copyright:(c) 1993, AIAI, University of Edinburgh,
7 # Copyright:(c) 1999, Vadim Zeitlin
8 # Copyright:(c) 1999, Robert Roebling
11 ####################### GENERAL SETTINGS ############################
13 # see comment near LDFLAGS at the end of file
14 EXTRALIBS = @LDFLAGS@ @EXTRA_LIBS@
15 LDLIBS = ${top_builddir}/lib/@WX_TARGET_LIBRARY@ $(EXTRALIBS) $(APPEXTRALIBS)
18 TOOLKITDIR = @TOOLKIT_DIR@
20 WXLIB = @WX_LIBRARY_NAME_STATIC@
21 WXSHLIB = @WX_LIBRARY_NAME_SHARED@
23 EXTRADEFS="-DwxINSTALL_PREFIX=\"@prefix@\""
25 ########################### VERSION #################################
27 WX_MAJOR_VERSION_NUMBER = @WX_MAJOR_VERSION_NUMBER@
28 WX_MINOR_VERSION_NUMBER = @WX_MINOR_VERSION_NUMBER@
29 WX_RELEASE_NUMBER = @WX_RELEASE_NUMBER@
31 ########################### Programs #################################
41 # Compiler for lex/yacc .c programs
57 SHARED_LD = @SHARED_LD@
63 ########################### Flags #################################
66 # CPPFLAGS (gnu standard) is not C++ flags, but flags for the "cpp"
67 # preprocessor. Unfortunately whoever wrote this now uses CPPFLAGS for
68 # C++ like CFLAGS for C. :-(
69 # We *must* include CPPFLAGS in both of these, to make sure that all
70 # header files get found. (KB)
72 CFLAGS = @TOOLKIT_DEF@ @CODE_GEN_FLAGS@ @WXDEBUG_DEFINE@ @CFLAGS@ @CPPFLAGS@
73 CPPFLAGS = @TOOLKIT_DEF@ @CODE_GEN_FLAGS@ @WXDEBUG_DEFINE@ @CXXFLAGS@ @CPPFLAGS@
76 # taking into account how SHARED_LD is defined, appending LDFLAGS to it
77 # doesn't work, so we put them in the end of the linker command line in
78 # EXTRALIBS instead (see above)