diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:30:19 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:30:19 +0000 |
commit | 5c1676dfe6d2f3c837a5e074117b45613fd29a72 (patch) | |
tree | cbffb45144febf451e54061db2b21395faf94bfe /libgimpmodule/Makefile.am | |
parent | Initial commit. (diff) | |
download | gimp-5c1676dfe6d2f3c837a5e074117b45613fd29a72.tar.xz gimp-5c1676dfe6d2f3c837a5e074117b45613fd29a72.zip |
Adding upstream version 2.10.34.upstream/2.10.34upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libgimpmodule/Makefile.am')
-rw-r--r-- | libgimpmodule/Makefile.am | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/libgimpmodule/Makefile.am b/libgimpmodule/Makefile.am new file mode 100644 index 0000000..4a3bd5e --- /dev/null +++ b/libgimpmodule/Makefile.am @@ -0,0 +1,87 @@ +## Process this file with automake to produce Makefile.in + +libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la +libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la + +if PLATFORM_WIN32 +no_undefined = -no-undefined +endif + +if OS_WIN32 +gimpmodule_def = gimpmodule.def +libgimpmodule_export_symbols = -export-symbols $(srcdir)/gimpmodule.def + +install-libtool-import-lib: + $(INSTALL) .libs/libgimpmodule-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir) + $(INSTALL) $(srcdir)/gimpmodule.def $(DESTDIR)$(libdir) + +uninstall-libtool-import-lib: + -rm $(DESTDIR)$(libdir)/libgimpmodule-$(GIMP_API_VERSION).dll.a + -rm $(DESTDIR)$(libdir)/gimpmodule.def +else +install-libtool-import-lib: +uninstall-libtool-import-lib: +endif + +if MS_LIB_AVAILABLE +noinst_DATA = gimpmodule-$(GIMP_API_VERSION).lib + +install-ms-lib: + $(INSTALL) gimpmodule-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir) + +uninstall-ms-lib: + -rm $(DESTDIR)$(libdir)/gimpmodule-$(GIMP_API_VERSION).lib + +gimpmodule-@GIMP_API_VERSION@.lib: gimpmodule.def + lib -name:libgimpmodule-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpmodule.def -out:$@ + +else +install-ms-lib: +uninstall-ms-lib: +endif + +libgimpmoduleincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpmodule + +AM_CPPFLAGS = \ + -DG_LOG_DOMAIN=\"LibGimpModule\" \ + -DGIMP_MODULE_COMPILATION \ + -I$(top_srcdir) \ + $(GIO_CFLAGS) \ + $(GLIB_CFLAGS) \ + $(GMODULE_NO_EXPORT_CFLAGS) \ + -I$(includedir) + +EXTRA_DIST = \ + gimpmodule.def + +lib_LTLIBRARIES = libgimpmodule-@GIMP_API_VERSION@.la + +libgimpmodule_@GIMP_API_VERSION@_la_SOURCES = \ + gimpmoduletypes.h \ + gimpmodule.c \ + gimpmodule.h \ + gimpmoduledb.c \ + gimpmoduledb.h + +libgimpmoduleinclude_HEADERS = \ + gimpmoduletypes.h \ + gimpmodule.h \ + gimpmoduledb.h + +libgimpmodule_@GIMP_API_VERSION@_la_LDFLAGS = \ + -version-info $(LT_VERSION_INFO) \ + $(no_undefined) \ + $(libgimpmodule_export_symbols) + +EXTRA_libgimpmodule_@GIMP_API_VERSION@_la_DEPENDENCIES = $(gimpmodule_def) + +libgimpmodule_@GIMP_API_VERSION@_la_LIBADD = \ + $(libgimpbase) \ + $(libgimpconfig) \ + $(GMODULE_NO_EXPORT_LIBS) \ + $(GIO_LIBS) \ + $(GLIB_LIBS) + +install-data-local: install-ms-lib install-libtool-import-lib + +uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib |