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