2001-01-24 07:56:18 +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
|
2003-09-11 03:56:24 +08:00
|
|
|
|
2002-03-30 07:39:00 +08:00
|
|
|
if PLATFORM_WIN32
|
|
|
|
no_undefined = -no-undefined
|
|
|
|
endif
|
|
|
|
|
|
|
|
if PLATFORM_WIN32
|
|
|
|
else
|
|
|
|
libm = -lm
|
|
|
|
endif
|
|
|
|
|
|
|
|
if OS_WIN32
|
|
|
|
gimpmath_def = gimpmath.def
|
|
|
|
libgimpmath_export_symbols = -export-symbols gimpmath.def
|
|
|
|
|
|
|
|
install-libtool-import-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
$(INSTALL) .libs/libgimpmath-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir)
|
2003-10-10 05:33:27 +08:00
|
|
|
$(INSTALL) gimpmath.def $(DESTDIR)$(libdir)
|
2002-03-30 07:39:00 +08:00
|
|
|
|
|
|
|
uninstall-libtool-import-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/libgimpmath-$(GIMP_API_VERSION).dll.a
|
2003-10-10 05:33:27 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/gimpmath.def
|
2002-03-30 07:39:00 +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 = gimpmath-$(GIMP_API_VERSION).lib
|
2002-03-30 07:39:00 +08:00
|
|
|
|
|
|
|
install-ms-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
$(INSTALL) gimpmath-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir)
|
2002-03-30 07:39:00 +08:00
|
|
|
|
|
|
|
uninstall-ms-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/gimpmath-$(GIMP_API_VERSION).lib
|
2002-03-30 07:39:00 +08:00
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
gimpmath-@GIMP_API_VERSION@.lib: gimpmath.def
|
|
|
|
lib -name:libgimpmath-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpmath.def -out:$@
|
2002-03-30 07:39:00 +08:00
|
|
|
|
|
|
|
else
|
|
|
|
install-ms-lib:
|
|
|
|
uninstall-ms-lib:
|
|
|
|
endif
|
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
libgimpmathincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpmath
|
2001-01-24 07:56:18 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
AM_CPPFLAGS = \
|
2011-04-28 20:30:41 +08:00
|
|
|
-DG_LOG_DOMAIN=\"LibGimpMath\" \
|
2013-06-06 02:48:37 +08:00
|
|
|
-DGIMP_MATH_COMPILATION \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
$(GLIB_CFLAGS) \
|
2002-06-08 07:00:46 +08:00
|
|
|
-I$(includedir)
|
2001-01-24 07:56:18 +08:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
gimpmath.def
|
|
|
|
|
2012-05-04 21:37:43 +08:00
|
|
|
lib_LTLIBRARIES = libgimpmath-@GIMP_API_VERSION@.la
|
2001-01-24 07:56:18 +08:00
|
|
|
|
2012-05-04 21:37:43 +08:00
|
|
|
libgimpmath_@GIMP_API_VERSION@_la_SOURCES = \
|
2001-01-24 07:56:18 +08:00
|
|
|
gimpmath.h \
|
|
|
|
gimpmathtypes.h \
|
|
|
|
gimpmatrix.c \
|
|
|
|
gimpmatrix.h \
|
2002-02-12 06:48:54 +08:00
|
|
|
gimpmd5.c \
|
|
|
|
gimpmd5.h \
|
2001-01-24 07:56:18 +08:00
|
|
|
gimpvector.c \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpvector.h
|
2001-01-24 07:56:18 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
libgimpmathinclude_HEADERS = \
|
2001-01-24 07:56:18 +08:00
|
|
|
gimpmath.h \
|
|
|
|
gimpmathtypes.h \
|
|
|
|
gimpmatrix.h \
|
2002-02-12 06:48:54 +08:00
|
|
|
gimpmd5.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpvector.h
|
2001-01-24 07:56:18 +08:00
|
|
|
|
2012-05-04 21:37:43 +08:00
|
|
|
libgimpmath_@GIMP_API_VERSION@_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
|
|
|
$(libgimpmath_export_symbols)
|
2001-02-25 22:37:12 +08:00
|
|
|
|
2014-03-16 05:18:45 +08:00
|
|
|
EXTRA_libgimpmath_@GIMP_API_VERSION@_la_DEPENDENCIES = $(gimpmath_def)
|
2003-09-11 03:56:24 +08:00
|
|
|
|
2012-05-04 21:37:43 +08:00
|
|
|
libgimpmath_@GIMP_API_VERSION@_la_LIBADD = \
|
2014-03-15 05:39:02 +08:00
|
|
|
$(libgimpbase) \
|
2012-05-04 21:37:43 +08:00
|
|
|
$(GLIB_LIBS) \
|
|
|
|
$(libm)
|
2002-02-12 06:48:54 +08:00
|
|
|
|
|
|
|
|
2002-03-30 07:39:00 +08:00
|
|
|
install-data-local: install-ms-lib install-libtool-import-lib
|
|
|
|
|
|
|
|
uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
|