2000-12-29 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/channel_pvt.h * app/drawable_pvt.h * app/gdisplayF.h * app/gimpdrawableP.h * app/gimpimageP.h * app/layer_pvt.h * app/toolsF.h: removed these files. * app/apptypes.h * tools/pdbgen/enums.pl: added tons of opaque typedefs and enums. * tools/pdbgen/pdb/brush_select.pdb * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/channel.pdb * tools/pdbgen/pdb/color.pdb * tools/pdbgen/pdb/convert.pdb * tools/pdbgen/pdb/display.pdb * tools/pdbgen/pdb/drawable.pdb * tools/pdbgen/pdb/fileops.pdb * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/help.pdb * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/layer.pdb * tools/pdbgen/pdb/pattern_select.pdb * tools/pdbgen/pdb/patterns.pdb * tools/pdbgen/pdb/selection.pdb * tools/pdbgen/pdb/tools.pdb * app/*: chainsaw #include cleanup: - Never (never!!) include stuff in header files except where we need access to structures' contents (like derived objects). - Added prototypes and proper formating in many files. - The #include order in *all* *.c files is as follows: #include "config.h" #include <system stuff> #include <gtk/gtk.h> #include "apptypes.h" #include "gimp stuff" #include "libgimp stuff" #include "libgimp/gimpintl.h" By following this scheme we can easily see a file's dependencies from it's #include's and can grep for the inclusion to find out where a file is used. * tools/pdbgen/app.pl: changed to follow the include scheme above. * libgimp/Makefile.am * libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h and from app/apptypes.h. * libgimp/gimpcolorbutton.[ch] * libgimp/gimpdialog.[ch] * libgimp/gimphelpui.[ch] * libgimp/gimpparasite.[ch] * libgimp/gimppatheditor.[ch] * libgimp/gimpprotocol.c * libgimp/gimpquerybox.[ch] * libgimp/gimpsizeentry.[ch] * libgimp/gimptypes.h * libgimp/gimpui.h * libgimp/gimpunit.h * libgimp/gimpunitmenu.[ch] * libgimp/gimpwidgets.[ch]: changed accordingly. * plug-ins/FractalExplorer/Dialogs.c * plug-ins/gdyntext/message_window.c * plug-ins/imagemap/imap_default_dialog.c * plug-ins/imagemap/imap_file.c: these files used to include "libgimp/gimpui.h" without including "libgimp/gimp.h". This is no longer possible because the libgimpui headers don't inlcude "libgimp/gimpunit.h" any more.
289 lines
5.6 KiB
Makefile
289 lines
5.6 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
gimpincludedir = $(includedir)/libgimp
|
|
|
|
AM_CPPFLAGS = \
|
|
-DGIMPDIR=\""$(gimpdir)"\" \
|
|
-DDATADIR=\""$(gimpdatadir)"\" \
|
|
-DSYSCONFDIR=\""$(gimpsysconfdir)"\" \
|
|
-DG_LOG_DOMAIN=\"LibGimp\" \
|
|
@GIMP_THREAD_FLAGS@
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/intl \
|
|
-I../intl \
|
|
$(GTK_CFLAGS) \
|
|
-I$(includedir)
|
|
|
|
EXTRA_DIST = \
|
|
gimpfeatures.h.in \
|
|
makefile.mingw \
|
|
makefile.mingw.in \
|
|
makefile.msc \
|
|
gimp.def \
|
|
gimpui.def
|
|
|
|
lib_LTLIBRARIES = libgimp.la libgimpui.la
|
|
noinst_LIBRARIES = libgimpi.a
|
|
|
|
PDB_WRAPPERS_C = \
|
|
gimpbrushes_pdb.c \
|
|
gimpbrushselect_pdb.c \
|
|
gimpchannel_pdb.c \
|
|
gimpchannelops_pdb.c \
|
|
gimpcolor_pdb.c \
|
|
gimpconvert_pdb.c \
|
|
gimpdisplay_pdb.c \
|
|
gimpdrawable_pdb.c \
|
|
gimpedit_pdb.c \
|
|
gimpfileops_pdb.c \
|
|
gimpfloatingsel_pdb.c \
|
|
gimpgimprc_pdb.c \
|
|
gimpgradients_pdb.c \
|
|
gimpgradientselect_pdb.c \
|
|
gimpguides_pdb.c \
|
|
gimphelp_pdb.c \
|
|
gimpimage_pdb.c \
|
|
gimplayer_pdb.c \
|
|
gimpmessage_pdb.c \
|
|
gimpmisc_pdb.c \
|
|
gimppalette_pdb.c \
|
|
gimpparasite_pdb.c \
|
|
gimppaths_pdb.c \
|
|
gimppatterns_pdb.c \
|
|
gimppatternselect_pdb.c \
|
|
gimpplugin_pdb.c \
|
|
gimpproceduraldb_pdb.c \
|
|
gimpselection_pdb.c \
|
|
gimptexttool_pdb.c \
|
|
gimptools_pdb.c \
|
|
gimpundo_pdb.c \
|
|
gimpunit_pdb.c
|
|
|
|
PDB_WRAPPERS_H = \
|
|
gimp_pdb.h \
|
|
gimpbrushes_pdb.h \
|
|
gimpbrushselect_pdb.h \
|
|
gimpchannel_pdb.h \
|
|
gimpchannelops_pdb.h \
|
|
gimpcolor_pdb.h \
|
|
gimpconvert_pdb.h \
|
|
gimpdisplay_pdb.h \
|
|
gimpdrawable_pdb.h \
|
|
gimpedit_pdb.h \
|
|
gimpfileops_pdb.h \
|
|
gimpfloatingsel_pdb.h \
|
|
gimpgimprc_pdb.h \
|
|
gimpgradients_pdb.h \
|
|
gimpgradientselect_pdb.h \
|
|
gimpguides_pdb.h \
|
|
gimphelp_pdb.h \
|
|
gimpimage_pdb.h \
|
|
gimplayer_pdb.h \
|
|
gimpmessage_pdb.h \
|
|
gimpmisc_pdb.h \
|
|
gimppalette_pdb.h \
|
|
gimpparasite_pdb.h \
|
|
gimppaths_pdb.h \
|
|
gimppatterns_pdb.h \
|
|
gimppatternselect_pdb.h \
|
|
gimpplugin_pdb.h \
|
|
gimpproceduraldb_pdb.h \
|
|
gimpselection_pdb.h \
|
|
gimptexttool_pdb.h \
|
|
gimptools_pdb.h \
|
|
gimpundo_pdb.h \
|
|
gimpunit_pdb.h
|
|
|
|
libgimpi_a_SOURCES = \
|
|
gimpenv.c \
|
|
gimpenv.h \
|
|
gimpchainbutton.c \
|
|
gimpchainbutton.h \
|
|
gimpcolorbutton.c \
|
|
gimpcolorspace.c \
|
|
gimpcolorspace.h \
|
|
gimpdialog.c \
|
|
gimpdialog.h \
|
|
gimpfileselection.c \
|
|
gimpfileselection.h \
|
|
gimphelpui.c \
|
|
gimphelpui.h \
|
|
gimpmatrix.c \
|
|
gimpmatrix.h \
|
|
gimppatheditor.c \
|
|
gimppatheditor.h \
|
|
gimppixmap.c \
|
|
gimppixmap.h \
|
|
gimpprotocol.c \
|
|
gimpprotocol.h \
|
|
gimpquerybox.c \
|
|
gimpquerybox.h \
|
|
gimpsignal.c \
|
|
gimpsignal.h \
|
|
gimpsizeentry.c \
|
|
gimpsizeentry.h \
|
|
gimpunitmenu.c \
|
|
gimpunitmenu.h \
|
|
gimputils.c \
|
|
gimputils.h \
|
|
gimpvector.c \
|
|
gimpvector.h \
|
|
gimpwidgets.c \
|
|
gimpwidgets.h \
|
|
gimpwire.c \
|
|
gimpwire.h \
|
|
gimpparasite.c \
|
|
gimpparasite.h \
|
|
gimpparasiteio.c \
|
|
gimpparasiteio.h
|
|
|
|
if STATICLIBS
|
|
## Evil hack to insure all deps are satisfied on first-run make
|
|
libgimpi_a_DEPENDENCIES = libgimp.la
|
|
endif
|
|
|
|
# help `make' along by giving another name for the file, which it knows
|
|
# how to build
|
|
../libgimp/gimpfeatures.h: gimpfeatures.h
|
|
@:
|
|
|
|
libgimp_la_SOURCES = \
|
|
gimp.c \
|
|
gimp.h \
|
|
${PDB_WRAPPERS_C} \
|
|
${PDB_WRAPPERS_H} \
|
|
gimpcolorspace.c \
|
|
gimpcolorspace.h \
|
|
gimpchannel.c \
|
|
gimpchannel.h \
|
|
gimpdrawable.c \
|
|
gimpdrawable.h \
|
|
gimpenv.c \
|
|
gimpenv.h \
|
|
gimpgradientselect.c \
|
|
gimpgradientselect.h \
|
|
gimphelp.c \
|
|
gimpimage.c \
|
|
gimpimage.h \
|
|
gimplayer.c \
|
|
gimplayer.h \
|
|
gimplimits.h \
|
|
gimpmatrix.c \
|
|
gimpmatrix.h \
|
|
gimpparasite.c \
|
|
gimpparasite.h \
|
|
gimpparasiteio.c \
|
|
gimpparasiteio.h \
|
|
gimppixelrgn.c \
|
|
gimppixelrgn.h \
|
|
gimpproceduraldb.c \
|
|
gimpproceduraldb.h \
|
|
gimpprotocol.c \
|
|
gimpprotocol.h \
|
|
gimpselection.c \
|
|
gimpselection.h \
|
|
gimpsignal.c \
|
|
gimpsignal.h \
|
|
gimptile.c \
|
|
gimptile.h \
|
|
gimpunit.c \
|
|
gimpunit.h \
|
|
gimputils.c \
|
|
gimputils.h \
|
|
gimpvector.c \
|
|
gimpvector.h \
|
|
gimpwire.c \
|
|
gimpwire.h \
|
|
stdplugins-intl.h \
|
|
libgimp-intl.h
|
|
|
|
libgimpui_la_SOURCES = \
|
|
gimpmenu.c \
|
|
gimpbrushmenu.c \
|
|
gimpgradientmenu.c \
|
|
gimppatternmenu.c \
|
|
gimpchainbutton.c \
|
|
gimpcolorbutton.c \
|
|
gimpcolorbutton.h \
|
|
gimpdialog.c \
|
|
gimpexport.c \
|
|
gimpfileselection.c \
|
|
gimphelpui.c \
|
|
gimppatheditor.c \
|
|
gimppixmap.c \
|
|
gimpquerybox.c \
|
|
gimpsizeentry.c \
|
|
gimpui.c \
|
|
gimpuitypes.h \
|
|
gimpunitmenu.c \
|
|
gimpwidgets.c
|
|
|
|
gimpinclude_HEADERS = \
|
|
gimp.h \
|
|
${PDB_WRAPPERS_H} \
|
|
gimpchainbutton.h \
|
|
gimpchannel.h \
|
|
gimpcolorbutton.h \
|
|
gimpcolordisplay.h \
|
|
gimpcolorselector.h \
|
|
gimpcolorspace.h \
|
|
gimpcompat.h \
|
|
gimpdrawable.h \
|
|
gimpdialog.h \
|
|
gimpenums.h \
|
|
gimpenv.h \
|
|
gimpexport.h \
|
|
gimpfeatures.h \
|
|
gimpfileselection.h \
|
|
gimpgradientselect.h \
|
|
gimphelpui.h \
|
|
gimpimage.h \
|
|
gimplayer.h \
|
|
gimplimits.h \
|
|
gimpmath.h \
|
|
gimpmatrix.h \
|
|
gimpmenu.h \
|
|
gimpmodule.h \
|
|
gimpparasite.h \
|
|
gimpparasiteio.h \
|
|
gimppatheditor.h \
|
|
gimppixelrgn.h \
|
|
gimppixmap.h \
|
|
gimpproceduraldb.h \
|
|
gimpquerybox.h \
|
|
gimpselection.h \
|
|
gimpsignal.h \
|
|
gimpsizeentry.h \
|
|
gimptile.h \
|
|
gimptypes.h \
|
|
gimpui.h \
|
|
gimpuitypes.h \
|
|
gimpunit.h \
|
|
gimpunitmenu.h \
|
|
gimputils.h \
|
|
gimpvector.h \
|
|
gimpwidgets.h \
|
|
gimpintl.h
|
|
|
|
|
|
libgimp_la_LDFLAGS = \
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
|
-release $(LT_RELEASE)
|
|
libgimp_la_LIBADD = $(GLIB_LIBS) -lm
|
|
|
|
libgimpui_la_LDFLAGS = \
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
|
-release $(LT_RELEASE)
|
|
libgimpui_la_LIBADD = $(GTK_LIBS)
|
|
|
|
.PHONY: files
|
|
|
|
files:
|
|
@files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
|
|
echo $$p; \
|
|
done
|
|
|
|
makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/libgimp/makefile.mingw.in
|
|
cd $(top_builddir) && CONFIG_FILES=libgimp/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|