added a simple makefile to regenerate all other makefiles with tmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b87654f3fd
commit
772829164b
40
distrib/msw/tmake/Makefile
Normal file
40
distrib/msw/tmake/Makefile
Normal file
@ -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 $@
|
57
distrib/msw/tmake/tmake.conf
Normal file
57
distrib/msw/tmake/tmake.conf
Normal file
@ -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
|
@ -6,7 +6,6 @@
|
||||
#! Created: 14.07.99
|
||||
#! Version: $Id$
|
||||
#!################################################################################
|
||||
|
||||
#${
|
||||
#! 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) {
|
||||
#! skip generic files not required for the wxGTK port
|
||||
next if $wxGeneric{$file} =~ /\bR\b/;
|
||||
|
||||
$file =~ s/cp?p?$/\o/;
|
||||
|
Loading…
Reference in New Issue
Block a user