1999-07-14 16:02:32 +00:00
|
|
|
## Makefile for building the GIMP DLLs and LIBs with gcc -mno-cygwin.
|
|
|
|
## Use: make -f makefile.cygwin
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
BIN = /gimp/bin
|
|
|
|
|
|
|
|
# The name of the directory in your %HOME% where the GIMP's personal settings
|
|
|
|
# and stuff is saved.
|
|
|
|
GIMPDIR = _gimp$(GIMP_VER)
|
|
|
|
|
1999-10-03 00:43:05 +00:00
|
|
|
OPTIMIZE = -O
|
1999-07-14 16:02:32 +00:00
|
|
|
|
|
|
|
################################################################
|
|
|
|
|
|
|
|
# Nothing much configurable below
|
|
|
|
|
Update gcc instructions. Remove warning about gettext being GPL, as the
* README.win32: Update gcc instructions. Remove warning about
gettext being GPL, as the GIMP is GPL, too, of course, and it
thus doesn't matter.
* user_install.bat: Rename the template user gtkrc to gtkrc_user,
to reduce user confusion.
* app/main.c: Small change for gcc on Win32 compilation.
* */makefile.cygwin
* app/module_db.c: With newest gcc-2.95 -fnative-struct on Win32,
no need to have differently named DLLs (including modules) for
(built by) gcc and MSVC.
* app/module_db.c: Use g_strdup_printf() instead of
strlen(), g_malloc() and g_snprintf()
* libgimp/Makefile.am: No need to distribute gimpfeatures.h.win32,
the suitable gimpfeatures.h is built when making the dist.
* libgimp/gimpfeatures.h.win32: Removed.
* libgimp/makefile.cygwin
* libgimp/makefile.msc: Remove gimpfeatures.h.win32.
* libgimp/gimp.h: Win32 startup code changed a bit.
* plug-ins/makefile.cygwin
* plug-ins/makefile.msc: Add the winsnap unofficial plug-in.
* plug-ins/common/animationplay.c
* plug-ins/common/gz.c: (Win32) Hack aroung WinMain getting
clashing declarations because these guys include gdkx.h (which
includes windows.h), and gimp.h also declares WinMain on its own.
1999-07-21 19:52:20 +00:00
|
|
|
CC = gcc -mno-cygwin -mpentium -fnative-struct
|
1999-07-14 16:02:32 +00:00
|
|
|
|
|
|
|
CP = cp
|
|
|
|
LD = ld
|
|
|
|
DLLTOOL = dlltool
|
|
|
|
INSTALL = install
|
|
|
|
|
|
|
|
GTK_VER = 1.3
|
|
|
|
GLIB_VER = 1.3
|
|
|
|
GIMP_VER = 1.1
|
|
|
|
|
|
|
|
GTK = ../../gtk+
|
|
|
|
GLIB = ../../glib
|
1999-08-16 04:59:48 +00:00
|
|
|
INTL = ../../intl
|
1999-07-14 16:02:32 +00:00
|
|
|
|
|
|
|
GIMP_VER = 1.1
|
|
|
|
|
2000-01-02 11:56:56 +00:00
|
|
|
CFLAGS = $(OPTIMIZE) -I.. -I$(GLIB) -I$(GTK)/gdk -I$(GTK) -I$(INTL) -DGIMPDIR=\"$(GIMPDIR)\"
|
1999-07-14 16:02:32 +00:00
|
|
|
|
|
|
|
all : \
|
|
|
|
../config.h \
|
|
|
|
libgimpi.a \
|
Update gcc instructions. Remove warning about gettext being GPL, as the
* README.win32: Update gcc instructions. Remove warning about
gettext being GPL, as the GIMP is GPL, too, of course, and it
thus doesn't matter.
* user_install.bat: Rename the template user gtkrc to gtkrc_user,
to reduce user confusion.
* app/main.c: Small change for gcc on Win32 compilation.
* */makefile.cygwin
* app/module_db.c: With newest gcc-2.95 -fnative-struct on Win32,
no need to have differently named DLLs (including modules) for
(built by) gcc and MSVC.
* app/module_db.c: Use g_strdup_printf() instead of
strlen(), g_malloc() and g_snprintf()
* libgimp/Makefile.am: No need to distribute gimpfeatures.h.win32,
the suitable gimpfeatures.h is built when making the dist.
* libgimp/gimpfeatures.h.win32: Removed.
* libgimp/makefile.cygwin
* libgimp/makefile.msc: Remove gimpfeatures.h.win32.
* libgimp/gimp.h: Win32 startup code changed a bit.
* plug-ins/makefile.cygwin
* plug-ins/makefile.msc: Add the winsnap unofficial plug-in.
* plug-ins/common/animationplay.c
* plug-ins/common/gz.c: (Win32) Hack aroung WinMain getting
clashing declarations because these guys include gdkx.h (which
includes windows.h), and gimp.h also declares WinMain on its own.
1999-07-21 19:52:20 +00:00
|
|
|
gimp-$(GIMP_VER).dll \
|
|
|
|
gimpui-$(GIMP_VER).dll
|
1999-07-14 16:02:32 +00:00
|
|
|
|
|
|
|
../config.h : ../config.h.win32
|
|
|
|
cp ../config.h.win32 ../config.h
|
|
|
|
|
|
|
|
install : all
|
Update gcc instructions. Remove warning about gettext being GPL, as the
* README.win32: Update gcc instructions. Remove warning about
gettext being GPL, as the GIMP is GPL, too, of course, and it
thus doesn't matter.
* user_install.bat: Rename the template user gtkrc to gtkrc_user,
to reduce user confusion.
* app/main.c: Small change for gcc on Win32 compilation.
* */makefile.cygwin
* app/module_db.c: With newest gcc-2.95 -fnative-struct on Win32,
no need to have differently named DLLs (including modules) for
(built by) gcc and MSVC.
* app/module_db.c: Use g_strdup_printf() instead of
strlen(), g_malloc() and g_snprintf()
* libgimp/Makefile.am: No need to distribute gimpfeatures.h.win32,
the suitable gimpfeatures.h is built when making the dist.
* libgimp/gimpfeatures.h.win32: Removed.
* libgimp/makefile.cygwin
* libgimp/makefile.msc: Remove gimpfeatures.h.win32.
* libgimp/gimp.h: Win32 startup code changed a bit.
* plug-ins/makefile.cygwin
* plug-ins/makefile.msc: Add the winsnap unofficial plug-in.
* plug-ins/common/animationplay.c
* plug-ins/common/gz.c: (Win32) Hack aroung WinMain getting
clashing declarations because these guys include gdkx.h (which
includes windows.h), and gimp.h also declares WinMain on its own.
1999-07-21 19:52:20 +00:00
|
|
|
$(INSTALL) gimp-$(GIMP_VER).dll $(BIN)
|
|
|
|
$(INSTALL) gimpui-$(GIMP_VER).dll $(BIN)
|
1999-07-14 16:02:32 +00:00
|
|
|
|
|
|
|
gimpi_OBJECTS = \
|
|
|
|
gimpenv.o \
|
Must call gimp_set_remove_handler() to remove the browser_info_update
1999-11-09 Tor Lillqvist <tml@iki.fi>
* app/module_db.c (browser_destroy_callback): Must call
gimp_set_remove_handler() to remove the browser_info_update
handler from the GimpSet 'modules'.
Otherwise if we bring up the module browser, then close it, this
will call browser_destroy_callback(), which will free the
'browser_st' struct. Later when we exit the GIMP, the modules will
be unloaded, which will cause browser_info_update() to be called,
and passed the pointer to the already freed 'browser_st'. Whoopee.
Thanks to Electric Fence for pointing this out.
* app/makefile.{cygwin,msc}: Remove actionarea.
* libgimp/gimp.h: Change declaration of nonexistent function
gimp_layer_attach_new_parasite() to declaration of
gimp_drawable_attach_new_parasite(), which was missing.
* libgimp/gimpui.def
* libgimp/makefile.{cygwin,msc}: Add gimpcolorbutton.
* plug-ins/makefile.{cygwin,msc}: Add gap_filter and gap_plugins.
* plug-ins/common/gz.c: Fix renamed variable in Win32 part.
* plug-ins/gap/gap_lib.c: Use G_DIR_SEPARATOR_S.
* plug-ins/gdyntext/font_selection.c: When compiling with current
CVS GTk+ (i.e., on Win32 most likely) use the gdk_font_list_*
functions instead of Xlib's XListFonts() and XFreeFontNames().
* plug-ins/gdyntext/gdyntext.c: Use G_PI.
* plug-ins/gdyntext/gdyntext_ui.c: Guard inclusion of
unistd.h. Don't unnecessarily include gdkx.h and Xlib.h
* plug-ins/winsnap/winsnap.c: Fix rectangle orientation.
1999-11-09 23:01:31 +00:00
|
|
|
gimpchainbutton.o \
|
|
|
|
gimpcolorbutton.o \
|
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.o \
|
2000-01-18 20:52:16 +00:00
|
|
|
gimpdialog.o \
|
1999-07-14 16:02:32 +00:00
|
|
|
gimpfileselection.o\
|
2000-01-18 20:52:16 +00:00
|
|
|
gimphelpui.o \
|
1999-07-14 16:02:32 +00:00
|
|
|
gimpmatrix.o \
|
|
|
|
gimppatheditor.o\
|
|
|
|
gimpprotocol.o \
|
|
|
|
gimpsizeentry.o \
|
|
|
|
gimpunitmenu.o \
|
2000-01-18 20:52:16 +00:00
|
|
|
gimpwidgets.o \
|
1999-07-14 16:02:32 +00:00
|
|
|
gimpwire.o \
|
|
|
|
gserialize.o \
|
1999-09-02 00:01:41 +00:00
|
|
|
parasite.o \
|
|
|
|
parasiteio.o
|
1999-07-14 16:02:32 +00:00
|
|
|
|
|
|
|
libgimpi.a : $(gimpi_OBJECTS)
|
|
|
|
ar cr libgimpi.a $(gimpi_OBJECTS)
|
|
|
|
|
|
|
|
gimp_OBJECTS = \
|
|
|
|
gimp.o \
|
|
|
|
gimpchannel.o \
|
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.o \
|
1999-07-14 16:02:32 +00:00
|
|
|
gimpdisplay.o \
|
|
|
|
gimpdrawable.o \
|
|
|
|
gimpenv.o \
|
|
|
|
gimpgradient.o \
|
2000-01-18 20:52:16 +00:00
|
|
|
gimphelp.o \
|
1999-07-14 16:02:32 +00:00
|
|
|
gimpimage.o \
|
|
|
|
gimplayer.o \
|
|
|
|
gimpmatrix.o \
|
|
|
|
gimppalette.o \
|
|
|
|
gimpparasite.o \
|
|
|
|
gimppixelrgn.o \
|
|
|
|
gimpprotocol.o \
|
1999-11-14 02:08:07 +00:00
|
|
|
gimpselection.o \
|
1999-07-14 16:02:32 +00:00
|
|
|
gimptile.o \
|
|
|
|
gimpunit.o \
|
|
|
|
gimpwire.o \
|
|
|
|
gserialize.o \
|
1999-09-02 00:01:41 +00:00
|
|
|
parasite.o \
|
|
|
|
parasiteio.o
|
1999-07-14 16:02:32 +00:00
|
|
|
|
Update gcc instructions. Remove warning about gettext being GPL, as the
* README.win32: Update gcc instructions. Remove warning about
gettext being GPL, as the GIMP is GPL, too, of course, and it
thus doesn't matter.
* user_install.bat: Rename the template user gtkrc to gtkrc_user,
to reduce user confusion.
* app/main.c: Small change for gcc on Win32 compilation.
* */makefile.cygwin
* app/module_db.c: With newest gcc-2.95 -fnative-struct on Win32,
no need to have differently named DLLs (including modules) for
(built by) gcc and MSVC.
* app/module_db.c: Use g_strdup_printf() instead of
strlen(), g_malloc() and g_snprintf()
* libgimp/Makefile.am: No need to distribute gimpfeatures.h.win32,
the suitable gimpfeatures.h is built when making the dist.
* libgimp/gimpfeatures.h.win32: Removed.
* libgimp/makefile.cygwin
* libgimp/makefile.msc: Remove gimpfeatures.h.win32.
* libgimp/gimp.h: Win32 startup code changed a bit.
* plug-ins/makefile.cygwin
* plug-ins/makefile.msc: Add the winsnap unofficial plug-in.
* plug-ins/common/animationplay.c
* plug-ins/common/gz.c: (Win32) Hack aroung WinMain getting
clashing declarations because these guys include gdkx.h (which
includes windows.h), and gimp.h also declares WinMain on its own.
1999-07-21 19:52:20 +00:00
|
|
|
gimp-$(GIMP_VER).dll : $(gimp_OBJECTS) gimp.def
|
1999-08-16 04:59:48 +00:00
|
|
|
$(GLIB)/build-dll gimp $(GIMP_VER) gimp.def -s $(gimp_OBJECTS) -L $(INTL) -lgnu-intl -L $(GLIB) -lglib-$(GLIB_VER) -luser32
|
1999-07-14 16:02:32 +00:00
|
|
|
|
|
|
|
# Pass -DLIBGIMP_COMPILATION when compiling gimp_OBJECTS
|
|
|
|
|
|
|
|
gimp.o : gimp.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimp.c
|
|
|
|
gimpchannel.o : gimpchannel.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimpchannel.c
|
|
|
|
gimpdisplay.o : gimpdisplay.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimpdisplay.c
|
|
|
|
gimpdrawable.o : gimpdrawable.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimpdrawable.c
|
|
|
|
gimpenv.o : gimpenv.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimpenv.c
|
|
|
|
gimpgradient.o : gimpgradient.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimpgradient.c
|
|
|
|
gimpimage.o : gimpimage.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimpimage.c
|
|
|
|
gimplayer.o : gimplayer.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimplayer.c
|
|
|
|
gimpmatrix.o : gimpmatrix.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimpmatrix.c
|
|
|
|
gimppalette.o : gimppalette.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimppalette.c
|
|
|
|
gimpparasite.o : gimpparasite.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimpparasite.c
|
|
|
|
gimppixelrgn.o : gimppixelrgn.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimppixelrgn.c
|
|
|
|
gimpprotocol.o : gimpprotocol.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimpprotocol.c
|
|
|
|
gimptile.o : gimptile.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimptile.c
|
|
|
|
gimpunit.o : gimpunit.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimpunit.c
|
|
|
|
gimpwire.o : gimpwire.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimpwire.c
|
|
|
|
gserialize.o : gserialize.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gserialize.c
|
|
|
|
parasite.o : parasite.c
|
|
|
|
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION parasite.c
|
|
|
|
|
|
|
|
gimpui_OBJECTS = \
|
|
|
|
gimpmenu.o \
|
|
|
|
gimpbrushmenu.o \
|
Overhaul of pixmap brushes and pipes: No separate pixmap pipe
brush tool any longer. The paintbrush, airbrush and pencil
tools, which already knew how to handle the single-pixmap
brushes now also handle the pipes as well.
* app/pixmapbrush.{h,c}
* app/gimpbrushpixmap.{h,c}: Removed these files.
* app/Makefile.am
* app/makefile.{cygwin,msc}: Remove from here, too.
* app/gimpbrushpipe.{h,c}: Total overhaul.
* app/paint_core.h
* app/apptypes.h: Some more types moved to apptypes.h
* app/context_manager.c
* app/tool_options.c
* app/tools.c
* app/toolsF.h: Remove PIXMAPBRUSH tool.
* app/gimpbrush.h: New method: select_brush. Used to change the
brush in paint_core, for pipe brushes.
* app/gimpbrush.c: Add gimp_brush_select_brush, which is dummy for
the normal brushes (returns the same brush).
* app/paint_core.c: Call the brush's select_brush method to get a
potential new brush before calling the paint_func.
* app/gimpbrushlist.c: Various changes related to the pixmap and
pipe overhaul.
* app/airbrush.c
* app/pencil.c: Reorder code a bit in the tool motion function to
avoid executing unnecessary code in the case of a pixmap brush.
Other changes in the same commit:
* app/install.c: Make quote_spaces extern.
* app/appenv.h: Declare it.
* libgimp/gimpui.def: Add missing entry points.
* libgimp/makefile.{cygwin,msc}: Add missing objects to gimpui.
1999-08-26 00:54:30 +00:00
|
|
|
gimpchainbutton.o \
|
Must call gimp_set_remove_handler() to remove the browser_info_update
1999-11-09 Tor Lillqvist <tml@iki.fi>
* app/module_db.c (browser_destroy_callback): Must call
gimp_set_remove_handler() to remove the browser_info_update
handler from the GimpSet 'modules'.
Otherwise if we bring up the module browser, then close it, this
will call browser_destroy_callback(), which will free the
'browser_st' struct. Later when we exit the GIMP, the modules will
be unloaded, which will cause browser_info_update() to be called,
and passed the pointer to the already freed 'browser_st'. Whoopee.
Thanks to Electric Fence for pointing this out.
* app/makefile.{cygwin,msc}: Remove actionarea.
* libgimp/gimp.h: Change declaration of nonexistent function
gimp_layer_attach_new_parasite() to declaration of
gimp_drawable_attach_new_parasite(), which was missing.
* libgimp/gimpui.def
* libgimp/makefile.{cygwin,msc}: Add gimpcolorbutton.
* plug-ins/makefile.{cygwin,msc}: Add gap_filter and gap_plugins.
* plug-ins/common/gz.c: Fix renamed variable in Win32 part.
* plug-ins/gap/gap_lib.c: Use G_DIR_SEPARATOR_S.
* plug-ins/gdyntext/font_selection.c: When compiling with current
CVS GTk+ (i.e., on Win32 most likely) use the gdk_font_list_*
functions instead of Xlib's XListFonts() and XFreeFontNames().
* plug-ins/gdyntext/gdyntext.c: Use G_PI.
* plug-ins/gdyntext/gdyntext_ui.c: Guard inclusion of
unistd.h. Don't unnecessarily include gdkx.h and Xlib.h
* plug-ins/winsnap/winsnap.c: Fix rectangle orientation.
1999-11-09 23:01:31 +00:00
|
|
|
gimpcolorbutton.o \
|
2000-01-18 20:52:16 +00:00
|
|
|
gimpdialog.o \
|
1999-10-06 06:36:46 +00:00
|
|
|
gimpexport.o \
|
Overhaul of pixmap brushes and pipes: No separate pixmap pipe
brush tool any longer. The paintbrush, airbrush and pencil
tools, which already knew how to handle the single-pixmap
brushes now also handle the pipes as well.
* app/pixmapbrush.{h,c}
* app/gimpbrushpixmap.{h,c}: Removed these files.
* app/Makefile.am
* app/makefile.{cygwin,msc}: Remove from here, too.
* app/gimpbrushpipe.{h,c}: Total overhaul.
* app/paint_core.h
* app/apptypes.h: Some more types moved to apptypes.h
* app/context_manager.c
* app/tool_options.c
* app/tools.c
* app/toolsF.h: Remove PIXMAPBRUSH tool.
* app/gimpbrush.h: New method: select_brush. Used to change the
brush in paint_core, for pipe brushes.
* app/gimpbrush.c: Add gimp_brush_select_brush, which is dummy for
the normal brushes (returns the same brush).
* app/paint_core.c: Call the brush's select_brush method to get a
potential new brush before calling the paint_func.
* app/gimpbrushlist.c: Various changes related to the pixmap and
pipe overhaul.
* app/airbrush.c
* app/pencil.c: Reorder code a bit in the tool motion function to
avoid executing unnecessary code in the case of a pixmap brush.
Other changes in the same commit:
* app/install.c: Make quote_spaces extern.
* app/appenv.h: Declare it.
* libgimp/gimpui.def: Add missing entry points.
* libgimp/makefile.{cygwin,msc}: Add missing objects to gimpui.
1999-08-26 00:54:30 +00:00
|
|
|
gimpfileselection.o \
|
2000-01-18 20:52:16 +00:00
|
|
|
gimphelpui.o \
|
Overhaul of pixmap brushes and pipes: No separate pixmap pipe
brush tool any longer. The paintbrush, airbrush and pencil
tools, which already knew how to handle the single-pixmap
brushes now also handle the pipes as well.
* app/pixmapbrush.{h,c}
* app/gimpbrushpixmap.{h,c}: Removed these files.
* app/Makefile.am
* app/makefile.{cygwin,msc}: Remove from here, too.
* app/gimpbrushpipe.{h,c}: Total overhaul.
* app/paint_core.h
* app/apptypes.h: Some more types moved to apptypes.h
* app/context_manager.c
* app/tool_options.c
* app/tools.c
* app/toolsF.h: Remove PIXMAPBRUSH tool.
* app/gimpbrush.h: New method: select_brush. Used to change the
brush in paint_core, for pipe brushes.
* app/gimpbrush.c: Add gimp_brush_select_brush, which is dummy for
the normal brushes (returns the same brush).
* app/paint_core.c: Call the brush's select_brush method to get a
potential new brush before calling the paint_func.
* app/gimpbrushlist.c: Various changes related to the pixmap and
pipe overhaul.
* app/airbrush.c
* app/pencil.c: Reorder code a bit in the tool motion function to
avoid executing unnecessary code in the case of a pixmap brush.
Other changes in the same commit:
* app/install.c: Make quote_spaces extern.
* app/appenv.h: Declare it.
* libgimp/gimpui.def: Add missing entry points.
* libgimp/makefile.{cygwin,msc}: Add missing objects to gimpui.
1999-08-26 00:54:30 +00:00
|
|
|
gimpgradientmenu.o \
|
|
|
|
gimppatternmenu.o \
|
|
|
|
gimpsizeentry.o \
|
2000-01-18 20:52:16 +00:00
|
|
|
gimpunitmenu.o \
|
|
|
|
gimpwidgets.o
|
1999-07-14 16:02:32 +00:00
|
|
|
|
Update gcc instructions. Remove warning about gettext being GPL, as the
* README.win32: Update gcc instructions. Remove warning about
gettext being GPL, as the GIMP is GPL, too, of course, and it
thus doesn't matter.
* user_install.bat: Rename the template user gtkrc to gtkrc_user,
to reduce user confusion.
* app/main.c: Small change for gcc on Win32 compilation.
* */makefile.cygwin
* app/module_db.c: With newest gcc-2.95 -fnative-struct on Win32,
no need to have differently named DLLs (including modules) for
(built by) gcc and MSVC.
* app/module_db.c: Use g_strdup_printf() instead of
strlen(), g_malloc() and g_snprintf()
* libgimp/Makefile.am: No need to distribute gimpfeatures.h.win32,
the suitable gimpfeatures.h is built when making the dist.
* libgimp/gimpfeatures.h.win32: Removed.
* libgimp/makefile.cygwin
* libgimp/makefile.msc: Remove gimpfeatures.h.win32.
* libgimp/gimp.h: Win32 startup code changed a bit.
* plug-ins/makefile.cygwin
* plug-ins/makefile.msc: Add the winsnap unofficial plug-in.
* plug-ins/common/animationplay.c
* plug-ins/common/gz.c: (Win32) Hack aroung WinMain getting
clashing declarations because these guys include gdkx.h (which
includes windows.h), and gimp.h also declares WinMain on its own.
1999-07-21 19:52:20 +00:00
|
|
|
gimpui-$(GIMP_VER).dll : $(gimpui_OBJECTS) gimpui.def
|
1999-12-08 00:19:20 +00:00
|
|
|
$(GLIB)/build-dll gimpui $(GIMP_VER) gimpui.def -s $(gimpui_OBJECTS) -L . -lgimp-$(GIMP_VER) -L $(GTK)/gtk -lgtk-$(GTK_VER) -L $(GTK)/gdk -lgdk-$(GTK_VER) -L $(INTL) -lgnu-intl -L $(GLIB) -lglib-$(GLIB_VER)
|
1999-07-14 16:02:32 +00:00
|
|
|
|
1999-11-14 02:08:07 +00:00
|
|
|
.SUFFIXES: .c .o .i
|
|
|
|
|
1999-07-14 16:02:32 +00:00
|
|
|
# General rule for compiling, used by the objects that don't go into
|
Update gcc instructions. Remove warning about gettext being GPL, as the
* README.win32: Update gcc instructions. Remove warning about
gettext being GPL, as the GIMP is GPL, too, of course, and it
thus doesn't matter.
* user_install.bat: Rename the template user gtkrc to gtkrc_user,
to reduce user confusion.
* app/main.c: Small change for gcc on Win32 compilation.
* */makefile.cygwin
* app/module_db.c: With newest gcc-2.95 -fnative-struct on Win32,
no need to have differently named DLLs (including modules) for
(built by) gcc and MSVC.
* app/module_db.c: Use g_strdup_printf() instead of
strlen(), g_malloc() and g_snprintf()
* libgimp/Makefile.am: No need to distribute gimpfeatures.h.win32,
the suitable gimpfeatures.h is built when making the dist.
* libgimp/gimpfeatures.h.win32: Removed.
* libgimp/makefile.cygwin
* libgimp/makefile.msc: Remove gimpfeatures.h.win32.
* libgimp/gimp.h: Win32 startup code changed a bit.
* plug-ins/makefile.cygwin
* plug-ins/makefile.msc: Add the winsnap unofficial plug-in.
* plug-ins/common/animationplay.c
* plug-ins/common/gz.c: (Win32) Hack aroung WinMain getting
clashing declarations because these guys include gdkx.h (which
includes windows.h), and gimp.h also declares WinMain on its own.
1999-07-21 19:52:20 +00:00
|
|
|
# gimp-$(GIMP_VER).dll.
|
1999-07-14 16:02:32 +00:00
|
|
|
.c.o:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
1999-11-14 02:08:07 +00:00
|
|
|
|
|
|
|
.c.i:
|
|
|
|
$(CC) $(CFLAGS) -E $< >$@
|
|
|
|
|
1999-07-14 16:02:32 +00:00
|
|
|
clean:
|
|
|
|
-rm *.o *.exe *.dll *.a *.base *.exp
|