gimp/libgimpmath/Makefile.am
Sven Neumann 3aae39405e app/base/Makefile.am automake-1.6 seems to use yet another variable to
2002-06-08  Sven Neumann  <sven@gimp.org>

	* app/base/Makefile.am
	* app/paint-funcs/Makefile.am: automake-1.6 seems to use yet another
	variable to pass flags to the assembler (bug #84514). Define
	AM_CCASFLAGS like AM_ASFLAGS to satisfy all versions of automake.

	* configure.in
	* all Makefiles: removed STRIP_BEGIN and STRIP_END since it's a
	GNU make extension that we don't really need and newer versions of
	automake don't seem to like it.
2002-06-07 23:00:46 +00:00

105 lines
2 KiB
Makefile

## Process this file with automake to produce Makefile.in
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:
$(INSTALL) .libs/libgimpmath-1.3.dll.a $(DESTDIR)$(libdir)
uninstall-libtool-import-lib:
-rm $(DESTDIR)$(libdir)/libgimpmath-1.3.dll.a
else
install-libtool-import-lib:
uninstall-libtool-import-lib:
endif
if MS_LIB_AVAILABLE
noinst_DATA = gimpmath-1.3.lib
install-ms-lib:
$(INSTALL) gimpmath-1.3.lib $(DESTDIR)$(libdir)
uninstall-ms-lib:
-rm $(DESTDIR)$(libdir)/gimpmath-1.3.lib
gimpmath-1.3.lib: gimpmath.def
lib -name:libgimpmath-1.3-@LT_CURRENT_MINUS_AGE@.dll -def:gimpmath.def -out:$@
else
install-ms-lib:
uninstall-ms-lib:
endif
libgimpmathincludedir = $(includedir)/gimp-$(LT_RELEASE)/libgimpmath
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"LibGimpMath\" \
@GIMP_THREAD_FLAGS@
INCLUDES = \
-I$(top_srcdir) \
$(GLIB_CFLAGS) \
-I$(includedir)
EXTRA_DIST = \
makefile.mingw \
makefile.mingw.in \
makefile.msc \
gimpmath.def
lib_LTLIBRARIES = libgimpmath-1.3.la
libgimpmath_1_3_la_SOURCES = \
gimpmath.h \
gimpmathtypes.h \
gimpmatrix.c \
gimpmatrix.h \
gimpmd5.c \
gimpmd5.h \
gimpvector.c \
gimpvector.h
libgimpmathinclude_HEADERS = \
gimpmath.h \
gimpmathtypes.h \
gimpmatrix.h \
gimpmd5.h \
gimpvector.h
libgimpmath_1_3_la_LDFLAGS = \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
$(no_undefined) \
$(libgimpmath_export_symbols)
libgimpmath_1_3_la_LIBADD = $(GLIB_LIBS) $(libm)
#
# test programs, not to be built by default and never installed
#
TESTS = test-md5$(EXEEXT)
EXTRA_PROGRAMS = test-md5
test_md5_DEPENDENCIES = \
$(top_builddir)/libgimpmath/libgimpmath-$(LT_RELEASE).la
test_md5_LDADD = \
$(GLIB_LIBS) \
$(test_md5_DEPENDENCIES)
install-data-local: install-ms-lib install-libtool-import-lib
uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib