2001-05-21 08:05:48 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2002-03-30 07:10:18 +08:00
|
|
|
if PLATFORM_WIN32
|
|
|
|
no_undefined = -no-undefined
|
|
|
|
endif
|
|
|
|
|
|
|
|
if OS_WIN32
|
|
|
|
gimpbase_def = gimpbase.def
|
|
|
|
libgimpbase_export_symbols = -export-symbols gimpbase.def
|
|
|
|
|
|
|
|
install-libtool-import-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
$(INSTALL) .libs/libgimpbase-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir)
|
2003-10-10 05:33:27 +08:00
|
|
|
$(INSTALL) gimpbase.def $(DESTDIR)$(libdir)
|
2002-03-30 07:10:18 +08:00
|
|
|
|
|
|
|
uninstall-libtool-import-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/libgimpbase-$(GIMP_API_VERSION).dll.a
|
2003-10-10 05:33:27 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/gimpbase.def
|
2002-03-30 07:10:18 +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 = gimpbase-$(GIMP_API_VERSION).lib
|
2002-03-30 07:10:18 +08:00
|
|
|
|
|
|
|
install-ms-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
$(INSTALL) gimpbase-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir)
|
2002-03-30 07:10:18 +08:00
|
|
|
|
|
|
|
uninstall-ms-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/gimpbase-$(GIMP_API_VERSION).lib
|
2002-03-30 07:10:18 +08:00
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
gimpbase-@GIMP_API_VERSION@.lib: gimpbase.def
|
|
|
|
lib -name:libgimpbase-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpbase.def -out:$@
|
2002-03-30 07:10:18 +08:00
|
|
|
|
|
|
|
else
|
|
|
|
install-ms-lib:
|
|
|
|
uninstall-ms-lib:
|
|
|
|
endif
|
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
libgimpbaseincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpbase
|
2001-05-21 08:05:48 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
AM_CPPFLAGS = \
|
2002-03-30 07:10:18 +08:00
|
|
|
-DPREFIX=\""$(prefix)"\" \
|
2001-05-21 08:05:48 +08:00
|
|
|
-DGIMPDIR=\""$(gimpdir)"\" \
|
|
|
|
-DDATADIR=\""$(gimpdatadir)"\" \
|
2002-05-11 18:18:58 +08:00
|
|
|
-DLOCALEDIR=\""$(localedir)"\" \
|
2001-12-11 04:43:51 +08:00
|
|
|
-DPLUGINDIR=\""$(gimpplugindir)"\" \
|
2001-05-21 08:05:48 +08:00
|
|
|
-DSYSCONFDIR=\""$(gimpsysconfdir)"\" \
|
|
|
|
-DG_LOG_DOMAIN=\"LibGimpBase\" \
|
2002-06-08 07:00:46 +08:00
|
|
|
@GIMP_THREAD_FLAGS@
|
2001-05-21 08:05:48 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
-I$(includedir)
|
2001-05-21 08:05:48 +08:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2003-08-27 06:56:30 +08:00
|
|
|
makefile.msc \
|
2001-05-21 08:05:48 +08:00
|
|
|
gimpbase.def
|
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
lib_LTLIBRARIES = libgimpbase-2.0.la
|
2001-05-21 08:05:48 +08:00
|
|
|
|
2001-05-22 08:36:38 +08:00
|
|
|
# help `make' along by giving another name for the file, which it knows
|
|
|
|
# how to build
|
|
|
|
../libgimpbase/gimpversion.h: gimpversion.h
|
|
|
|
@:
|
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpbase_2_0_la_SOURCES = \
|
2001-05-21 08:05:48 +08:00
|
|
|
gimpbase.h \
|
|
|
|
gimpbasetypes.h \
|
2002-10-23 22:55:07 +08:00
|
|
|
gimplimits.h \
|
|
|
|
gimpversion.h \
|
|
|
|
\
|
2003-11-16 06:53:28 +08:00
|
|
|
gimpbase-private.c \
|
|
|
|
gimpbase-private.h \
|
2002-10-23 22:55:07 +08:00
|
|
|
gimpdatafiles.c \
|
|
|
|
gimpdatafiles.h \
|
2001-05-21 08:05:48 +08:00
|
|
|
gimpenv.c \
|
|
|
|
gimpenv.h \
|
2004-07-28 00:39:00 +08:00
|
|
|
gimpmemsize.c \
|
|
|
|
gimpmemsize.h \
|
2001-05-21 08:05:48 +08:00
|
|
|
gimpparasite.c \
|
|
|
|
gimpparasite.h \
|
|
|
|
gimpparasiteio.c \
|
|
|
|
gimpparasiteio.h \
|
|
|
|
gimpprotocol.c \
|
|
|
|
gimpprotocol.h \
|
2002-10-23 22:55:07 +08:00
|
|
|
gimpsignal.c \
|
|
|
|
gimpsignal.h \
|
2003-11-16 06:53:28 +08:00
|
|
|
gimpunit.c \
|
|
|
|
gimpunit.h \
|
2003-02-06 06:15:39 +08:00
|
|
|
gimputils.c \
|
|
|
|
gimputils.h \
|
2003-11-05 13:19:14 +08:00
|
|
|
gimpwin32-io.h \
|
2001-05-21 08:05:48 +08:00
|
|
|
gimpwire.c \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpwire.h
|
2001-05-21 08:05:48 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
libgimpbaseinclude_HEADERS = \
|
2001-05-21 08:05:48 +08:00
|
|
|
gimpbase.h \
|
|
|
|
gimpbasetypes.h \
|
|
|
|
gimplimits.h \
|
2002-10-23 22:55:07 +08:00
|
|
|
gimpversion.h \
|
|
|
|
\
|
|
|
|
gimpdatafiles.h \
|
|
|
|
gimpenv.h \
|
2004-07-28 00:39:00 +08:00
|
|
|
gimpmemsize.h \
|
2001-05-21 08:05:48 +08:00
|
|
|
gimpparasite.h \
|
|
|
|
gimpparasiteio.h \
|
2003-11-16 06:53:28 +08:00
|
|
|
gimpsignal.h \
|
|
|
|
gimpunit.h \
|
|
|
|
gimputils.h
|
2001-06-08 01:20:50 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpbase_2_0_la_LDFLAGS = \
|
2004-01-22 11:51:46 +08:00
|
|
|
-version-info $(LT_VERSION_INFO) \
|
|
|
|
$(no_undefined) \
|
2002-06-08 07:00:46 +08:00
|
|
|
$(libgimpbase_export_symbols)
|
2001-05-21 08:05:48 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpbase_2_0_la_DEPENDENCIES = $(gimpbase_def)
|
2002-03-30 07:10:18 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpbase_2_0_la_LIBADD = $(GLIB_LIBS)
|
2002-03-30 07:10:18 +08:00
|
|
|
|
|
|
|
install-data-local: install-ms-lib install-libtool-import-lib
|
|
|
|
|
|
|
|
uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
|