X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cb17fe41eeefff2ba60d28c2d3866fa8e07fc2f9..8e360a085f281fca0c512c1731bdc9164484fd9e:/setup/maketmpl.in diff --git a/setup/maketmpl.in b/setup/maketmpl.in index 3b46d09403..a97349e8a5 100644 --- a/setup/maketmpl.in +++ b/setup/maketmpl.in @@ -31,12 +31,13 @@ DEBUG = @WXDEBUG@ @WXDEBUG_DEFINE@ # c-compiler stuff CC = @CC@ -CFLAGS = @CFLAGS@ $(OPTIMISE) $(PROFILE) $(DEBUG) CPP = @CPP@ +CPPFLAGS=@CPPFLAGS@ +CFLAGS = @CFLAGS@ $(CPPFLAGS) $(OPTIMISE) $(PROFILE) $(DEBUG) # c++-compiler stuff CXX = @CXX@ -CXXFLAGS = @CXXFLAGS@ $(OPTIMISE) $(PROFILE) $(DEBUG) +CXXFLAGS = @CXXFLAGS@ $(CPPFLAGS) $(OPTIMISE) $(PROFILE) $(DEBUG) CXXCPP = @CXXCPP@ # shared compile stuff @@ -54,7 +55,8 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ AWK = @AWK@ LN_S = @LN_S@ -CJPEG_PROG = +STRIP = @STRIP@ +CJPEG_PROG = CONVERT_PATH = /usr/bin/X11 CONVERT_PROG = /usr/bin/X11/convert DJPEG_PROG = @@ -83,31 +85,26 @@ GUI_TK_INCLUDE = @GUI_TK_INCLUDE@ GUI_TK_LIBRARY = @GUI_TK_LIBRARY@ GUI_TK_LINK = @GUI_TK_LINK@ -OPENGL_INCLUDE = @OPENGL_INCLUDE@ -OPENGL_LIBRARY = @OPENGL_LIBRARY@ -OPENGL_LINK = @OPENGL_LINK@ +WX_LINK = @WX_LINK@ THREADS_LINK = @THREADS_LINK@ EXTRA_LINK = @EXTRA_LINK@ +JPEG_LINK = @JPEG_LINK@ +POSIX4_LINK=@POSIX4_LINK@ # INCLUDES WX_INCLUDES = \ +-I$(WXBASEDIR)/src/zlib \ +-I$(WXBASEDIR)/src/png \ +-I$(WXBASEDIR)/src/jpeg \ $(TOOLKIT_DEF) \ --I. \ --I.. \ -I$(WXBASEDIR)/include \ --I$(WXBASEDIR)/src/zlib \ +-I. \ $(GUI_TK_INCLUDE) \ -$(OPENGL_INCLUDE) \ +-I$(WXBASEDIR)/src/iodbc \ $(X_CFLAGS) -# -I$(WXBASEDIR)/src/png \ -# -I$(WXBASEDIR)/src/zlib \ -# -I$(WXBASEDIR)/src/gdk_imlib \ - -WX_LIBS = -L$(GLOBAL_LIB_DIR) -lwx_gtk - -OPENGL_LIBS = $(OPENGL_LIBRARY) $(OPENGL_LINK) +WX_LIBS = -L$(GLOBAL_LIB_DIR) $(WX_LINK) GUI_TK_LIBS = $(GUI_TK_LIBRARY) $(GUI_TK_LINK) @DL_LIBRARY@ @@ -118,8 +115,10 @@ LINK_LIBS= \ $(X_EXTRA_LIBS) \ $(X_PRE_LIBS) \ $(THREADS_LINK) \ - $(EXTRA_LINK) - + $(POSIX4_LINK) \ + $(EXTRA_LINK) \ + $(JPEG_LINK) + # Don't include $(OPENGL_LIBS) in LINK_LIBS; they # can be conveniently added to BIN_LINK in Makefile.in.