Code

Add LittleCMS
authorishmal <ishmal@users.sourceforge.net>
Tue, 4 Apr 2006 05:03:27 +0000 (05:03 +0000)
committerishmal <ishmal@users.sourceforge.net>
Tue, 4 Apr 2006 05:03:27 +0000 (05:03 +0000)
Makefile.mingw
Makefile.mingw.common

index bf07f1c13fb68dfcc486112f64ca1f2c69d761b3..df486e00969d8a4971b2d2696780e3b38c739ecc 100644 (file)
@@ -54,6 +54,7 @@ dist-strip: dist
        strip inkscape$(S)popt1.dll
        strip inkscape$(S)perl58.dll
        strip inkscape$(S)python24.dll
+       strip inkscape$(S)liblcms-1.dll
        -$(RM) inkscape$(S)gdb.exe
        
 dist:
@@ -104,6 +105,7 @@ dist:
        $(CP) $(GTKDOS)$(S)bin$(S)libintl-2.dll inkscape
        $(CP) $(GTKDOS)$(S)bin$(S)libintl-2.dll inkscape$(S)intl.dll
        $(CP) $(GTKDOS)$(S)bin$(S)popt1.dll inkscape
+       $(CP) $(GTKDOS)$(S)bin$(S)liblcms-1.dll inkscape
 #
 #       PERL
 #
index 1ef2ad8514481f656b97038286b9b180945c7502..60177a4c08c9343c71e6ffb4a0e57678584da62e 100644 (file)
@@ -144,13 +144,12 @@ VERSION = \"$(VERSION_NR)\"
 
 ####### the XP_WIN def is necessary for libjs.a
 CFLAGS = -O3 -g -Wall -mms-bitfields -DVERSION=$(VERSION) \
--DXP_WIN -D_INTL_REDIRECT_INLINE -DHAVE_CONFIG_H
+-DXP_WIN -D_INTL_REDIRECT_INLINE -DHAVE_CONFIG_H -DENABLE_LCMS
 
 ####### Inkboard abilities.
 ####### You must 'make -f Makefile.mingw clean' when turning this on or off
 #CFLAGS += -DWITH_INKBOARD
 
-
 ####### IMPLICIT RULES
 .cpp.o:
        $(CXX) $(CFLAGS) $(INC) -c -o $@ $<
@@ -209,6 +208,7 @@ LIBS = $(GTKLIB) $(PERLLIB) $(PYTHONLIB) \
 $(GTK)/bin/libxml2.dll \
 $(GTK)/lib/iconv.lib   \
 -lfreetype.dll -lfontconfig.dll  \
+-llcms.dll \
 -lpng -lpopt $(GTK)/lib/zdll.lib \
 -lgc -mwindows -lws2_32 -lintl