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 \
|
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 = \
|
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 \
|
2004-08-02 04:51:12 +08:00
|
|
|
gimpcolorhexentry.obj \
|
2002-12-01 22:53:17 +08:00
|
|
|
gimpcolornotebook.obj \
|
|
|
|
gimpcolorscale.obj \
|
|
|
|
gimpcolorscales.obj \
|
|
|
|
gimpcolorselect.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
gimpcolorselection.obj \
|
2003-12-13 09:35:19 +08:00
|
|
|
gimpcolordisplaystack.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 \
|
|
|
|
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 \
|
2004-07-12 05:53:17 +08:00
|
|
|
gimpintcombobox.obj \
|
|
|
|
gimpintstore.obj \
|
2003-03-04 02:14:31 +08:00
|
|
|
gimpmemsizeentry.obj \
|
2002-09-07 06:25:19 +08:00
|
|
|
gimpoffsetarea.obj \
|
2004-07-12 05:53:17 +08:00
|
|
|
gimpoldwidgets.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 \
|
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 \
|
2003-05-25 01:00:03 +08:00
|
|
|
gimpwidgets-private.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
|
|
|
|
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
|
|
|
|
$(CC) $(CFLAGS) -GD -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 \
|