mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 04:51:44 +00:00
7c7ff46cc6
2002-11-30 Hans Breuer <hans@breuer.org> * */makefile.msc */*/makefile.msc : updated * themes/Default/images/makefile.msc : new file * themes/Default/makefile.msc : removed * libgimpwidgets/gimpwidgets.def : updated * app/core/core-types.h : renamed PIXELS and POINTS to SIZE_* to avoid clashes with system headers * app/pdb/text_tool_cmds.c : updated ... * tools/pdbgen/enums.py : ... by renaming here too. * app/widgets/gimphistogrambox.c : <string.h> for memcpy() * app/widgets/gimppropwidgets.c : <string.h> for strlen() * app/config/gimpconfig.c : on win32 rename always fails if the destination file exists. Delete it first. * libgimp/gimp.def : removed all '_'-prefixed exports * plug-ins/common/iwarp.c : replace _gimp_layer_copy() with gimp_layer_copy(), gimp_layer_add_alpha() * libgimp/gimpmisc.c : ported gimp_timer funcs to use g_timer to be more portable * libgimpbase/gimpdatafiles.c : there are no symlinks on win32, inverted to #ifndef G_OS_WIN32 as it was meant. * libgimpbase/gimpbase.def libgimpmodule/gimpmodule.def libgimpwidgets/gimpwidgets.def : updated externals * plug-ins/common/randomize.c plug-ins/common/sinus.c : don't initialize more than the defined struct size * plug-ins/common/warp.c : removed unneeded unistd.h and signal.h include * regexrepl/regexrepl.def : (new file) needed to build as DLL
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
TOP = ..\..
|
|
PRJ_TOP = ..
|
|
PACKAGE = gimptool
|
|
PKG_VER = 1.3
|
|
!INCLUDE $(TOP)\glib\build\win32\make.msc
|
|
|
|
DEFINES = -DG_LOG_DOMAIN=\"LibGimpTool\"
|
|
|
|
INCLUDES = \
|
|
-FImsvc_recommended_pragmas.h \
|
|
-I.. \
|
|
$(GLIB_CFLAGS) $(GTK2_CFLAGS) \
|
|
|
|
PKG_LINK = \
|
|
$(GLIB_LIBS) $(GTK2_LIBS) \
|
|
..\libgimpbase\gimpbase-$(PKG_VER).lib
|
|
|
|
OBJECTS = \
|
|
gimptool.obj \
|
|
gimptoolenums.obj \
|
|
gimptoolmodule.obj \
|
|
|
|
all : \
|
|
$(PRJ_TOP)\config.h \
|
|
$(PACKAGE).lib \
|
|
!IFDEF DLLGIMP
|
|
$(PACKAGE)-$(PKG_VER).dll
|
|
!ENDIF
|
|
|
|
$(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
|
|
copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
|
|
|
|
RESOURCE = $(PACKAGE).res
|
|
|
|
$(PACKAGE).lib : $(OBJECTS)
|
|
lib /out:$(PACKAGE).lib $(OBJECTS)
|
|
|
|
$(PACKAGE)-$(PKG_VER).dll : $(OBJECTS) $(PACKAGE).def
|
|
$(CC) $(CFLAGS) -LD -Fe$(PACKAGE)-$(PKG_VER).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
|
|
|
|
$(PACKAGE).exe : $(OBJECTS) $(PACKAGE).def $(PACKAGE).res
|
|
$(CC) $(CFLAGS) -Fe$(PACKAGE).exe $(PACKAGE).res $(OBJECTS) $(PKG_LINK) \
|
|
user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS) /def:$(PACKAGE).def
|
|
|
|
.c.obj :
|
|
$(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<
|