Code

update and adding finnish translation
[inkscape.git] / Makefile.mingw.common
index 093c57a4294ee78d305a50b53589ee10a54d9608..f619f2a886a111b00c4c70f018c1f0276abe4275 100644 (file)
@@ -60,11 +60,11 @@ E = /
 
 ####### file manipulation programs
 CP     = cp
-RMDIR  = rm -rf 
+RMDIR  = rm -rf
 MKDIR  = mkdir
-CPDIR  = cp -rf 
+CPDIR  = cp -rf
 MSGFMT = msgfmt
-RMREC  = find ./inkscape -type f -name 
+RMREC  = find ./inkscape -type f -name
 RMREC1 = |xargs $(RM)
 RMDIRREC = find ./inkscape -type d -name
 RMDIRREC1 = |xargs $(RMDIR)
@@ -97,7 +97,7 @@ DLLTOOL = dlltool
 S = $(BSLASH)
 
 ####### escape character for echo
-E = 
+E =
 
 ####### file manipulation programs
 CP = copy
@@ -112,16 +112,20 @@ RM    = del
 endif
 MKDIR = mkdir
 CPDIR = xcopy /e /i
-RMREC = cd  inkscape & $(RM) /s /q 
+RMREC = cd  inkscape & $(RM) /s /q
 RMREC1 = & cd ..
-RMDIRREC = cd inkscape & $(RMDIR) /s 
+RMDIRREC = cd inkscape & $(RMDIR) /s
 RMDIRREC1 = & cd ..
 
 #######  Where is your GTK directory?
+ifndef GTK
 GTK=c:/gtk28
+endif
 
 ####### Same thing, DOS style
+ifndef GTKDOS
 GTKDOS=c:\gtk28
+endif
 
 ####### Command to process .po files --> .mo
 MSGFMT = $(GTKDOS)$(S)bin$(S)msgfmt
@@ -139,16 +143,16 @@ endif
 # VERSION_NR = 0.41+devel
 # VERSION = \"$(VERSION_NR)-${DTG}\"
 
-VERSION_NR = 0.43+0.44pre1
+VERSION_NR = 0.44+devel
 VERSION = \"$(VERSION_NR)\"
 
 ####### the XP_WIN def is necessary for libjs.a
-CFLAGS = -g -O3 -Wall -mms-bitfields -DVERSION=$(VERSION) \
+CFLAGS = -Wall -O3 -g -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:
@@ -186,7 +190,7 @@ GTKLIB = -L$(GTK)/lib \
 -latkmm-1.6 -lpangomm-1.4 -lsigc-2.0 \
 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 \
 -lgdk_pixbuf-2.0 -lm -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0 \
--lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.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)
@@ -198,21 +202,21 @@ 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../.. $(GTKINC) -I$(GTK)/include \
+####### remove -DLIBXML_STATIC
+INC = -I. -I.. -I../.. -I../cxxtest $(GTKINC) -I$(GTK)/include \
 $(PERLINC) $(PYTHONINC) -I$(GTK)/include/loudmouth-1.0 \
 -I$(GTK)/include/libxml2 -I$(GTK)/include/freetype2 \
 
 
 # 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
+-lgc -mwindows -lws2_32 -lintl -lcairo
 
 
 ##########################################################################