gimp/libgimpcolor/makefile.mingw.in

149 lines
3.5 KiB
Plaintext
Raw Normal View History

Makefile.am configure.in added stuff for the new library below. 2001-01-23 Michael Natterer <mitch@gimp.org> * Makefile.am * configure.in * gimptool.in: added stuff for the new library below. * libgimpcolor/.cvsignore * libgimpcolor/Makefile.am * libgimpcolor/gimpcolor.h * libgimpcolor/gimpcolorspace.c * libgimpcolor/gimpcolorspace.h * libgimpcolor/gimpcolortypes.h * libgimpcolor/gimphsv.c * libgimpcolor/gimphsv.h * libgimpcolor/gimprgb.c * libgimpcolor/gimprgb.h: new shared library which both the app and plug-ins link against. The library depends only on glib. * libgimpcolor/gimpcolor.def * libgimpcolor/makefile.mingw.in * libgimpcolor/makefile.msc: added Win32 build files which definitely don't work. * libgimp/Makefile.am * libgimp/gimpcolor.[ch] * libgimp/gimpcolorspace.[ch]: removed. * libgimp/gimp.h * libgimp/gimpadaptivesupersample.c * libgimp/gimpbilinear.c * libgimp/gimppalette.c * libgimp/gimptypes.h: include the stuff from libgimpcolor. Plug-Ins don't need to include <libgimpcolor/gimpcolor.h> explicitely. LibGimp depends on libgimpcolor and thus also includes it's headers. * libgimp/gimp.def * libgimp/makefile.mingw.in: fiddled around with Win32 stuff... * app/Makefile.am: link against libgimpcolor.la * app/apptypes.h: include "libgimpcolor/gimpcolortypes.h" * app/asupsample.c * app/channels_dialog.c * app/colormap_dialog.c * app/commands.c * app/convert.c * app/devices.c * app/disp_callbacks.c * app/drawable.c * app/gimpcontext.c * app/gimpdnd.c * app/gimpimage.c * app/gimppalette.c * app/gimprc.c * app/gradient.c * app/libgimp_glue.c * app/palette.c * app/palette_import.c * app/qmask.c * app/xcf.c * app/tools/paint_core.c * app/tools/paintbrush.c * app/tools/pencil.c: include "libgimpcolor/gimpcolor.h" before all gimp includes because it's a standalone library. * plug-ins/FractalExplorer/Makefile.am * plug-ins/Lighting/Makefile.am * plug-ins/MapObject/Makefile.am * plug-ins/bmp/Makefile.am * plug-ins/common/Makefile.am * plug-ins/common/mkgen.pl * plug-ins/dbbrowser/Makefile.am * plug-ins/faxg3/Makefile.am * plug-ins/fits/Makefile.am * plug-ins/flame/Makefile.am * plug-ins/fp/Makefile.am * plug-ins/gap/Makefile.am * plug-ins/gdyntext/Makefile.am * plug-ins/gfig/Makefile.am * plug-ins/gflare/Makefile.am * plug-ins/gfli/Makefile.am * plug-ins/gimpressionist/Makefile.am * plug-ins/helpbrowser/Makefile.am * plug-ins/ifscompose/Makefile.am * plug-ins/imagemap/Makefile.am * plug-ins/maze/Makefile.am * plug-ins/mosaic/Makefile.am * plug-ins/pagecurl/Makefile.am * plug-ins/print/Makefile.am * plug-ins/rcm/Makefile.am * plug-ins/script-fu/Makefile.am * plug-ins/sel2path/Makefile.am * plug-ins/sgi/Makefile.am * plug-ins/webbrowser/Makefile.am * plug-ins/xjt/Makefile.am: add libgimpcolor.la to LDADD. * INSTALL: don't recommend to --disable-shared for development. * TODO.xml: increased some percentages, added plug-in help stuff.
2001-01-24 02:49:44 +08:00
## Makefile for building the GIMP DLLs and LIBs with gcc on Win32.
## You should use GNU make running on cygwin.
## Use: make -f makefile.mingw
TOP = ../..
include ../build/win32/make.mingw
# Possibly override GIMP version from build/win32/module.defs
GIMP_VER = @GIMP_MAJOR_VERSION@.@GIMP_MINOR_VERSION@
################################################################
# The name of the directory in your %HOME% where the GIMP's personal settings
# and stuff is saved.
GIMPDIR = _gimp$(GIMP_VER)
INCLUDES = -I ..
DEPCFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(INTL_CFLAGS)
DEFINES = -DGIMPDIR=\"$(GIMPDIR)\" -DG_LOG_DOMAIN=\"LibGimp\"
all : \
../config.h \
libgimpi.a \
gimp-$(GIMP_VER).dll \
gimpui-$(GIMP_VER).dll
../config.h : ../config.h.win32
cp $< $@
PDB_WRAPPERS_O = \
gimpbrushes_pdb.o \
gimpbrushselect_pdb.o \
gimpchannel_pdb.o \
gimpchannelops_pdb.o \
gimpcolor_pdb.o \
gimpconvert_pdb.o \
gimpdisplay_pdb.o \
gimpdrawable_pdb.o \
gimpedit_pdb.o \
gimpfileops_pdb.o \
gimpfloatingsel_pdb.o \
gimpgimprc_pdb.o \
gimpgradients_pdb.o \
gimpgradientselect_pdb.o \
gimpguides_pdb.o \
gimphelp_pdb.o \
gimpimage_pdb.o \
gimplayer_pdb.o \
gimpmessage_pdb.o \
gimpmisc_pdb.o \
gimppalette_pdb.o \
gimpparasite_pdb.o \
gimppaths_pdb.o \
gimppatterns_pdb.o \
gimppatternselect_pdb.o \
gimpplugin_pdb.o \
gimpproceduraldb_pdb.o \
gimpselection_pdb.o \
gimptexttool_pdb.o \
gimptools_pdb.o \
gimpundo_pdb.o \
gimpunit_pdb.o
gimpi_OBJECTS = \
gimpenv.o \
gimpchainbutton.o \
gimpcolorbutton.o \
gimpcolorspace.o \
gimpdialog.o \
gimpfileselection.o \
gimphelpui.o \
gimpmatrix.o \
gimpparasite.o \
gimpparasiteio.o \
gimppatheditor.o \
gimppixmap.o \
gimpprotocol.o \
gimpquerybox.o \
gimpsizeentry.o \
gimpunitmenu.o \
gimputils.o \
gimpvector.o \
gimpwidgets.o \
gimpwire.o
libgimpi.a : $(gimpi_OBJECTS)
ar cr libgimpi.a $(gimpi_OBJECTS)
gimp_OBJECTS = \
gimp.o \
$(PDB_WRAPPERS_O) \
gimpchannel.o \
gimpcolorspace.o \
gimpdrawable.o \
gimpenv.o \
gimpgradientselect.o \
gimphelp.o \
gimpimage.o \
gimplayer.o \
gimpmatrix.o \
gimpparasite.o \
gimpparasiteio.o \
gimppixelrgn.o \
gimpproceduraldb.o \
gimpprotocol.o \
gimpselection.o \
gimptile.o \
gimpunit.o \
gimpvector.o \
gimpwire.o
gimp-$(GIMP_VER).dll : $(gimp_OBJECTS) gimp.def
$(GLIB)/build-dll gimp $(GIMP_VER) gimp.def -s $(gimp_OBJECTS) $(INTL_LIBS) $(GLIB_LIBS) -luser32
# Pass -DLIBGIMP_COMPILATION when compiling gimp.c which
# defines the exported variables.
gimp.o : gimp.c
$(CC) $(CFLAGS) -c -DLIBGIMP_COMPILATION gimp.c
gimpui_OBJECTS = \
gimpmenu.o \
gimpbrushmenu.o \
gimpchainbutton.o \
gimpcolorbutton.o \
gimpdialog.o \
gimpexport.o \
gimpfileselection.o \
gimphelpui.o \
gimpgradientmenu.o \
gimppatheditor.o \
gimppatternmenu.o \
gimppixmap.o \
gimpquerybox.o \
gimpsizeentry.o \
gimpui.o \
gimpunitmenu.o \
gimpwidgets.o
gimpui-$(GIMP_VER).dll : $(gimpui_OBJECTS) gimpui.def
$(GLIB)/build-dll gimpui $(GIMP_VER) gimpui.def -s $(gimpui_OBJECTS) -L . -lgimp-$(GIMP_VER) $(GTK_LIBS) $(INTL_LIBS) $(GLIB_LIBS)
# Hack to get an updated makefile.mingw automatically after updating
# makefile.mingw.in. Only for developer use.
makefile.mingw: makefile.mingw.in
sed -e 's,@GIMP[_]MAJOR_VERSION@,@GIMP_MAJOR_VERSION@,' \
-e 's,@GIMP[_]MINOR_VERSION@,@GIMP_MINOR_VERSION@,' <$< >$@