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
|
|
|
|
|
2002-10-21 22:15:02 +08:00
|
|
|
if PLATFORM_WIN32
|
|
|
|
no_undefined = -no-undefined
|
|
|
|
endif
|
|
|
|
|
|
|
|
if OS_WIN32
|
|
|
|
gimpmodule_def = gimpmodule.def
|
|
|
|
libgimpmodule_export_symbols = -export-symbols gimpmodule.def
|
|
|
|
|
|
|
|
install-libtool-import-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
$(INSTALL) .libs/libgimpmodule-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir)
|
2003-10-10 05:33:27 +08:00
|
|
|
$(INSTALL) 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 = \
|
|
|
|
-DPREFIX=\""$(prefix)"\" \
|
|
|
|
-DGIMPDIR=\""$(gimpdir)"\" \
|
|
|
|
-DDATADIR=\""$(gimpdatadir)"\" \
|
|
|
|
-DLOCALEDIR=\""$(localedir)"\" \
|
|
|
|
-DPLUGINDIR=\""$(gimpplugindir)"\" \
|
|
|
|
-DSYSCONFDIR=\""$(gimpsysconfdir)"\" \
|
|
|
|
-DG_LOG_DOMAIN=\"LibGimpModule\" \
|
|
|
|
@GIMP_THREAD_FLAGS@
|
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir) \
|
2002-12-23 08:55:50 +08:00
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
$(GMODULE_CFLAGS) \
|
2002-10-21 22:15:02 +08:00
|
|
|
-I$(includedir)
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
makefile.msc \
|
|
|
|
gimpmodule.def
|
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
lib_LTLIBRARIES = libgimpmodule-2.0.la
|
2002-10-21 22:15:02 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpmodule_2_0_la_SOURCES = \
|
2002-10-21 22:15:02 +08:00
|
|
|
gimpmoduletypes.h \
|
|
|
|
gimpmodule.c \
|
2002-10-23 22:55:07 +08:00
|
|
|
gimpmodule.h \
|
|
|
|
gimpmoduledb.c \
|
|
|
|
gimpmoduledb.h
|
2002-10-21 22:15:02 +08:00
|
|
|
|
|
|
|
libgimpmoduleinclude_HEADERS = \
|
|
|
|
gimpmoduletypes.h \
|
2002-10-23 22:55:07 +08:00
|
|
|
gimpmodule.h \
|
|
|
|
gimpmoduledb.h
|
2002-10-21 22:15:02 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpmodule_2_0_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)
|
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpmodule_2_0_la_DEPENDENCIES = $(gimpmodule_def)
|
2002-10-21 22:15:02 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpmodule_2_0_la_LIBADD = \
|
2004-01-22 11:51:46 +08:00
|
|
|
$(libgimpbase) \
|
2002-12-23 08:55:50 +08:00
|
|
|
$(GMODULE_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
|