mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
c6f63ea4e1
2005-02-19 Hans Breuer <hans@breuer.org> * app/base/pixel-processor.c : TILE_WIDTH is used unconditionally so always include "tile.h" * app/base/tile-swap.c : WIN32 needs <process.h> for _getpid() * app/dialogs/user-install-dialog.c : include gimpwin32-io.h * libgimpbase/gimpwin32-io.h : there are no group or other flags in msvcrt, define S_IGRP etc in terms of _S_IREAD etc * plug-ins/script-fu/script-fu.c plug-ins/script-fu/siod-wrapper.c : no script-fu server on win32, make respective function calls conditional * libgimpconfig/makefile.msc : new file * **/makefile.msc app/gimpcore.def : updated, gimp builds and runs once more with ms toolchain
67 lines
1.5 KiB
Plaintext
67 lines
1.5 KiB
Plaintext
TOP = ..
|
|
PRJ_TOP = .
|
|
PACKAGE = gimp
|
|
!INCLUDE $(TOP)\glib\build\win32\make.msc
|
|
|
|
!INCLUDE $(PRJ_TOP)\gimpdefs.msc
|
|
PKG_VER = $(GIMP_VER)
|
|
|
|
# in required build order
|
|
# ./themes gets extra handling below
|
|
SUBDIRS = \
|
|
libgimpbase \
|
|
libgimpcolor \
|
|
libgimpmath \
|
|
libgimpconfig \
|
|
libgimpthumb \
|
|
libgimpwidgets \
|
|
libgimp \
|
|
# libgimptool \
|
|
libgimpmodule \
|
|
regexrepl \
|
|
cursors \
|
|
app \
|
|
# plug-ins \
|
|
modules
|
|
|
|
sub-all:
|
|
for %d in ($(SUBDIRS)) do nmake -nologo -f makefile.msc sub-one THIS=%d
|
|
|
|
sub-one:
|
|
cd $(THIS)
|
|
nmake -nologo -f makefile.msc $(TARGET)
|
|
cd ..
|
|
|
|
clean :: sub-clean
|
|
|
|
sub-clean:
|
|
for %d in ($(SUBDIRS)) do nmake -nologo -f makefile.msc sub-one THIS=%d TARGET=clean
|
|
|
|
sub-themes:
|
|
cd themes\Default\images
|
|
nmake -nologo -f makefile.msc
|
|
cd ..\..\..
|
|
|
|
all : \
|
|
$(PRJ_TOP)\config.h \
|
|
sub-themes \
|
|
sub-all
|
|
|
|
$(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 : $(PKG_LINK) $(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) $<
|