summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4582b20)
raw | patch | inline | side by side (parent: 4582b20)
author | ishmal <ishmal@users.sourceforge.net> | |
Tue, 20 Jun 2006 01:47:46 +0000 (01:47 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Tue, 20 Jun 2006 01:47:46 +0000 (01:47 +0000) |
Makefile.mingw | patch | blob | history | |
Makefile.mingw.common | patch | blob | history |
diff --git a/Makefile.mingw b/Makefile.mingw
index d70438c69b1e5896b0e0d147b7c3d8ec4cd6061d..57662b73ee3e0699540f36f0cfaacd1ee5a4d51c 100644 (file)
--- a/Makefile.mingw
+++ b/Makefile.mingw
include ./Makefile.mingw.common
-all: generated required
+all: generated
$(MAKE) -C po -f Makefile.mingw
$(MAKE) -C src -f Makefile.mingw
# G E N E R A T E D F I L E S
###################################
-generated: config.h $(GTKDOS)$(S)bin$(S)intl.dll
+generated: config.h src$(S)make.dep $(GTKDOS)$(S)bin$(S)intl.dll
config.h: config.h.mingw
$(CP) config.h.mingw config.h
+src$(S)deptool.exe: src$(S)deptool.cpp
+ cd src && $(CXX) -g -Wall -o deptool.exe deptool.cpp
+
+src$(S)make.dep: src$(S)deptool.exe
+ cd src && deptool.exe
+
$(GTKDOS)$(S)bin$(S)intl.dll:
$(CP) $(GTKDOS)$(S)bin$(S)libintl-2.dll $(GTKDOS)$(S)bin$(S)intl.dll
# R E Q U I R E D F I L E S
###################################
-required: src$(S)make.files src$(S)make.ofiles src$(S)make.dep
-
-src$(S)make.files:
- cd src && $(GTKDOS)$(S)perl$(S)bin$(S)perl mkfiles.pl
-
-src$(S)make.ofiles:
- cd src && $(GTKDOS)$(S)perl$(S)bin$(S)perl mkdep.pl
-
-src$(S)make.dep:
- cd src && $(GTKDOS)$(S)perl$(S)bin$(S)perl mkdep.pl
-
dist-strip: dist
strip inkscape$(S)inkscape.exe
strip inkscape$(S)inkview.exe
strip inkscape$(S)libloudmouth-1-0.dll
-$(RM) inkscape$(S)gdb.exe
-dist: generated required
+dist: generated
$(MAKE) -C src -f Makefile.mingw
-$(RMDIR) inkscape
$(MKDIR) inkscape
$(MAKE) -C src -f Makefile.mingw clean
$(MAKE) -C po -f Makefile.mingw clean
-$(RM) src$(S)make.files
- -$(RM) src$(S)make.ofiles
+ -$(RM) src$(S)make.ref
-$(RM) src$(S)make.dep
-minimal: generated required
+minimal: generated
$(MAKE) -C src -f Makefile.mingw
-$(RM) inkscape$(S)inkscape.exe
$(CP) src$(S)inkscape.exe inkscape
diff --git a/Makefile.mingw.common b/Makefile.mingw.common
index 79858923817fb62c8123997d4c77bbe445901c51..70a2bcd9d6a84c6527e3b44d688a70f694af2371 100644 (file)
--- a/Makefile.mingw.common
+++ b/Makefile.mingw.common
# NATIVE COMPILER SETTINGS
##########################################################################
-CC = mingw32-gcc
-CXX = mingw32-g++
+CC = i686-pc-mingw32-gcc
+CXX = i686-pc-mingw32-g++
AS = as
-AR = mingw32-ar
+AR = i686-pc-mingw32-ar
OBJCOPY = objcopy
RANLIB = ranlib
WINDRES = windres
VERSION = \"$(VERSION_NR)\"
####### the XP_WIN def is necessary for libjs.a
-CFLAGS = -g -O3 -Wall -mms-bitfields -DVERSION=$(VERSION) \
+CFLAGS = -O3 -Wall -mms-bitfields -DVERSION=$(VERSION) \
-DXP_WIN -D_INTL_REDIRECT_INLINE -DHAVE_CONFIG_H
####### Inkboard abilities.
####### You must 'make -f Makefile.mingw clean' when turning this on or off
-#CFLAGS += -DWITH_INKBOARD
+CFLAGS += -DWITH_INKBOARD
####### IMPLICIT RULES
.cpp.o:
# To enable loudmouth uncomment and move this line below
-#-lloudmouth-1.dll -lssl -lcrypto
LIBS = $(GTKLIB) $(PERLLIB) $(PYTHONLIB) \
$(GTK)/bin/libxml2.dll \
$(GTK)/lib/iconv.lib \
-lfreetype.dll -lfontconfig.dll \
-llcms.dll \
+-lloudmouth-1.dll -lssl -lcrypto \
-lpng -lpopt $(GTK)/lib/zdll.lib \
-lgc -mwindows -lws2_32 -lintl