gimp/app/Makefile.am

445 lines
7.7 KiB
Makefile
Raw Normal View History

1997-11-25 06:05:25 +08:00
## Process this file with automake to produce Makefile.in
scriptdata =
bin_PROGRAMS = gimp
noinst_LIBRARIES = libgimpim.a
1998-12-17 19:50:35 +08:00
libgimpim_a_SOURCES = \
gimpdrawable.c \
gimpdrawable.h \
gimpdrawableF.h \
gimpdrawableP.h \
gimpimage.c \
gimpimage.h \
gimpimageF.h \
gimpimageP.h \
gimpobject.c \
gimpobject.h \
gimpobjectF.h \
gimpobjectP.h \
gimpset.c \
gimpset.h \
gimpsetF.h \
gimpsetP.h \
gimpsignal.c \
gimpsignal.h
1997-11-25 06:05:25 +08:00
gimp_SOURCES = \
about_dialog.c \
about_dialog.h \
actionarea.c \
actionarea.h \
airbrush.c \
airbrush.h \
app_procs.c \
app_procs.h \
appenv.h \
asupsample.c \
asupsample.h \
batch.c \
batch.h \
bezier_select.c \
bezier_select.h \
bezier_selectP.h \
blend.c \
blend.h \
blob.c \
blob.h \
1997-11-25 06:05:25 +08:00
boundary.c \
boundary.h \
boundaryF.h \
1997-11-25 06:05:25 +08:00
brightness_contrast.c \
brightness_contrast.h \
brush_edit.c \
brush_edit.h \
1997-11-25 06:05:25 +08:00
brush_header.h \
brush_select.c \
brush_select.h \
bucket_fill.c \
bucket_fill.h \
buildmenu.c \
buildmenu.h \
by_color_select.c \
by_color_select.h \
channel.c \
channel.h \
channel_pvt.h \
1997-11-25 06:05:25 +08:00
channel_cmds.c \
channel_cmds.h \
channels_dialog.c \
channels_dialog.h \
channel_ops.c \
channel_ops.h \
clone.c \
clone.h \
color_area.c \
color_area.h \
color_balance.c \
color_balance.h \
Bit of a large checkin this - it's basically three things: 1 - GimpModules Sun Jan 11 00:24:21 GMT 1999 Austin Donnelly <austin@greenend.org.uk> Bit of a large checkin this - it's basically three things: 1 - GimpModules using gmodules to dynamically load and initialise modules at gimp start of day. 2 - Color selectors now register themselves with a color notebook. 3 - progress bars have been cleaned up a bit, so now have progress indictations on all transform tool and gradient fill operations. Not done bucket fill, but that seems to be the next candidate. New directories: * modules/: new directory for dynamically loadable modules. New files: * modules/.cvsignore * modules/Makefile.am * modules/colorsel_gtk.c: GTK color selector wrapped up as a color selector the gimp can use. * app/gimpprogress.[ch]: progress bars within gimp core, either as popups, or in the status bar. This is mainly code moved out of plug-in.c * app/color_notebook.[ch]: color selector notebook, implementing very similar interface to color_select.h so it can be used as a drop-in replacement for it. * libgimp/color_selector.h: API color selectors need to implement to become a page in the color_notebook. * libgimp/gimpmodule.h: API gimp modules need to implement to be initialised by gimp at start of day. Modified files: * Makefile.am: add modules/ to SUBDIRS * libgimp/Makefile.am: install gimpmodule.h and color_selector.h * app/gimprc.[ch]: recognise module-path variable. * gimprc.in: set module-path variable to something sensible (currently "${gimp_dir}/modules:${gimp_plugin_dir}/modules"). * app/Makefile.am: build color notebook and gimpprogress * app/app_procs.c: register internal GIMP color selector with color notebook. * app/asupsample.c: call progress function less frequently for better performance. * app/asupsample.h: progress_func_t typedef moved to gimpprogress.h * app/blend.c: make callbacks to a progress function * app/color_area.c: use a color notebook rather than a color selector * app/color_panel.c: ditto * app/color_select.c: export color selector interface for notebook * app/color_select.h: color_select_init() prototype * app/flip_tool.c: flip the image every time, rather than every second click. * app/interface.c: move progress bar stuff out to gimpprogress.c. Make the code actually work while we're at it. * app/interface.h: move prototypes for progress functions out to gimpprogress.h * app/plug_in.c: load and initialise modules (if possible). Move progress bar handling code out to gimpprogress.c * app/plug_in.h: keep only a gimp_progress * for each plugin, not a whole bunch of GtkWidgets. * app/scale_tool.c * app/rotate_tool.c * app/shear_tool.c * app/perspective_tool.c: progress bar during operation. De-sensitise the dialog to discourage the user from running two transforms in parallel. * app/transform_core.c: recalculate grid coords when bounding box changes. Only initialise the action area of the dialog once, to avoid multiple "ok" / "reset" buttons appearing. Undraw transform tool with correct matrix to get rid of handle remains on screen. Call a progress function as we apply the transform matrix. A few new i18n markups. Invalidate floating selection marching ants after applying matrix. * app/transform_core.h: transform_core_do() takes an optional progress callback argument (and data). * plug-ins/oilify/oilify.c: send progress bar updates after every pixel region, not only if they processed a multiple of 5 pixels (which was quite unlikely, and therefore gave a jerky progress indication).
1999-01-11 08:57:33 +08:00
color_notebook.c \
color_notebook.h \
1997-11-25 06:05:25 +08:00
color_panel.c \
color_panel.h \
color_picker.c \
color_picker.h \
color_select.c \
color_select.h \
color_transfer.c \
color_transfer.h \
colormaps.c \
colormaps.h \
colormap_dialog.c \
colormap_dialog.h \
1997-11-25 06:05:25 +08:00
commands.c \
commands.h \
convert.c \
convert.h \
convolve.c \
convolve.h \
crop.c \
crop.h \
cursorutil.c \
cursorutil.h \
curves.c \
curves.h \
datafiles.c \
datafiles.h \
desaturate.c \
desaturate.h \
devices.c \
devices.h \
1997-11-25 06:05:25 +08:00
dialog_types.h \
dialog_handler.c \
dialog_handler.h \
1997-11-25 06:05:25 +08:00
disp_callbacks.c \
disp_callbacks.h \
docindex.c \
docindex.h \
docindexif.c \
docindexif.h \
1997-11-25 06:05:25 +08:00
draw_core.c \
draw_core.h \
drawable.c \
drawable.h \
drawable_pvt.h \
1997-11-25 06:05:25 +08:00
drawable_cmds.c \
drawable_cmds.h \
edit_cmds.c \
edit_cmds.h \
edit_selection.c \
edit_selection.h \
ellipse_select.c \
ellipse_select.h \
eraser.c \
eraser.h \
errorconsole.c \
errorconsole.h \
1997-11-25 06:05:25 +08:00
errors.c \
errors.h \
equalize.c \
equalize.h \
fileops.c \
fileops.h \
flip_tool.c \
flip_tool.h \
floating_sel.c \
floating_sel.h \
floating_sel_cmds.c \
floating_sel_cmds.h \
file_new_dialog.c \
file_new_dialog.h \
1997-11-25 06:05:25 +08:00
frac.c \
frac.h \
free_select.c \
free_select.h \
fsdither.h \
fuzzy_select.c \
fuzzy_select.h \
gdisplay.c \
gdisplay.h \
gdisplayP.h \
gdisplayF.h \
1997-11-25 06:05:25 +08:00
gdisplay_cmds.c \
gdisplay_cmds.h \
gdisplay_ops.c \
gdisplay_ops.h \
general.c \
general.h \
gimage.c \
gimage.h \
gimage_cmds.c \
gimage_cmds.h \
gimage_mask.c \
gimage_mask.h \
gimage_mask_cmds.c \
gimage_mask_cmds.h \
gimpbrush.c \
gimpbrush.h \
gimpbrushgenerated.c \
gimpbrushgenerated.h \
gimpbrushlist.c \
gimpbrushlist.h \
1998-12-17 19:50:35 +08:00
gimpbrushlistF.h \
gimpbrushlistP.h \
gimplist.c \
gimplist.h \
gimplistF.h \
gimplistP.h \
gimplut.c \
gimplut.h \
gimpparasite.c \
gimpparasite.h \
Bit of a large checkin this - it's basically three things: 1 - GimpModules Sun Jan 11 00:24:21 GMT 1999 Austin Donnelly <austin@greenend.org.uk> Bit of a large checkin this - it's basically three things: 1 - GimpModules using gmodules to dynamically load and initialise modules at gimp start of day. 2 - Color selectors now register themselves with a color notebook. 3 - progress bars have been cleaned up a bit, so now have progress indictations on all transform tool and gradient fill operations. Not done bucket fill, but that seems to be the next candidate. New directories: * modules/: new directory for dynamically loadable modules. New files: * modules/.cvsignore * modules/Makefile.am * modules/colorsel_gtk.c: GTK color selector wrapped up as a color selector the gimp can use. * app/gimpprogress.[ch]: progress bars within gimp core, either as popups, or in the status bar. This is mainly code moved out of plug-in.c * app/color_notebook.[ch]: color selector notebook, implementing very similar interface to color_select.h so it can be used as a drop-in replacement for it. * libgimp/color_selector.h: API color selectors need to implement to become a page in the color_notebook. * libgimp/gimpmodule.h: API gimp modules need to implement to be initialised by gimp at start of day. Modified files: * Makefile.am: add modules/ to SUBDIRS * libgimp/Makefile.am: install gimpmodule.h and color_selector.h * app/gimprc.[ch]: recognise module-path variable. * gimprc.in: set module-path variable to something sensible (currently "${gimp_dir}/modules:${gimp_plugin_dir}/modules"). * app/Makefile.am: build color notebook and gimpprogress * app/app_procs.c: register internal GIMP color selector with color notebook. * app/asupsample.c: call progress function less frequently for better performance. * app/asupsample.h: progress_func_t typedef moved to gimpprogress.h * app/blend.c: make callbacks to a progress function * app/color_area.c: use a color notebook rather than a color selector * app/color_panel.c: ditto * app/color_select.c: export color selector interface for notebook * app/color_select.h: color_select_init() prototype * app/flip_tool.c: flip the image every time, rather than every second click. * app/interface.c: move progress bar stuff out to gimpprogress.c. Make the code actually work while we're at it. * app/interface.h: move prototypes for progress functions out to gimpprogress.h * app/plug_in.c: load and initialise modules (if possible). Move progress bar handling code out to gimpprogress.c * app/plug_in.h: keep only a gimp_progress * for each plugin, not a whole bunch of GtkWidgets. * app/scale_tool.c * app/rotate_tool.c * app/shear_tool.c * app/perspective_tool.c: progress bar during operation. De-sensitise the dialog to discourage the user from running two transforms in parallel. * app/transform_core.c: recalculate grid coords when bounding box changes. Only initialise the action area of the dialog once, to avoid multiple "ok" / "reset" buttons appearing. Undraw transform tool with correct matrix to get rid of handle remains on screen. Call a progress function as we apply the transform matrix. A few new i18n markups. Invalidate floating selection marching ants after applying matrix. * app/transform_core.h: transform_core_do() takes an optional progress callback argument (and data). * plug-ins/oilify/oilify.c: send progress bar updates after every pixel region, not only if they processed a multiple of 5 pixels (which was quite unlikely, and therefore gave a jerky progress indication).
1999-01-11 08:57:33 +08:00
gimpprogress.c \
gimpprogress.h \
1997-11-25 06:05:25 +08:00
gimprc.c \
gimprc.h \
gimphistogram.c \
gimphistogram.h \
1997-11-25 06:05:25 +08:00
global_edit.c \
global_edit.h \
gradient.c \
gradient_header.h \
gradient_select.c \
1997-11-25 06:05:25 +08:00
gradient.h \
gximage.c \
gximage.h \
histogramwidget.c \
histogramwidget.h \
1997-11-25 06:05:25 +08:00
histogram_tool.c \
histogram_tool.h \
hue_saturation.c \
hue_saturation.h \
image_map.c \
image_map.h \
image_render.c \
image_render.h \
info_dialog.c \
info_dialog.h \
info_window.c \
info_window.h \
ink.c \
ink.h \
1997-11-25 06:05:25 +08:00
install.c \
install.h \
interface.c \
interface.h \
internal_procs.c \
internal_procs.h \
invert.c \
invert.h \
iscissors.c \
iscissors.h \
layer.c \
layer.h \
layerF.h \
layer_pvt.h \
1997-11-25 06:05:25 +08:00
layer_cmds.c \
layer_cmds.h \
layer_select.c \
layer_select.h \
layers_dialog.c \
layers_dialog.h \
layers_dialogP.h \
levels.c \
levels.h \
magnify.c \
magnify.h \
main.c \
marching_ants.h \
menus.c \
menus.h \
module_db.c \
module_db.h \
1997-11-25 06:05:25 +08:00
move.c \
move.h \
ops_buttons.c \
ops_buttons.h \
1997-11-25 06:05:25 +08:00
palette.c \
palette_entries.h \
palette.h \
palette_select.c \
palette_select.h \
1997-11-25 06:05:25 +08:00
paint_core.c \
paint_core.h \
paint_funcs.c \
paint_funcs.h \
paintbrush.c \
paintbrush.h \
parasite_cmds.c \
parasite_cmds.h \
parasitelist.c \
parasitelist.h \
parasitelistF.h \
parasitelistP.h \
paths_dialog.h \
paths_dialog.c \
pathsP.h \
1997-11-25 06:05:25 +08:00
pattern_header.h \
pattern_select.c \
pattern_select.h \
patterns.c \
patterns.h \
pencil.c \
pencil.h \
perspective_tool.c \
perspective_tool.h \
pixel_region.c \
pixel_region.h \
pixmaps.h \
pixmaps2.h \
1997-11-25 06:05:25 +08:00
plug_in.c \
plug_in.h \
posterize.c \
posterize.h \
preferences_dialog.c \
preferences_dialog.h \
1997-11-25 06:05:25 +08:00
procedural_db.c \
procedural_db.h \
rect_select.c \
rect_select.h \
rect_selectP.h \
regex.h \
regex.c \
1997-11-25 06:05:25 +08:00
resize.c \
resize.h \
rotate_tool.c \
rotate_tool.h \
scale.c \
scale.h \
scale_tool.c \
scale_tool.h \
scroll.c \
scroll.h \
selection.c \
selection.h \
session.h \
session.c \
1997-11-25 06:05:25 +08:00
shear_tool.c \
shear_tool.h \
temp_buf.c \
temp_buf.h \
text_tool.c \
text_tool.h \
threshold.c \
threshold.h \
tile.c \
tile.h \
tile_pvt.h \
1997-11-25 06:05:25 +08:00
tile_cache.c \
tile_cache.h \
tile_manager.c \
tile_manager.h \
tile_manager_pvt.h \
1997-11-25 06:05:25 +08:00
tile_swap.c \
tile_swap.h \
tips_dialog.c \
tips_dialog.h \
tools.c \
tools.h \
toolsF.h \
1997-11-25 06:05:25 +08:00
transform_core.c \
transform_core.h \
transform_tool.c \
transform_tool.h \
undo.c \
undo.h \
undo_cmds.c \
undo_cmds.h \
wilber.h \
vector2d.c \
vector2d.h \
1997-11-25 06:05:25 +08:00
xcf.c \
xcf.h
1997-11-25 06:05:25 +08:00
EXTRA_DIST = \
tools/anchor.xpm \
1997-11-25 06:05:25 +08:00
tools/channel.xbm \
tools/delete.xpm \
tools/duplicate.xpm \
1997-11-25 06:05:25 +08:00
tools/eye.xbm \
tools/layer.xbm \
tools/linked.xbm \
tools/lower.xpm \
tools/mask.xbm \
tools/new.xpm \
tools/raise.xpm \
tools/penadd.xpm \
tools/pendel.xpm \
tools/penedit.xpm \
tools/pennorm.xpm \
tools/penstroke.xpm \
tools/ptoselection.xpm
1997-11-25 06:05:25 +08:00
CPPFLAGS = \
-DLIBDIR=\""$(gimpplugindir)"\" \
-DLOCALEDIR=\""$(localedir)"\" \
-DREGEX_MALLOC \
@GIMP_THREAD_FLAGS@
1997-11-25 06:05:25 +08:00
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/intl \
1998-06-20 03:47:34 +08:00
$(GTK_CFLAGS) \
1997-11-25 06:05:25 +08:00
-I$(includedir)
1998-06-20 03:47:34 +08:00
LDADD = \
libgimpim.a \
1997-11-25 06:05:25 +08:00
$(top_builddir)/libgimp/libgimpi.a \
1998-06-20 03:47:34 +08:00
$(GTK_LIBS) \
$(GIMP_THREAD_LIBS) \
$(INTLLIBS)
1997-11-25 06:05:25 +08:00
DEPS = \
libgimpim.a \
1997-11-25 06:05:25 +08:00
$(top_builddir)/libgimp/libgimpi.a
gimp_DEPENDENCIES = $(DEPS)
.PHONY: files
files:
@files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
echo $$p; \
done
# GCG stuff
SUFFIXES = .gc .gh
if WITH_GCG
GCG = ../tools/gcg/gcg -I$(srcdir) -I$(top_srcdir)/tools/gcg/gh
GEN_CODE = colormap_dialog.c
if WITH_GNU_MAKE
GEN_HEADER =$(subst .gc,.t.h,$(GCG_DEFS)) \
$(subst .gc,.p.h,$(GCG_DEFS)) \
$(subst .gc,.i.h,$(GCG_DEFS)) \
$(subst .gc,.h,$(GCG_DEFS))
$(GEN_CODE): %.c: %.gc
$(GCG) -o $@ $<
else # WITH_GNU_MAKE
GEN_HEADER = # fill in here manually, if you bother
.gc.c:
$(GCG) -o $@ $<
endif # WITH_GNU_MAKE
BUILT_SOURCES = $(GEN_CODE) $(GEN_HEADER)
if ENABLE_GCG_DEPS
if WITH_GNU_MAKE
# dependency magic
GCGMAKEDEPEND = $(top_srcdir)/tools/gcg/gcgmakedepend
$(DEF_DEPS): .deps/%.d: %.gc
$(GCGMAKEDEPEND) $(DEF_INC) $< >$@
# automake uses .P for .c files, we use .d for .gc files, should
# be no conflict..
GCG_DEFS = $(subst .c,.gc,$(GEN_CODE))
DEF_DEPS = $(patsubst %.gc,.deps/%.d,$(GCG_DEFS))
-include $(DEF_DEPS)
endif # WITH_GNU_MAKE
endif # ENABLE_GCG_DEPS
endif # WITH_GCG
# end GCG stuff