2002-10-21 22:15:02 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
|
2014-08-04 00:30:02 +08:00
|
|
|
libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
|
2004-01-22 11:51:46 +08:00
|
|
|
|
2002-10-21 22:15:02 +08:00
|
|
|
if PLATFORM_WIN32
|
|
|
|
no_undefined = -no-undefined
|
|
|
|
endif
|
|
|
|
|
|
|
|
if OS_WIN32
|
|
|
|
gimpmodule_def = gimpmodule.def
|
2014-09-15 00:28:26 +08:00
|
|
|
libgimpmodule_export_symbols = -export-symbols $(srcdir)/gimpmodule.def
|
2002-10-21 22:15:02 +08:00
|
|
|
|
|
|
|
install-libtool-import-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
$(INSTALL) .libs/libgimpmodule-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir)
|
2014-09-15 00:28:26 +08:00
|
|
|
$(INSTALL) $(srcdir)/gimpmodule.def $(DESTDIR)$(libdir)
|
2002-10-21 22:15:02 +08:00
|
|
|
|
|
|
|
uninstall-libtool-import-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/libgimpmodule-$(GIMP_API_VERSION).dll.a
|
2003-10-10 05:33:27 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/gimpmodule.def
|
2002-10-21 22:15:02 +08:00
|
|
|
else
|
|
|
|
install-libtool-import-lib:
|
|
|
|
uninstall-libtool-import-lib:
|
|
|
|
endif
|
|
|
|
|
|
|
|
if MS_LIB_AVAILABLE
|
2004-01-22 11:51:46 +08:00
|
|
|
noinst_DATA = gimpmodule-$(GIMP_API_VERSION).lib
|
2002-10-21 22:15:02 +08:00
|
|
|
|
|
|
|
install-ms-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
$(INSTALL) gimpmodule-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir)
|
2002-10-21 22:15:02 +08:00
|
|
|
|
|
|
|
uninstall-ms-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/gimpmodule-$(GIMP_API_VERSION).lib
|
2002-10-21 22:15:02 +08:00
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
gimpmodule-@GIMP_API_VERSION@.lib: gimpmodule.def
|
|
|
|
lib -name:libgimpmodule-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpmodule.def -out:$@
|
2002-10-21 22:15:02 +08:00
|
|
|
|
|
|
|
else
|
|
|
|
install-ms-lib:
|
|
|
|
uninstall-ms-lib:
|
|
|
|
endif
|
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
libgimpmoduleincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpmodule
|
2002-10-21 22:15:02 +08:00
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
2011-04-28 20:30:41 +08:00
|
|
|
-DG_LOG_DOMAIN=\"LibGimpModule\" \
|
2013-06-06 02:48:37 +08:00
|
|
|
-DGIMP_MODULE_COMPILATION \
|
|
|
|
-I$(top_srcdir) \
|
2014-08-10 03:21:15 +08:00
|
|
|
$(GIO_CFLAGS) \
|
2013-06-06 02:48:37 +08:00
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
$(GMODULE_NO_EXPORT_CFLAGS) \
|
2002-10-21 22:15:02 +08:00
|
|
|
-I$(includedir)
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
gimpmodule.def
|
|
|
|
|
2012-05-04 21:37:43 +08:00
|
|
|
lib_LTLIBRARIES = libgimpmodule-@GIMP_API_VERSION@.la
|
2002-10-21 22:15:02 +08:00
|
|
|
|
2019-07-28 02:25:20 +08:00
|
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
|
|
|
include $(top_srcdir)/libgimpmodule/Makefile.gi
|
|
|
|
|
2012-05-04 21:37:43 +08:00
|
|
|
libgimpmodule_@GIMP_API_VERSION@_la_SOURCES = \
|
2019-07-28 02:25:20 +08:00
|
|
|
$(libgimpmodule_introspectable)
|
2002-10-21 22:15:02 +08:00
|
|
|
|
|
|
|
libgimpmoduleinclude_HEADERS = \
|
2019-07-28 02:25:20 +08:00
|
|
|
$(libgimpmodule_introspectable_headers)
|
2002-10-21 22:15:02 +08:00
|
|
|
|
2012-05-04 21:37:43 +08:00
|
|
|
libgimpmodule_@GIMP_API_VERSION@_la_LDFLAGS = \
|
2004-01-22 11:51:46 +08:00
|
|
|
-version-info $(LT_VERSION_INFO) \
|
|
|
|
$(no_undefined) \
|
2002-10-21 22:15:02 +08:00
|
|
|
$(libgimpmodule_export_symbols)
|
|
|
|
|
2014-03-16 05:18:45 +08:00
|
|
|
EXTRA_libgimpmodule_@GIMP_API_VERSION@_la_DEPENDENCIES = $(gimpmodule_def)
|
2002-10-21 22:15:02 +08:00
|
|
|
|
2012-05-04 21:37:43 +08:00
|
|
|
libgimpmodule_@GIMP_API_VERSION@_la_LIBADD = \
|
2006-05-12 23:18:13 +08:00
|
|
|
$(libgimpbase) \
|
2014-08-04 00:30:02 +08:00
|
|
|
$(libgimpconfig) \
|
2006-05-16 06:40:31 +08:00
|
|
|
$(GMODULE_NO_EXPORT_LIBS) \
|
2014-08-10 03:21:15 +08:00
|
|
|
$(GIO_LIBS) \
|
2006-05-16 06:40:31 +08:00
|
|
|
$(GLIB_LIBS)
|
2002-10-21 22:15:02 +08:00
|
|
|
|
|
|
|
install-data-local: install-ms-lib install-libtool-import-lib
|
|
|
|
|
|
|
|
uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
|