2001-01-24 02:49:44 +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-24 02:49:44 +08:00
|
|
|
|
2004-02-08 07:01:33 +08:00
|
|
|
!INCLUDE $(PRJ_TOP)\gimpdefs.msc
|
|
|
|
PKG_VER = $(GIMP_VER)
|
2001-01-24 02:49:44 +08:00
|
|
|
|
|
|
|
################################################################
|
|
|
|
|
|
|
|
# Nothing much configurable below
|
|
|
|
|
2001-02-07 09:16:18 +08:00
|
|
|
INCLUDES = -I..
|
|
|
|
# DEFINES = -DG_LOG_DOMAIN=\"LibGimpColor\"
|
2002-02-17 23:55:54 +08:00
|
|
|
DEPCFLAGS = \
|
|
|
|
-FImsvc_recommended_pragmas.h \
|
|
|
|
$(GLIB_CFLAGS)
|
|
|
|
|
2001-02-07 09:16:18 +08:00
|
|
|
DEPLIBS = $(GLIB_LIBS)
|
2001-01-24 02:49:44 +08:00
|
|
|
|
|
|
|
all : \
|
|
|
|
..\config.h \
|
2001-02-07 09:16:18 +08:00
|
|
|
gimpcolor-$(GIMP_VER).dll
|
2001-01-24 02:49:44 +08:00
|
|
|
|
|
|
|
..\config.h : ..\config.h.win32
|
|
|
|
copy ..\config.h.win32 ..\config.h
|
|
|
|
|
|
|
|
install : all
|
2001-02-07 09:16:18 +08:00
|
|
|
$(INSTALL) gimpcolor-$(GIMP_VER).dll $(BIN)
|
2001-01-24 02:49:44 +08:00
|
|
|
|
2001-02-07 09:16:18 +08:00
|
|
|
OBJECTS = \
|
2001-03-17 03:14:04 +08:00
|
|
|
gimpadaptivesupersample.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimpbilinear.obj \
|
2003-07-15 04:15:43 +08:00
|
|
|
gimpcmyk.obj \
|
2007-08-05 23:16:02 +08:00
|
|
|
gimpcolormanaged.obj \
|
2001-03-17 03:14:04 +08:00
|
|
|
gimpcolorspace.obj \
|
2006-09-03 20:39:24 +08:00
|
|
|
gimphsl.obj \
|
2001-03-17 03:14:04 +08:00
|
|
|
gimphsv.obj \
|
2004-08-02 04:51:12 +08:00
|
|
|
gimprgb.obj \
|
|
|
|
gimprgb-parse.obj \
|
2001-01-24 02:49:44 +08:00
|
|
|
|
2001-02-07 09:16:18 +08:00
|
|
|
gimpcolor-$(GIMP_VER).dll : $(OBJECTS) gimpcolor.def
|
|
|
|
$(CC) $(CFLAGS) -LD -Fegimpcolor-$(GIMP_VER).dll $(OBJECTS) $(DEPLIBS) $(LDFLAGS) user32.lib /def:gimpcolor.def
|
2001-01-24 02:49:44 +08:00
|
|
|
|