]> git.saurik.com Git - wxWidgets.git/commitdiff
added a simple makefile to regenerate all other makefiles with tmake
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 18 Aug 1999 18:23:03 +0000 (18:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 18 Aug 1999 18:23:03 +0000 (18:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

distrib/msw/tmake/Makefile [new file with mode: 0644]
distrib/msw/tmake/tmake.conf [new file with mode: 0644]
distrib/msw/tmake/unx.t

diff --git a/distrib/msw/tmake/Makefile b/distrib/msw/tmake/Makefile
new file mode 100644 (file)
index 0000000..e682ebb
--- /dev/null
@@ -0,0 +1,40 @@
+# FIXME we'll generate this makefile with configure later, but for now please
+#       change it manually
+TMAKEDIR=/home/zeitlin/build/tmake
+TMAKE=$(TMAKEDIR)/bin/tmake
+
+WXDIR=../../..
+MSW_MAKEFILES_DIR=$(WXDIR)/src/msw
+
+all: $(MSW_MAKEFILES_DIR)/makefile.vc \
+     $(MSW_MAKEFILES_DIR)/makefile.b32 \
+     $(MSW_MAKEFILES_DIR)/makefile.dos \
+     $(MSW_MAKEFILES_DIR)/makefile.bcc \
+     $(MSW_MAKEFILES_DIR)/makefile.sc \
+     $(MSW_MAKEFILES_DIR)/makefile.wat \
+     $(MSW_MAKEFILES_DIR)/makefile.g95 \
+     $(WXDIR)/Makefile.in
+
+$(MSW_MAKEFILES_DIR)/makefile.vc: filelist.txt wxwin.pro
+       $(TMAKE) -t vc wxwin.pro -o $@
+
+$(MSW_MAKEFILES_DIR)/makefile.b32: filelist.txt wxwin.pro
+       $(TMAKE) -t b32 wxwin.pro -o $@
+
+$(MSW_MAKEFILES_DIR)/makefile.dos: filelist.txt wxwin.pro
+       $(TMAKE) -t dos wxwin.pro -o $@
+
+$(MSW_MAKEFILES_DIR)/makefile.bcc: filelist.txt wxwin.pro
+       $(TMAKE) -t bcc wxwin.pro -o $@
+
+$(MSW_MAKEFILES_DIR)/makefile.sc: filelist.txt wxwin.pro
+       $(TMAKE) -t sc wxwin.pro -o $@
+
+$(MSW_MAKEFILES_DIR)/makefile.wat: filelist.txt wxwin.pro
+       $(TMAKE) -t wat wxwin.pro -o $@
+
+$(MSW_MAKEFILES_DIR)/makefile.g95: filelist.txt wxwin.pro
+       $(TMAKE) -t g95 wxwin.pro -o $@
+
+$(WXDIR)/Makefile.in: filelist.txt wxwin.pro
+       $(TMAKE) -t unx wxwin.pro -o $@
diff --git a/distrib/msw/tmake/tmake.conf b/distrib/msw/tmake/tmake.conf
new file mode 100644 (file)
index 0000000..eed7c32
--- /dev/null
@@ -0,0 +1,57 @@
+#
+# $Id$
+#
+# tmake configuration for linux-g++
+#
+
+TEMPLATE               = app
+CONFIG                 = qt warn_on release
+
+TMAKE_CC               = gcc
+TMAKE_CFLAGS           =
+TMAKE_CFLAGS_WARN_ON   = -Wall -W
+TMAKE_CFLAGS_WARN_OFF  =
+TMAKE_CFLAGS_RELEASE   = -O2 -fno-strength-reduce
+TMAKE_CFLAGS_DEBUG     = -g
+TMAKE_CFLAGS_SHLIB     = -fPIC
+TMAKE_CFLAGS_YACC      = -Wno-unused -Wno-parentheses
+
+TMAKE_CXX              = g++
+TMAKE_CXXFLAGS         = $$TMAKE_CFLAGS
+TMAKE_CXXFLAGS_WARN_ON = $$TMAKE_CFLAGS_WARN_ON
+TMAKE_CXXFLAGS_WARN_OFF        = $$TMAKE_CFLAGS_WARN_OFF
+TMAKE_CXXFLAGS_RELEASE = $$TMAKE_CFLAGS_RELEASE
+TMAKE_CXXFLAGS_DEBUG   = $$TMAKE_CFLAGS_DEBUG
+TMAKE_CXXFLAGS_SHLIB   = $$TMAKE_CFLAGS_SHLIB
+TMAKE_CXXFLAGS_YACC    = $$TMAKE_CFLAGS_YACC
+
+TMAKE_INCDIR           =
+TMAKE_LIBDIR           =
+TMAKE_INCDIR_X11       = /usr/X11R6/include
+TMAKE_LIBDIR_X11       = /usr/X11R6/lib
+TMAKE_INCDIR_QT                = $(QTDIR)/include
+TMAKE_LIBDIR_QT                = $(QTDIR)/lib
+TMAKE_INCDIR_OPENGL    = /usr/X11R6/include
+TMAKE_LIBDIR_OPENGL    = /usr/X11R6/lib
+
+TMAKE_LINK             = g++
+TMAKE_LINK_SHLIB       = g++
+TMAKE_LFLAGS           = -Wl,-rpath=/lib:/usr/X11R6/lib:$(QTDIR)/lib
+TMAKE_LFLAGS_RELEASE   =
+TMAKE_LFLAGS_DEBUG     =
+TMAKE_LFLAGS_SHLIB     = -shared
+TMAKE_LFLAGS_SONAME    = -Wl,-soname,
+
+TMAKE_LIBS             =
+TMAKE_LIBS_X11         = -lX11 -lXext
+TMAKE_LIBS_QT          = -lqt
+TMAKE_LIBS_QT_OPENGL   = -lqgl
+TMAKE_LIBS_OPENGL      = -lMesaGL -lMesaGLU -lXmu -lXext -lm
+
+TMAKE_MOC              = moc
+
+TMAKE_AR               = ar cqs
+TMAKE_RANLIB           =
+
+TMAKE_TAR              = tar -cf
+TMAKE_GZIP             = gzip -9f
index 41007e515978606ca651b5f2396d860195f73eb7..332baca2b391d800235d382c18c2f3ce816383d8 100644 (file)
@@ -6,7 +6,6 @@
 #! Created: 14.07.99
 #! Version: $Id$
 #!################################################################################
 #! Created: 14.07.99
 #! Version: $Id$
 #!################################################################################
-
 #${
     #! include the code which parses filelist.txt file and initializes
     #! %wxCommon, %wxGeneric, %wxHtml, %wxUnix and %wxGTK hashes.
 #${
     #! include the code which parses filelist.txt file and initializes
     #! %wxCommon, %wxGeneric, %wxHtml, %wxUnix and %wxGTK hashes.
@@ -26,6 +25,7 @@
     }
 
     foreach $file (sort keys %wxGeneric) {
     }
 
     foreach $file (sort keys %wxGeneric) {
+        #! skip generic files not required for the wxGTK port
         next if $wxGeneric{$file} =~ /\bR\b/;
 
         $file =~ s/cp?p?$/\o/;
         next if $wxGeneric{$file} =~ /\bR\b/;
 
         $file =~ s/cp?p?$/\o/;