2001-01-24 19:40:15 +00:00
|
|
|
## Makefile for building the GIMP DLLs and LIBs with Microsoft C.
|
|
|
|
## Use: nmake -f makefile.msc
|
|
|
|
|
2001-02-07 01:16:18 +00:00
|
|
|
TOP = ..\..
|
2004-02-07 23:01:33 +00:00
|
|
|
PRJ_TOP = ..
|
2002-02-17 15:55:54 +00:00
|
|
|
!include $(TOP)\glib\build\win32\make.msc
|
2001-01-24 19:40:15 +00:00
|
|
|
|
2004-02-07 23:01:33 +00:00
|
|
|
!INCLUDE $(PRJ_TOP)\gimpdefs.msc
|
|
|
|
PKG_VER = $(GIMP_VER)
|
2001-01-24 19:40:15 +00:00
|
|
|
|
|
|
|
################################################################
|
|
|
|
|
|
|
|
# Nothing much configurable below
|
|
|
|
|
2001-02-07 01:16:18 +00:00
|
|
|
INCLUDES = -I..
|
|
|
|
# DEFINES = -DG_LOG_DOMAIN=\"LibGimpWidgets\"
|
2002-02-17 15:55:54 +00:00
|
|
|
DEPCFLAGS = \
|
|
|
|
-FImsvc_recommended_pragmas.h \
|
|
|
|
$(GLIB_CFLAGS) $(GTK2_CFLAGS) $(INTL_CFLAGS)
|
2008-01-04 18:42:07 +00:00
|
|
|
DEPLIBS = $(GLIB_LIBS) $(GTK2_LIBS) $(INTL_LIBS) $(CAIRO_LIBS)
|
2001-01-24 19:40:15 +00:00
|
|
|
|
|
|
|
all : \
|
|
|
|
..\config.h \
|
2006-05-13 17:05:15 +00:00
|
|
|
gimp-wilber-pixbufs.h \
|
2002-12-01 14:53:17 +00:00
|
|
|
gimpwidgetsmarshal.c \
|
2001-02-07 01:16:18 +00:00
|
|
|
gimpwidgets-$(GIMP_VER).dll
|
2001-01-24 19:40:15 +00:00
|
|
|
|
|
|
|
..\config.h : ..\config.h.win32
|
|
|
|
copy ..\config.h.win32 ..\config.h
|
|
|
|
|
|
|
|
install : all
|
2001-02-07 01:16:18 +00:00
|
|
|
$(INSTALL) gimpmath-$(GIMP_VER).dll $(BIN)
|
2001-01-24 19:40:15 +00:00
|
|
|
|
2001-02-07 01:16:18 +00:00
|
|
|
OBJECTS = \
|
2005-07-10 16:24:57 +00:00
|
|
|
gimpbrowser.obj \
|
2001-05-25 22:04:21 +00:00
|
|
|
gimpbutton.obj \
|
2008-01-04 18:42:07 +00:00
|
|
|
gimpcairo-utils.obj \
|
2004-08-01 20:51:12 +00:00
|
|
|
gimpcellrenderercolor.obj \
|
|
|
|
gimpcellrenderertoggle.obj \
|
2001-01-24 19:40:15 +00:00
|
|
|
gimpchainbutton.obj \
|
2001-02-07 01:16:18 +00:00
|
|
|
gimpcolorarea.obj \
|
2002-09-06 22:25:19 +00:00
|
|
|
gimpcolorbutton.obj \
|
2002-12-01 14:53:17 +00:00
|
|
|
gimpcolordisplay.obj \
|
2007-08-26 18:59:34 +00:00
|
|
|
gimpcolordisplaystack.obj \
|
2004-08-01 20:51:12 +00:00
|
|
|
gimpcolorhexentry.obj \
|
2002-12-01 14:53:17 +00:00
|
|
|
gimpcolornotebook.obj \
|
2007-08-26 18:59:34 +00:00
|
|
|
gimpcolorprofilecombobox.obj \
|
|
|
|
gimpcolorprofilestore.obj \
|
2002-12-01 14:53:17 +00:00
|
|
|
gimpcolorscale.obj \
|
|
|
|
gimpcolorscales.obj \
|
|
|
|
gimpcolorselect.obj \
|
2003-11-16 21:20:14 +00:00
|
|
|
gimpcolorselection.obj \
|
2002-12-01 14:53:17 +00:00
|
|
|
gimpcolorselector.obj \
|
2004-07-11 21:53:17 +00:00
|
|
|
gimpcontroller.obj \
|
2001-01-24 19:40:15 +00:00
|
|
|
gimpdialog.obj \
|
2005-02-19 00:50:36 +00:00
|
|
|
gimpenumcombobox.obj \
|
2005-07-10 16:24:57 +00:00
|
|
|
gimpenumlabel.obj \
|
2005-02-19 00:50:36 +00:00
|
|
|
gimpenumstore.obj \
|
|
|
|
gimpenumwidgets.obj \
|
2003-11-21 19:58:55 +00:00
|
|
|
gimpfileentry.obj \
|
2004-07-11 21:53:17 +00:00
|
|
|
gimpframe.obj \
|
2002-09-06 22:25:19 +00:00
|
|
|
gimphelpui.obj \
|
2006-09-08 11:45:06 +00:00
|
|
|
gimphintbox.obj \
|
2004-07-11 21:53:17 +00:00
|
|
|
gimpintcombobox.obj \
|
|
|
|
gimpintstore.obj \
|
2003-03-03 18:14:31 +00:00
|
|
|
gimpmemsizeentry.obj \
|
2007-08-26 18:59:34 +00:00
|
|
|
gimpnumberpairentry.obj \
|
2002-09-06 22:25:19 +00:00
|
|
|
gimpoffsetarea.obj \
|
2004-07-11 21:53:17 +00:00
|
|
|
gimpoldwidgets.obj \
|
2005-07-10 16:24:57 +00:00
|
|
|
gimppageselector.obj \
|
2001-01-24 19:40:15 +00:00
|
|
|
gimppatheditor.obj \
|
2002-12-01 14:53:17 +00:00
|
|
|
gimppickbutton.obj \
|
2001-01-24 19:40:15 +00:00
|
|
|
gimppixmap.obj \
|
2004-08-01 20:51:12 +00:00
|
|
|
gimppreviewarea.obj \
|
2004-11-21 14:22:45 +00:00
|
|
|
gimppreview.obj \
|
2005-02-19 00:50:36 +00:00
|
|
|
gimppropwidgets.obj \
|
2004-11-21 14:22:45 +00:00
|
|
|
gimpscrolledpreview.obj \
|
2007-03-04 19:04:42 +00:00
|
|
|
gimpstringcombobox.obj \
|
2001-01-24 19:40:15 +00:00
|
|
|
gimpquerybox.obj \
|
2008-10-03 19:27:54 +00:00
|
|
|
gimpruler.obj \
|
|
|
|
gimpscaleentry.obj \
|
2001-01-24 19:40:15 +00:00
|
|
|
gimpsizeentry.obj \
|
2001-09-22 19:47:27 +00:00
|
|
|
gimpstock.obj \
|
2001-01-24 19:40:15 +00:00
|
|
|
gimpunitmenu.obj \
|
2002-09-06 22:25:19 +00:00
|
|
|
gimpwidgets.obj \
|
2005-09-25 19:30:55 +00:00
|
|
|
gimpzoommodel.obj \
|
2003-05-24 17:00:03 +00:00
|
|
|
gimpwidgets-private.obj \
|
2005-07-10 16:24:57 +00:00
|
|
|
gimpwidgetsenums.obj \
|
2002-09-06 22:25:19 +00:00
|
|
|
gimpwidgetsmarshal.obj \
|
2001-01-24 19:40:15 +00:00
|
|
|
|
2002-09-06 22:25:19 +00:00
|
|
|
|
2006-05-13 17:05:15 +00:00
|
|
|
# these are duplicated from the $(TOP)/themes/default/images directory - though under a different name
|
|
|
|
WILBER_IMAGES = \
|
|
|
|
wilber-16.png \
|
|
|
|
wilber-32.png \
|
|
|
|
wilber-48.png \
|
|
|
|
wilber-64.png
|
|
|
|
|
|
|
|
WILBER_VARIABLES = \
|
|
|
|
wilber_16 wilber-16.png \
|
|
|
|
wilber_32 wilber-32.png \
|
|
|
|
wilber_48 wilber-48.png \
|
|
|
|
wilber_64 wilber-64.png
|
|
|
|
|
|
|
|
gimp-wilber-pixbufs.h: $(WILBER_IMAGES) makefile.msc
|
|
|
|
gdk-pixbuf-csource --raw --build-list $(WILBER_VARIABLES) > gimp-wilber-pixbufs.h
|
|
|
|
|
2002-02-17 15:55:54 +00:00
|
|
|
gimpwidgetsmarshal.h : gimpwidgetsmarshal.list
|
|
|
|
$(GLIB)\gobject\glib-genmarshal --prefix=_gimp_widgets_marshal gimpwidgetsmarshal.list --header >gimpwidgetsmarshal.h
|
|
|
|
|
|
|
|
gimpwidgetsmarshal.c : gimpwidgetsmarshal.list gimpwidgetsmarshal.h
|
|
|
|
$(GLIB)\gobject\glib-genmarshal --prefix=_gimp_widgets_marshal gimpwidgetsmarshal.list --body >gimpwidgetsmarshal.c
|
|
|
|
|
2001-02-07 01:16:18 +00:00
|
|
|
# questionable dependency between libgimpui/libgimpwidgets
|
|
|
|
gimpunit.obj : ..\app\gimpunit.c
|
2007-12-09 14:11:09 +00:00
|
|
|
$(CC) $(CFLAGS) -c ..\app\gimpunit.c
|
2001-01-24 19:40:15 +00:00
|
|
|
|
2001-02-07 01:16:18 +00:00
|
|
|
gimpwidgets-$(GIMP_VER).dll : $(OBJECTS) gimpwidgets.def
|
|
|
|
$(CC) $(CFLAGS) -LD -Fegimpwidgets-$(GIMP_VER).dll $(OBJECTS) \
|
|
|
|
..\libgimpcolor\gimpcolor-$(GIMP_VER).lib \
|
2005-02-19 00:50:36 +00:00
|
|
|
..\libgimpconfig\gimpconfig-$(GIMP_VER).lib \
|
2003-11-16 21:20:14 +00:00
|
|
|
..\libgimpbase\gimpbase-$(GIMP_VER).lib \
|
2001-02-07 01:16:18 +00:00
|
|
|
$(DEPLIBS) $(LDFLAGS) user32.lib /def:gimpwidgets.def
|
2001-01-24 19:40:15 +00:00
|
|
|
|
2001-02-07 01:16:18 +00:00
|
|
|
# ..\app\gimp.lib \
|
|
|
|
# ..\libgimp\gimpui-$(GIMP_VER).lib ..\libgimp\gimp-$(GIMP_VER).lib \
|