2001-01-24 07:56:18 +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 07:56:18 +08:00
|
|
|
|
2004-02-08 07:01:33 +08:00
|
|
|
!INCLUDE $(PRJ_TOP)\gimpdefs.msc
|
|
|
|
PKG_VER = $(GIMP_VER)
|
2001-01-24 07:56:18 +08:00
|
|
|
|
|
|
|
################################################################
|
|
|
|
|
|
|
|
# Nothing much configurable below
|
|
|
|
|
2001-02-07 09:16:18 +08:00
|
|
|
INCLUDES = -I..
|
|
|
|
# DEFINES = -DG_LOG_DOMAIN=\"LibGimpMath\"
|
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 07:56:18 +08:00
|
|
|
|
|
|
|
all : \
|
|
|
|
..\config.h \
|
2001-02-07 09:16:18 +08:00
|
|
|
gimpmath-$(GIMP_VER).dll
|
2001-01-24 07:56:18 +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-24 07:56:18 +08:00
|
|
|
|
2001-02-07 09:16:18 +08:00
|
|
|
OBJECTS = \
|
2002-02-17 23:55:54 +08:00
|
|
|
gimpmatrix.obj \
|
|
|
|
gimpmd5.obj \
|
|
|
|
gimpvector.obj \
|
2001-01-24 07:56:18 +08:00
|
|
|
|
2001-02-07 09:16:18 +08:00
|
|
|
gimpmath-$(GIMP_VER).dll : $(OBJECTS) gimpmath.def
|
|
|
|
$(CC) $(CFLAGS) -LD -Fegimpmath-$(GIMP_VER).dll $(OBJECTS) $(DEPLIBS) $(LDFLAGS) user32.lib /def:gimpmath.def
|
2001-01-24 07:56:18 +08:00
|
|
|
|