summaryrefslogtreecommitdiffstats
path: root/Makefile.mingw.common
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2007-02-20 21:06:07 +0000
committerishmal <ishmal@users.sourceforge.net>2007-02-20 21:06:07 +0000
commit33eb73ce15941eb2162f4c213c19b46726766c5a (patch)
treef84b2671de7feb6a4cfca7baead4770bf76bedeb /Makefile.mingw.common
parentImprove null check (diff)
downloadinkscape-33eb73ce15941eb2162f4c213c19b46726766c5a.tar.gz
inkscape-33eb73ce15941eb2162f4c213c19b46726766c5a.zip
remove old *.mingw files
(bzr r2408)
Diffstat (limited to 'Makefile.mingw.common')
-rw-r--r--Makefile.mingw.common239
1 files changed, 0 insertions, 239 deletions
diff --git a/Makefile.mingw.common b/Makefile.mingw.common
deleted file mode 100644
index ba5e6739b..000000000
--- a/Makefile.mingw.common
+++ /dev/null
@@ -1,239 +0,0 @@
-###########################################################################
-# $Id$
-# File: Makefile.mingw.common
-# Does: Common definitions for all Makefile.mingw files
-# Author: Bob Jamison & the Inkscape Guys
-###########################################################################
-
-####### Sense whether we are on a DOS box or cross-compiling
-ifdef ComSpec
-BUILD=native
-DOSSHELL=CMD_EXE
-else
-ifdef COMSPEC
-BUILD=native
-DOSSHELL=COMMAND_COM
-else
-BUILD=cross
-endif
-endif
-
-
-
-
-##########################################################################
-# FILE SEPARATORS
-# $(S) will be set to one of these
-##########################################################################
-BSLASH := \\#
-FSLASH := /
-
-
-
-##########################################################################
-# CROSS / NATIVE SWITCHES
-##########################################################################
-ifeq ($(BUILD),cross)
-
-
-
-##########################################################################
-# CROSS COMPILER SETTINGS
-##########################################################################
-
-CC = i686-pc-mingw32-gcc
-CXX = i686-pc-mingw32-g++
-AS = i686-pc-mingw32-as
-AR = i686-pc-mingw32-ar
-OBJCOPY = i686-pc-mingw32-objcopy
-RANLIB = i686-pc-mingw32-ranlib
-WINDRES = i686-pc-mingw32-windres
-LD = i686-pc-mingw32-ld
-DLLWRAP = i686-pc-mingw32-dllwrap
-DLLTOOL = i686-pc-mingw32-dlltool
-
-####### file separator
-S = $(FSLASH)
-
-####### escape character for echo
-E = /
-
-####### file manipulation programs
-CP = cp
-RMDIR = rm -rf
-MKDIR = mkdir
-CPDIR = cp -rf
-MSGFMT = msgfmt
-RMREC = find ./inkscape -type f -name
-RMREC1 = |xargs $(RM)
-RMDIRREC = find ./inkscape -type d -name
-RMDIRREC1 = |xargs $(RMDIR)
-
-####### Where is your GTK directory?
-GTK=/target
-
-####### Same thing, file system style
-GTKDOS=$(GTK)
-
-DTG := $(shell date +%y%m%d.%H%M)
-
-else
-
-##########################################################################
-# NATIVE COMPILER SETTINGS
-##########################################################################
-
-CC = i686-pc-mingw32-gcc
-CXX = i686-pc-mingw32-g++
-AS = as
-AR = ar
-OBJCOPY = objcopy
-RANLIB = ranlib
-WINDRES = windres
-DLLWRAP = dllwrap
-DLLTOOL = dlltool
-
-####### file separator
-S = $(BSLASH)
-
-####### escape character for echo
-E =
-
-####### file manipulation programs
-CP = copy
-
-####### are we on WinNt and beyond?
-ifeq ($(DOSSHELL),CMD_EXE)
-RMDIR = rmdir /s /q
-RM = del
-else
-RMDIR = deltree /y
-RM = del
-endif
-MKDIR = mkdir
-CPDIR = xcopy /e /i
-RMREC = cd inkscape & $(RM) /s /q
-RMREC1 = & cd ..
-RMDIRREC = cd inkscape & $(RMDIR) /s
-RMDIRREC1 = & cd ..
-
-####### Where is your GTK directory?
-ifndef GTK
-GTK=c:/gtk210
-endif
-
-####### Same thing, DOS style
-ifndef GTKDOS
-GTKDOS=c:\gtk210
-endif
-
-####### Command to process .po files --> .mo
-MSGFMT = $(GTKDOS)$(S)bin$(S)msgfmt
-
-####### change me!!
-DTG := 20070111
-
-endif
-##########################################################################
-# END CROSS / NATIVE SWITCHES
-##########################################################################
-
-
-###### VERSION NUMBER
-# VERSION_NR = 0.45+devel
-# VERSION = \"$(VERSION_NR)-${DTG}\"
-
-VERSION_NR = 0.45+devel
-VERSION = \"$(VERSION_NR)\"
-
-####### the XP_WIN def is necessary for libjs.a
-CFLAGS = -Wall -g -O3 -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 -DHAVE_SSL -DRELAYTOOL_SSL="static const int libssl_is_present=1; static int __attribute__((unused)) libssl_symbol_is_present(char *s){ return 1; }"
-
-
-####### IMPLICIT RULES
-.cpp.o:
- $(CXX) $(CFLAGS) $(INC) -c -o $@ $<
-
-.c.o:
- $(CC) $(CFLAGS) $(INC) -c -o $@ $<
-
-
-
-
-
-##########################################################################
-# INCLUDES AND LIBRARIES
-##########################################################################
-
-GTKINC = -I$(GTK)/include/glibmm-2.4 -I$(GTK)/lib/glibmm-2.4/include \
--I$(GTK)/include/gtkmm-2.4 -I$(GTK)/lib/gtkmm-2.4/include \
--I$(GTK)/include/gdkmm-2.4 -I$(GTK)/lib/gdkmm-2.4/include \
--I$(GTK)/include/pangomm-1.4 \
--I$(GTK)/include/atkmm-1.6 -I$(GTK)/include/cairo \
--I$(GTK)/include/cairomm-1.0 \
--I$(GTK)/include/sigc++-2.0 -I$(GTK)/lib/sigc++-2.0/include \
--I$(GTK)/include/gtk-2.0 -I$(GTK)/lib/gtk-2.0/include \
--I$(GTK)/include/atk-1.0 -I$(GTK)/include/pango-1.0 \
--I$(GTK)/include/glib-2.0 -I$(GTK)/lib/glib-2.0/include
-
-
-####### Our Gtk libs
-GTKLIB = -L$(GTK)/lib \
--lgtkmm-2.4 -lgdkmm-2.4 -lglibmm-2.4 \
--latkmm-1.6 -lpangomm-1.4 -lsigc-2.0 \
--lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 \
--lgdk_pixbuf-2.0 \
--lpangocairo-1.0 -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0 \
--lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lcairo
-
-####### For PERL
-####### (note: perl's config.h has some nested comments)
-PERLINC = -Wno-comment -I$(GTK)/perl/lib/CORE
-PERLLIB = -L$(GTK)/perl/lib/CORE -lperl58
-
-####### For Python
-PYTHONINC = -I$(GTK)/python/include
-PYTHONLIB = -L$(GTK)/python/libs -lpython24
-#PYTHONLIB = -L$(GTK)/python/libs/libpython24.a
-
-####### remove -DLIBXML_STATIC
-INC = -I. -I.. -I../.. -I../cxxtest $(GTKINC) -I$(GTK)/include \
-$(PERLINC) $(PYTHONINC) \
--I$(GTK)/include/libxml2 -I$(GTK)/include/freetype2 \
-
-
-# To enable loudmouth uncomment and move this line below
-LIBS = $(GTKLIB) $(PERLLIB) $(PYTHONLIB) \
-$(GTK)/bin/libxml2.dll \
-$(GTK)/lib/iconv.lib \
--lfreetype.dll -lfontconfig.dll \
--llcms.dll \
--lssl -lcrypto \
--lpng -lpopt $(GTK)/lib/zdll.lib \
--lgc -mwindows -lws2_32 -lintl -lm
-
-
-##########################################################################
-# END INCLUDES AND LIBRARIES
-##########################################################################
-
-
-
-
-##########################################################################
-# E N D O F F I L E
-##########################################################################
-
-
-
-
-
-
-
-
-