Gimp/plug-ins/Makefile.am
Jehan ecbc38f9e9 plug-ins, extension: goat-exercises becomes a GIMP extension.
This is an extension containing a few demo plug-ins. This is good to
demonstrate the extension format. It will also allow to disable these
plug-ins (if at some point, one doesn't want to show these demo
plug-ins anymore).

And finally it deals with the fact that our plug-in code is stupid, as
it just tries to find the first executable with the same name (minus
extension) as the plug-in folder. This doesn't go well on Windows, where
the permission system is non-existent. So our code just ends up trying
to run the first file with a similar name in a plug-in folder. As the C
goat-exercise contains both an exe and the C source (and the system
probably returns files in alphabetic order), GIMP under Windows tries to
run the C source instead of the executable (this obviously doesn't go
well).
We could try to do more complex logics, like not aborting if the first
file run fails and try the next one in the plug-in folder. Or maybe just
rename the C file to another name. But any of these is just in the end
the proof that our plug-in discovery right now is just bogus. The
extension system is explicit, not based on randomly trying out files.
Plug-ins entry points are explicitly listed in the metadata manifest.
2020-10-09 15:30:54 +02:00

62 lines
814 B
Makefile

## Process this file with automake to produce Makefile.in
if HAVE_WEBKIT
help_browser = help-browser
endif
if HAVE_OPENEXR
file_exr = file-exr
endif
if BUILD_PRINT
print = print
endif
if BUILD_PYTHON
python = python
endif
if OS_WIN32
twain = twain
endif
if HAVE_WEBP
file_webp = file-webp
endif
SUBDIRS = \
script-fu \
file-bmp \
$(file_darktable) \
file-dds \
$(file_exr) \
file-faxg3 \
file-fits \
file-fli \
file-ico \
file-jpeg \
file-psd \
file-raw \
file-sgi \
file-tiff \
$(file_webp) \
flame \
fractal-explorer \
gfig \
gimpressionist \
gradient-flare \
help \
$(help_browser) \
ifs-compose \
imagemap \
lighting \
map-object \
metadata \
pagecurl \
$(print) \
$(python) \
screenshot \
selection-to-path \
$(twain) \
ui \
common