2000-05-29 Tor Lillqvist <tml@iki.fi>
* gimprc.win32: Update to match Unix version.
* app/gimp.sym: Add dialog_{,un}register.
* app/dialog_handler.c: Include <gmodule.h>, mark above functions
with G_MODULE_EXPORT.
* app/makefile.{msc,cygwin}: Update to match current GLib 1.3.
* libgimp/gimp.def
* libgimp/gimpui.def: Update according to function name changes etc.
* libgimp/makefile.{msc,cygwin}: Update for changed file
names.
* libgimp/makefile.cygwin
* modules/makefile.cygwin: Simplify, use the
../build/win32/make.mingw file.
* plug-ins/common/gz.c (save_image): Somewhat more informative
error message on Win32 when gzip.exe isn't found (most probable
cause of error).
* tips/gimp_tips.txt: Clarify location of personal GIMP directory
on Unix and Windows.
55 lines
2 KiB
Text
55 lines
2 KiB
Text
## Makefile for building gimp modules with gcc
|
|
## Use: make -f makefile.cygwin
|
|
|
|
# Change this to wherever you install gimp.
|
|
# This is what I use as installation target, from where the installer-builder
|
|
# will pick it up.
|
|
GIMP = /install/gimp
|
|
|
|
TOP = ../..
|
|
|
|
include $(TOP)/build/win32/make.mingw
|
|
|
|
################################################################
|
|
|
|
# Nothing much configurable below
|
|
|
|
GIMP_VER = 1.1
|
|
|
|
DEFINES = -DMODULE_COMPILATION
|
|
INCLUDES = -I . -I .. $(GLIB_CFLAGS) $(GTK_CFLAGS) $(INTL_CFLAGS)
|
|
|
|
LDFLAGS = -s
|
|
|
|
BIN = $(GIMP)/modules
|
|
|
|
MODULES = \
|
|
colorsel_gtk-$(GIMP_VER).dll \
|
|
colorsel_triangle-$(GIMP_VER).dll \
|
|
colorsel_water-$(GIMP_VER).dll \
|
|
cdisplay_gamma-$(GIMP_VER).dll \
|
|
cdisplay_highcontrast-$(GIMP_VER).dll
|
|
|
|
all : \
|
|
$(MODULES)
|
|
|
|
install : all
|
|
for m in $(MODULES); do $(INSTALL) $$m $(BIN); done
|
|
|
|
../config.h : ../config.h.win32
|
|
cp ../config.h.win32 $@
|
|
|
|
colorsel_gtk-$(GIMP_VER).dll : colorsel_gtk.o module.def
|
|
$(GLIB)/build-dll colorsel_gtk $(GIMP_VER) module.def colorsel_gtk.o $(LDFLAGS) -L ../app -lgimp $(GTK_LIBS) $(GLIB_LIBS)
|
|
|
|
colorsel_triangle-$(GIMP_VER).dll : colorsel_triangle.o module.def
|
|
$(GLIB)/build-dll colorsel_triangle $(GIMP_VER) module.def colorsel_triangle.o $(LDFLAGS) -L ../app -lgimp $(GTK_LIBS) $(INTL_LIBS) $(GLIB_LIBS)
|
|
|
|
colorsel_water-$(GIMP_VER).dll : colorsel_water.o module.def
|
|
$(GLIB)/build-dll colorsel_water $(GIMP_VER) module.def colorsel_water.o $(LDFLAGS) -L ../app -lgimp $(GTK_LIBS) $(INTL_LIBS) $(GLIB_LIBS)
|
|
|
|
cdisplay_gamma-$(GIMP_VER).dll : cdisplay_gamma.o module.def
|
|
$(GLIB)/build-dll cdisplay_gamma $(GIMP_VER) module.def cdisplay_gamma.o $(LDFLAGS) -L ../app -lgimp -L ../libgimp -lgimp-$(GIMP_VER) -lgimpui-$(GIMP_VER) $(GTK_LIBS) $(INTL_LIBS) $(GLIB_LIBS)
|
|
|
|
cdisplay_highcontrast-$(GIMP_VER).dll : cdisplay_highcontrast.o module.def
|
|
$(GLIB)/build-dll cdisplay_highcontrast $(GIMP_VER) module.def cdisplay_highcontrast.o $(LDFLAGS) -L ../app -lgimp -L ../libgimp -lgimp-$(GIMP_VER) -lgimpui-$(GIMP_VER) $(GTK_LIBS) $(INTL_LIBS) $(GLIB_LIBS)
|