2000-08-24 17:53:43 +00:00
|
|
|
## WARNING: Outdated.
|
|
|
|
|
1999-05-28 21:56:04 +00:00
|
|
|
## Makefile for building the GIMP DLLs and LIBs with Microsoft C.
|
1999-03-07 12:56:03 +00:00
|
|
|
## Use: nmake -f makefile.msc
|
|
|
|
|
|
|
|
# Change this to wherever you want to install the DLLs. This directory
|
|
|
|
# should be in your PATH. As these DLLs are for the GIMP and its plug-ins
|
|
|
|
# only, it probably is best to keep them in the GIMP's bin directory.
|
2000-05-04 18:41:22 +00:00
|
|
|
BIN = C:\install\gimp\bin
|
1999-03-07 12:56:03 +00:00
|
|
|
|
2000-12-25 08:08:08 +00:00
|
|
|
GIMP_VER = 1.2
|
1999-03-07 12:56:03 +00:00
|
|
|
|
|
|
|
# The name of the directory in your %HOME% where the GIMP's personal settings
|
|
|
|
# and stuff is saved.
|
|
|
|
GIMPDIR = _gimp$(GIMP_VER)
|
|
|
|
|
|
|
|
################################################################
|
|
|
|
|
|
|
|
# Nothing much configurable below
|
|
|
|
|
1999-06-28 17:54:19 +00:00
|
|
|
!IFNDEF DEBUG
|
|
|
|
# Full optimization:
|
|
|
|
OPTIMIZE = -Ox -MD
|
|
|
|
LINKDEBUG =
|
|
|
|
!ELSE
|
|
|
|
# Debugging:
|
|
|
|
OPTIMIZE = -Zi -MDd
|
|
|
|
LINKDEBUG = /debug
|
|
|
|
!ENDIF
|
|
|
|
|
Win32 portability changes:
* config.h.win32, README.win32: Small changes.
* tools/pdbgen/pdb/*.pdb: Include <string.h>.
* app/*_cmds.c: Autogenerated files reflect above changes.
* libgimp/makefile.msc app/makefile.msc: Various updates,
including new object files. Gtk+ directory now should be called
gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
now should be called just glib.
* libgimp/gimp.def: Updates.
* libgimp/gimpfeatures.h.win32: Made current with
gimpfeatures.h.in.
* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
necessary.
* tools/pdbgen/pdb/fileops.pdb: Must have a
statement (even an empty one) after a label.
* app/fileops_cmds.c: Autogenerated file reflects above changes.
* app/crop.c: Include <string.h>.
* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
runtime, even if we might be compiling with gcc.)
* app/fileops.c: Don't include <process.h> here.
* app/fileops.h: Do include <process.h> here.
* app/gimpparasite.c: Include config.h, guard inclusion of
<unistd.h>. (Is the inclusion of unistd.h in source files all over
the place really necessary?)
* app/ink.c: MSC doesn't handle conversion from unsigned __int64
to double, so cast to signed.
* app/lut_funcs.c: Include config.h, and define rint() if necessary.
* app/pixel_processor.c: Include config.h without "..", like in
all the other places. Include <string.h>
* app/text_tool.c: Guard the "POINTS" identifier that clashes with
<windows.h>, sigh.
1999-05-04 21:32:17 +00:00
|
|
|
# cl -? describes the options
|
1999-06-28 17:54:19 +00:00
|
|
|
CC = cl -G5 -GF $(OPTIMIZE) -W3 -nologo
|
1999-03-07 12:56:03 +00:00
|
|
|
|
1999-06-28 17:54:19 +00:00
|
|
|
LDFLAGS = /link $(LINKDEBUG)
|
1999-03-07 12:56:03 +00:00
|
|
|
INSTALL = copy
|
|
|
|
|
|
|
|
GTK_VER = 1.3
|
Win32 portability changes:
* config.h.win32, README.win32: Small changes.
* tools/pdbgen/pdb/*.pdb: Include <string.h>.
* app/*_cmds.c: Autogenerated files reflect above changes.
* libgimp/makefile.msc app/makefile.msc: Various updates,
including new object files. Gtk+ directory now should be called
gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
now should be called just glib.
* libgimp/gimp.def: Updates.
* libgimp/gimpfeatures.h.win32: Made current with
gimpfeatures.h.in.
* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
necessary.
* tools/pdbgen/pdb/fileops.pdb: Must have a
statement (even an empty one) after a label.
* app/fileops_cmds.c: Autogenerated file reflects above changes.
* app/crop.c: Include <string.h>.
* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
runtime, even if we might be compiling with gcc.)
* app/fileops.c: Don't include <process.h> here.
* app/fileops.h: Do include <process.h> here.
* app/gimpparasite.c: Include config.h, guard inclusion of
<unistd.h>. (Is the inclusion of unistd.h in source files all over
the place really necessary?)
* app/ink.c: MSC doesn't handle conversion from unsigned __int64
to double, so cast to signed.
* app/lut_funcs.c: Include config.h, and define rint() if necessary.
* app/pixel_processor.c: Include config.h without "..", like in
all the other places. Include <string.h>
* app/text_tool.c: Guard the "POINTS" identifier that clashes with
<windows.h>, sigh.
1999-05-04 21:32:17 +00:00
|
|
|
GLIB_VER = 1.3
|
1999-03-07 12:56:03 +00:00
|
|
|
|
Win32 portability changes:
* config.h.win32, README.win32: Small changes.
* tools/pdbgen/pdb/*.pdb: Include <string.h>.
* app/*_cmds.c: Autogenerated files reflect above changes.
* libgimp/makefile.msc app/makefile.msc: Various updates,
including new object files. Gtk+ directory now should be called
gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
now should be called just glib.
* libgimp/gimp.def: Updates.
* libgimp/gimpfeatures.h.win32: Made current with
gimpfeatures.h.in.
* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
necessary.
* tools/pdbgen/pdb/fileops.pdb: Must have a
statement (even an empty one) after a label.
* app/fileops_cmds.c: Autogenerated file reflects above changes.
* app/crop.c: Include <string.h>.
* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
runtime, even if we might be compiling with gcc.)
* app/fileops.c: Don't include <process.h> here.
* app/fileops.h: Do include <process.h> here.
* app/gimpparasite.c: Include config.h, guard inclusion of
<unistd.h>. (Is the inclusion of unistd.h in source files all over
the place really necessary?)
* app/ink.c: MSC doesn't handle conversion from unsigned __int64
to double, so cast to signed.
* app/lut_funcs.c: Include config.h, and define rint() if necessary.
* app/pixel_processor.c: Include config.h without "..", like in
all the other places. Include <string.h>
* app/text_tool.c: Guard the "POINTS" identifier that clashes with
<windows.h>, sigh.
1999-05-04 21:32:17 +00:00
|
|
|
GTK = ..\..\gtk+
|
|
|
|
GLIB = ..\..\glib
|
1999-08-16 04:59:48 +00:00
|
|
|
INTL = ..\..\intl
|
1999-03-07 12:56:03 +00:00
|
|
|
|
Change Win32 implementation to be a bit simpler. Use minigzip (from zlib)
2000-07-31 Tor Lillqvist <tml@iki.fi>
* plug-ins/common/gz.c (load_image,save_image): Change Win32
implementation to be a bit simpler. Use minigzip (from zlib)
instead of the full gzip. Intend to include minigzip with the
(binary) distribution.
* libgimp/makefile.{cygwin,msc}
* app/makefile.{cygwin,msc}: Add G_LOG_DOMAIN.
* app/gimpbrushhose.{c,h}: Really remove these files, as
Adrian tried on August 23.
* plug-ins/script-fu/script-fu.c: Enable the script-fu console on
Win32, too.
* plug-ins/script-fu/script-fu-console.c: Now with new GLib
GIOChannel implementaion, compile for Win32, too. Use
g_io_add_watch instead of gdk_input_add (on Unix, too). The
callback for g_io_add_watch is passed a GIOChannel, while the
callback for gdk_input_add is passed a file descriptor. On Win32
(and possibly other non-Unices) we want GIOChannels, as we must
use g_io_channel_read to read from file descriptors being
watched. Works as previously on Unix this way, too.
2000-07-30 23:17:00 +00:00
|
|
|
CFLAGS = -I.. -I$(GLIB) -I$(GTK)\gdk -I$(GTK)\gdk -I$(GTK) -I$(INTL) -DGIMPDIR=\"$(GIMPDIR)\" -DG_LOG_DOMAIN=\"LibGimp\"
|
1999-03-07 12:56:03 +00:00
|
|
|
|
|
|
|
all : \
|
2000-06-06 21:33:19 +00:00
|
|
|
..\config.h \
|
|
|
|
gimpi.lib \
|
|
|
|
gimp-$(GIMP_VER).dll \
|
1999-03-07 12:56:03 +00:00
|
|
|
gimpui-$(GIMP_VER).dll
|
|
|
|
|
|
|
|
..\config.h : ..\config.h.win32
|
|
|
|
copy ..\config.h.win32 ..\config.h
|
|
|
|
|
|
|
|
install : all
|
|
|
|
$(INSTALL) gimp-$(GIMP_VER).dll $(BIN)
|
|
|
|
$(INSTALL) gimpui-$(GIMP_VER).dll $(BIN)
|
|
|
|
|
2000-06-06 21:33:19 +00:00
|
|
|
PDB_WRAPPERS_O = \
|
|
|
|
gimpbrushes_pdb.obj \
|
|
|
|
gimpbrushselect_pdb.obj \
|
|
|
|
gimpchannel_pdb.obj \
|
|
|
|
gimpchannelops_pdb.obj \
|
|
|
|
gimpcolor_pdb.obj \
|
|
|
|
gimpconvert_pdb.obj \
|
|
|
|
gimpdisplay_pdb.obj \
|
|
|
|
gimpdrawable_pdb.obj \
|
|
|
|
gimpedit_pdb.obj \
|
|
|
|
gimpfileops_pdb.obj \
|
|
|
|
gimpfloatingsel_pdb.obj \
|
|
|
|
gimpgimprc_pdb.obj \
|
|
|
|
gimpgradients_pdb.obj \
|
|
|
|
gimpgradientselect_pdb.obj \
|
|
|
|
gimpguides_pdb.obj \
|
|
|
|
gimphelp_pdb.obj \
|
|
|
|
gimpimage_pdb.obj \
|
|
|
|
gimplayer_pdb.obj \
|
|
|
|
gimpmessage_pdb.obj \
|
|
|
|
gimppalette_pdb.obj \
|
|
|
|
gimpparasite_pdb.obj \
|
|
|
|
gimppatterns_pdb.obj \
|
|
|
|
gimppatternselect_pdb.obj \
|
|
|
|
gimpplugin_pdb.obj \
|
|
|
|
gimpproceduraldb_pdb.obj \
|
|
|
|
gimpselection_pdb.obj \
|
|
|
|
gimptexttool_pdb.obj \
|
|
|
|
gimptools_pdb.obj \
|
|
|
|
gimpundo_pdb.obj \
|
|
|
|
gimpunit_pdb.obj
|
|
|
|
|
1999-03-07 12:56:03 +00:00
|
|
|
gimpi_OBJECTS = \
|
2000-04-23 20:27:41 +00:00
|
|
|
gimpenv.obj \
|
2000-06-06 21:33:19 +00:00
|
|
|
gimpparasite.obj \
|
|
|
|
gimpparasiteio.obj \
|
2000-04-23 20:27:41 +00:00
|
|
|
gimpprotocol.obj \
|
2000-06-06 21:33:19 +00:00
|
|
|
gimputils.c \
|
|
|
|
gimpwire.obj
|
1999-03-07 12:56:03 +00:00
|
|
|
|
Win32 portability changes:
* config.h.win32, README.win32: Small changes.
* tools/pdbgen/pdb/*.pdb: Include <string.h>.
* app/*_cmds.c: Autogenerated files reflect above changes.
* libgimp/makefile.msc app/makefile.msc: Various updates,
including new object files. Gtk+ directory now should be called
gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
now should be called just glib.
* libgimp/gimp.def: Updates.
* libgimp/gimpfeatures.h.win32: Made current with
gimpfeatures.h.in.
* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
necessary.
* tools/pdbgen/pdb/fileops.pdb: Must have a
statement (even an empty one) after a label.
* app/fileops_cmds.c: Autogenerated file reflects above changes.
* app/crop.c: Include <string.h>.
* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
runtime, even if we might be compiling with gcc.)
* app/fileops.c: Don't include <process.h> here.
* app/fileops.h: Do include <process.h> here.
* app/gimpparasite.c: Include config.h, guard inclusion of
<unistd.h>. (Is the inclusion of unistd.h in source files all over
the place really necessary?)
* app/ink.c: MSC doesn't handle conversion from unsigned __int64
to double, so cast to signed.
* app/lut_funcs.c: Include config.h, and define rint() if necessary.
* app/pixel_processor.c: Include config.h without "..", like in
all the other places. Include <string.h>
* app/text_tool.c: Guard the "POINTS" identifier that clashes with
<windows.h>, sigh.
1999-05-04 21:32:17 +00:00
|
|
|
gimpi.lib : $(gimpi_OBJECTS)
|
|
|
|
lib /out:gimpi.lib $(gimpi_OBJECTS)
|
1999-03-07 12:56:03 +00:00
|
|
|
|
|
|
|
gimp_OBJECTS = \
|
2000-04-23 20:27:41 +00:00
|
|
|
gimp.obj \
|
2000-06-06 21:33:19 +00:00
|
|
|
$(PDB_WRAPPERS_O) \
|
|
|
|
gimpchannel.obj \
|
Add gimpcolorspace object.
2000-01-04 Tor Lillqvist <tml@iki.fi>
* libgimp/makefile.{cygwin.msc}: Add gimpcolorspace object.
* libgimp/gimp.def: Add functions from it.
Fixes from Hans Breuer:
* app/datafiles.c: redefine the executable flag for Win32
to _S_IREAD, to get _all_ files from the plug-in dirs as
executables (including scripts)
* app/main.c: Win32-specific changes to allow building Gimp as a
console application, with all its benefits (like inheriting the
console), but hide it if the user doesn't want it. Also, if stdout
goes to a console, give the user a chance to read the help or
version messages. (tml: I am not convinced that it is better to
build gimp as a console application, but let's try it this way for
a while.)
* app/makefile.{cygwin,msc}: Build as console application, and
link with shell32 library.
* app/paint_core.c (paint_core_motion): Pass the value of a call
to the function gimage_active_drawable() to the paint_func,
instead of just passing the address of gimage_active_drawable...
(tml: This code is only called when the TOOL_TRACES_ON_WINDOW flag
is on, and only the clone tool sets that, and the clone tool's
paint_func doesn't use the drawable argument, so this hasn't
caused any trouble.)
* app/plug_in.c: On Win32, to support scripts, use new function
xspawn() instead of _spawnv. Add some more code to properly kill
plug-ins.
* libgimp/color_display.h: Add G_MODULE_EXPORT declarations.
2000-01-04 17:46:41 +00:00
|
|
|
gimpcolorspace.obj \
|
2000-06-06 21:33:19 +00:00
|
|
|
gimpdrawable.obj \
|
2000-04-23 20:27:41 +00:00
|
|
|
gimpenv.obj \
|
2000-06-06 21:33:19 +00:00
|
|
|
gimpgradientselect.obj \
|
|
|
|
gimphelp.obj \
|
|
|
|
gimpimage.obj \
|
|
|
|
gimplayer.obj \
|
2000-04-23 20:27:41 +00:00
|
|
|
gimpparasite.obj \
|
2000-05-28 23:46:16 +00:00
|
|
|
gimpparasiteio.obj \
|
2000-04-23 20:27:41 +00:00
|
|
|
gimppixelrgn.obj \
|
2000-06-06 21:33:19 +00:00
|
|
|
gimpproceduraldb.obj \
|
2000-04-23 20:27:41 +00:00
|
|
|
gimpprotocol.obj \
|
2000-06-06 21:33:19 +00:00
|
|
|
gimpselection.obj \
|
2000-04-23 20:27:41 +00:00
|
|
|
gimptile.obj \
|
2000-06-06 21:33:19 +00:00
|
|
|
gimpunit.obj \
|
2000-05-28 23:46:16 +00:00
|
|
|
gimpwire.obj
|
1999-03-07 12:56:03 +00:00
|
|
|
|
|
|
|
gimp-$(GIMP_VER).dll : $(gimp_OBJECTS) gimp.def
|
1999-08-16 04:59:48 +00:00
|
|
|
$(CC) $(CFLAGS) -LD -Fegimp-$(GIMP_VER).dll $(gimp_OBJECTS) $(INTL)\gnu-intl.lib $(GLIB)\glib-$(GLIB_VER).lib $(LDFLAGS) user32.lib /def:gimp.def
|
1999-03-07 12:56:03 +00:00
|
|
|
|
2000-05-28 23:46:16 +00:00
|
|
|
# Pass -DLIBGIMP_COMPILATION when compiling gimp.c
|
1999-05-28 21:56:04 +00:00
|
|
|
|
1999-03-07 12:56:03 +00:00
|
|
|
gimp.obj : gimp.c
|
Win32 portability changes:
* config.h.win32, README.win32: Small changes.
* tools/pdbgen/pdb/*.pdb: Include <string.h>.
* app/*_cmds.c: Autogenerated files reflect above changes.
* libgimp/makefile.msc app/makefile.msc: Various updates,
including new object files. Gtk+ directory now should be called
gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
now should be called just glib.
* libgimp/gimp.def: Updates.
* libgimp/gimpfeatures.h.win32: Made current with
gimpfeatures.h.in.
* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
necessary.
* tools/pdbgen/pdb/fileops.pdb: Must have a
statement (even an empty one) after a label.
* app/fileops_cmds.c: Autogenerated file reflects above changes.
* app/crop.c: Include <string.h>.
* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
runtime, even if we might be compiling with gcc.)
* app/fileops.c: Don't include <process.h> here.
* app/fileops.h: Do include <process.h> here.
* app/gimpparasite.c: Include config.h, guard inclusion of
<unistd.h>. (Is the inclusion of unistd.h in source files all over
the place really necessary?)
* app/ink.c: MSC doesn't handle conversion from unsigned __int64
to double, so cast to signed.
* app/lut_funcs.c: Include config.h, and define rint() if necessary.
* app/pixel_processor.c: Include config.h without "..", like in
all the other places. Include <string.h>
* app/text_tool.c: Guard the "POINTS" identifier that clashes with
<windows.h>, sigh.
1999-05-04 21:32:17 +00:00
|
|
|
$(CC) $(CFLAGS) -GD -c -DLIBGIMP_COMPILATION gimp.c
|
1999-03-07 12:56:03 +00:00
|
|
|
|
|
|
|
gimpui_OBJECTS = \
|
2000-04-23 20:27:41 +00:00
|
|
|
gimpmenu.obj \
|
|
|
|
gimpbrushmenu.obj \
|
|
|
|
gimpexport.obj \
|
2000-06-06 21:33:19 +00:00
|
|
|
gimpgradientmenu.obj \
|
2000-04-23 20:27:41 +00:00
|
|
|
gimppatheditor.obj \
|
|
|
|
gimppatternmenu.obj \
|
2001-01-24 22:36:18 +00:00
|
|
|
gimpui.obj
|
1999-03-07 12:56:03 +00:00
|
|
|
|
|
|
|
gimpui-$(GIMP_VER).dll : $(gimpui_OBJECTS) gimpui.def
|
2000-01-02 11:56:56 +00:00
|
|
|
$(CC) $(CFLAGS) -LD -Fegimpui-$(GIMP_VER).dll $(gimpui_OBJECTS) gimp-$(GIMP_VER).lib $(GTK)\gtk\gtk-$(GTK_VER).lib $(GTK)\gdk\gdk-$(GTK_VER).lib $(INTL)\gnu-intl.lib $(GLIB)\glib-$(GLIB_VER).lib $(LDFLAGS) /def:gimpui.def
|
1999-03-07 12:56:03 +00:00
|
|
|
|
|
|
|
gimpmenu.obj : gimpmenu.c
|
Win32 portability changes:
* config.h.win32, README.win32: Small changes.
* tools/pdbgen/pdb/*.pdb: Include <string.h>.
* app/*_cmds.c: Autogenerated files reflect above changes.
* libgimp/makefile.msc app/makefile.msc: Various updates,
including new object files. Gtk+ directory now should be called
gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
now should be called just glib.
* libgimp/gimp.def: Updates.
* libgimp/gimpfeatures.h.win32: Made current with
gimpfeatures.h.in.
* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
necessary.
* tools/pdbgen/pdb/fileops.pdb: Must have a
statement (even an empty one) after a label.
* app/fileops_cmds.c: Autogenerated file reflects above changes.
* app/crop.c: Include <string.h>.
* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
runtime, even if we might be compiling with gcc.)
* app/fileops.c: Don't include <process.h> here.
* app/fileops.h: Do include <process.h> here.
* app/gimpparasite.c: Include config.h, guard inclusion of
<unistd.h>. (Is the inclusion of unistd.h in source files all over
the place really necessary?)
* app/ink.c: MSC doesn't handle conversion from unsigned __int64
to double, so cast to signed.
* app/lut_funcs.c: Include config.h, and define rint() if necessary.
* app/pixel_processor.c: Include config.h without "..", like in
all the other places. Include <string.h>
* app/text_tool.c: Guard the "POINTS" identifier that clashes with
<windows.h>, sigh.
1999-05-04 21:32:17 +00:00
|
|
|
$(CC) $(CFLAGS) -GD -c gimpmenu.c
|
1999-03-07 12:56:03 +00:00
|
|
|
|
|
|
|
gimpbrushmenu.obj : gimpbrushmenu.c
|
Win32 portability changes:
* config.h.win32, README.win32: Small changes.
* tools/pdbgen/pdb/*.pdb: Include <string.h>.
* app/*_cmds.c: Autogenerated files reflect above changes.
* libgimp/makefile.msc app/makefile.msc: Various updates,
including new object files. Gtk+ directory now should be called
gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
now should be called just glib.
* libgimp/gimp.def: Updates.
* libgimp/gimpfeatures.h.win32: Made current with
gimpfeatures.h.in.
* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
necessary.
* tools/pdbgen/pdb/fileops.pdb: Must have a
statement (even an empty one) after a label.
* app/fileops_cmds.c: Autogenerated file reflects above changes.
* app/crop.c: Include <string.h>.
* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
runtime, even if we might be compiling with gcc.)
* app/fileops.c: Don't include <process.h> here.
* app/fileops.h: Do include <process.h> here.
* app/gimpparasite.c: Include config.h, guard inclusion of
<unistd.h>. (Is the inclusion of unistd.h in source files all over
the place really necessary?)
* app/ink.c: MSC doesn't handle conversion from unsigned __int64
to double, so cast to signed.
* app/lut_funcs.c: Include config.h, and define rint() if necessary.
* app/pixel_processor.c: Include config.h without "..", like in
all the other places. Include <string.h>
* app/text_tool.c: Guard the "POINTS" identifier that clashes with
<windows.h>, sigh.
1999-05-04 21:32:17 +00:00
|
|
|
$(CC) $(CFLAGS) -GD -c gimpbrushmenu.c
|
1999-03-07 12:56:03 +00:00
|
|
|
|
|
|
|
gimpgradientmenu.obj : gimpgradientmenu.c
|
Win32 portability changes:
* config.h.win32, README.win32: Small changes.
* tools/pdbgen/pdb/*.pdb: Include <string.h>.
* app/*_cmds.c: Autogenerated files reflect above changes.
* libgimp/makefile.msc app/makefile.msc: Various updates,
including new object files. Gtk+ directory now should be called
gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
now should be called just glib.
* libgimp/gimp.def: Updates.
* libgimp/gimpfeatures.h.win32: Made current with
gimpfeatures.h.in.
* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
necessary.
* tools/pdbgen/pdb/fileops.pdb: Must have a
statement (even an empty one) after a label.
* app/fileops_cmds.c: Autogenerated file reflects above changes.
* app/crop.c: Include <string.h>.
* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
runtime, even if we might be compiling with gcc.)
* app/fileops.c: Don't include <process.h> here.
* app/fileops.h: Do include <process.h> here.
* app/gimpparasite.c: Include config.h, guard inclusion of
<unistd.h>. (Is the inclusion of unistd.h in source files all over
the place really necessary?)
* app/ink.c: MSC doesn't handle conversion from unsigned __int64
to double, so cast to signed.
* app/lut_funcs.c: Include config.h, and define rint() if necessary.
* app/pixel_processor.c: Include config.h without "..", like in
all the other places. Include <string.h>
* app/text_tool.c: Guard the "POINTS" identifier that clashes with
<windows.h>, sigh.
1999-05-04 21:32:17 +00:00
|
|
|
$(CC) $(CFLAGS) -GD -c gimpgradientmenu.c
|
1999-03-07 12:56:03 +00:00
|
|
|
|
|
|
|
gimppatternmenu.obj : gimppatternmenu.c
|
Win32 portability changes:
* config.h.win32, README.win32: Small changes.
* tools/pdbgen/pdb/*.pdb: Include <string.h>.
* app/*_cmds.c: Autogenerated files reflect above changes.
* libgimp/makefile.msc app/makefile.msc: Various updates,
including new object files. Gtk+ directory now should be called
gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
now should be called just glib.
* libgimp/gimp.def: Updates.
* libgimp/gimpfeatures.h.win32: Made current with
gimpfeatures.h.in.
* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
necessary.
* tools/pdbgen/pdb/fileops.pdb: Must have a
statement (even an empty one) after a label.
* app/fileops_cmds.c: Autogenerated file reflects above changes.
* app/crop.c: Include <string.h>.
* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
runtime, even if we might be compiling with gcc.)
* app/fileops.c: Don't include <process.h> here.
* app/fileops.h: Do include <process.h> here.
* app/gimpparasite.c: Include config.h, guard inclusion of
<unistd.h>. (Is the inclusion of unistd.h in source files all over
the place really necessary?)
* app/ink.c: MSC doesn't handle conversion from unsigned __int64
to double, so cast to signed.
* app/lut_funcs.c: Include config.h, and define rint() if necessary.
* app/pixel_processor.c: Include config.h without "..", like in
all the other places. Include <string.h>
* app/text_tool.c: Guard the "POINTS" identifier that clashes with
<windows.h>, sigh.
1999-05-04 21:32:17 +00:00
|
|
|
$(CC) $(CFLAGS) -GD -c gimppatternmenu.c
|
1999-03-07 12:56:03 +00:00
|
|
|
|
|
|
|
# General rule for compiling, used by the objects that don't go into
|
|
|
|
# gimp-$(GIMP_VER).dll.
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
clean:
|
|
|
|
del *.exe
|
|
|
|
del *.obj
|
|
|
|
del *.exp
|
|
|
|
del *.err
|
|
|
|
del *.map
|