2002-10-21 22:15:02 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
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:
|
2003-05-24 01:28:07 +08:00
|
|
|
$(INSTALL) .libs/libgimpmodule-$(LT_RELEASE).dll.a $(DESTDIR)$(libdir)
|
2002-10-21 22:15:02 +08:00
|
|
|
|
|
|
|
uninstall-libtool-import-lib:
|
2003-05-24 01:28:07 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/libgimpmodule-$(LT_RELEASE).dll.a
|
2002-10-21 22:15:02 +08:00
|
|
|
else
|
|
|
|
install-libtool-import-lib:
|
|
|
|
uninstall-libtool-import-lib:
|
|
|
|
endif
|
|
|
|
|
|
|
|
if MS_LIB_AVAILABLE
|
2003-05-24 01:28:07 +08:00
|
|
|
noinst_DATA = gimpmodule-$(LT_RELEASE).lib
|
2002-10-21 22:15:02 +08:00
|
|
|
|
|
|
|
install-ms-lib:
|
2003-05-24 01:28:07 +08:00
|
|
|
$(INSTALL) gimpmodule-$(LT_RELEASE).lib $(DESTDIR)$(libdir)
|
2002-10-21 22:15:02 +08:00
|
|
|
|
|
|
|
uninstall-ms-lib:
|
2003-05-24 01:28:07 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/gimpmodule-$(LT_RELEASE).lib
|
2002-10-21 22:15:02 +08:00
|
|
|
|
2003-05-24 01:28:07 +08:00
|
|
|
gimpmodule-@LT_RELEASE@.lib: gimpmodule.def
|
|
|
|
lib -name:libgimpmodule-$(LT_RELEASE)-@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
|
|
|
|
|
|
|
|
libgimpmoduleincludedir = $(includedir)/gimp-$(LT_RELEASE)/libgimpmodule
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libgimpmodule-1.3.la
|
|
|
|
|
|
|
|
libgimpmodule_1_3_la_SOURCES = \
|
|
|
|
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
|
|
|
|
|
|
|
EXTRA_HEADERS =
|
|
|
|
|
|
|
|
libgimpmodule_1_3_la_LDFLAGS = \
|
|
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
|
|
|
$(no_undefined) \
|
|
|
|
$(libgimpmodule_export_symbols)
|
|
|
|
|
|
|
|
libgimpmodule_1_3_la_DEPENDENCIES = $(gimpmodule_def)
|
|
|
|
|
2002-10-23 22:55:07 +08:00
|
|
|
libgimpmodule_1_3_la_LIBADD = \
|
|
|
|
$(top_builddir)/libgimpbase/libgimpbase-$(LT_RELEASE).la \
|
2002-12-23 08:55:50 +08:00
|
|
|
$(GLIB_LIBS) \
|
|
|
|
$(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
|