mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 04:51:44 +00:00
3b3039148c
2004-07-31 Hans Breuer <hans@breuer.org> * app/display/makefile.msc app/widgets/makefile.msc : build but *dont link* display-enums.obj, widget-enums.obj and gimpdisplayoptions.obj. They must be in the dll * app/makefile.msc : build gimp.exe and gimp-console.exe both using the same gimp-core.dll * app/gimpcore.def : new file, exports for gimp-core.dll * app/Makefile.am : added to EXTRA_DIST * cursors/makefile.msc : new file to create gimp-tool-cursors.h * cursors/Makefile.am : added to EXTRA_DIST * **/makefile.msc : updated * app/main.c app/app_procs.c : moved code to close the console from the former to the later. It only is to be used if The Gimp is not build as console app. * plug-ins/gfig/gfig.c : dont gimp_drawable_detach() the same drawable twice * plug-ins/gfig-dialog.c() : added a g_return_if_fail() to avoid crashing on File/Import
45 lines
971 B
Plaintext
45 lines
971 B
Plaintext
## Makefile for building the GIMP DLLs and LIBs with Microsoft C.
|
|
## Use: nmake -f makefile.msc
|
|
|
|
TOP = ..\..
|
|
PRJ_TOP = ..
|
|
!include $(TOP)\glib\build\win32\make.msc
|
|
|
|
!INCLUDE $(PRJ_TOP)\gimpdefs.msc
|
|
PKG_VER = $(GIMP_VER)
|
|
|
|
################################################################
|
|
|
|
# Nothing much configurable below
|
|
|
|
INCLUDES = -I..
|
|
# DEFINES = -DG_LOG_DOMAIN=\"LibGimpColor\"
|
|
DEPCFLAGS = \
|
|
-FImsvc_recommended_pragmas.h \
|
|
$(GLIB_CFLAGS)
|
|
|
|
DEPLIBS = $(GLIB_LIBS)
|
|
|
|
all : \
|
|
..\config.h \
|
|
gimpcolor-$(GIMP_VER).dll
|
|
|
|
..\config.h : ..\config.h.win32
|
|
copy ..\config.h.win32 ..\config.h
|
|
|
|
install : all
|
|
$(INSTALL) gimpcolor-$(GIMP_VER).dll $(BIN)
|
|
|
|
OBJECTS = \
|
|
gimpadaptivesupersample.obj \
|
|
gimpbilinear.obj \
|
|
gimpcmyk.obj \
|
|
gimpcolorspace.obj \
|
|
gimphsv.obj \
|
|
gimprgb.obj \
|
|
gimprgb-parse.obj \
|
|
|
|
gimpcolor-$(GIMP_VER).dll : $(OBJECTS) gimpcolor.def
|
|
$(CC) $(CFLAGS) -LD -Fegimpcolor-$(GIMP_VER).dll $(OBJECTS) $(DEPLIBS) $(LDFLAGS) user32.lib /def:gimpcolor.def
|
|
|