2001-01-24 02:49:44 +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:24:42 +08:00
|
|
|
if PLATFORM_WIN32
|
|
|
|
no_undefined = -no-undefined
|
|
|
|
endif
|
|
|
|
|
|
|
|
if PLATFORM_WIN32
|
|
|
|
else
|
|
|
|
libm = -lm
|
|
|
|
endif
|
|
|
|
|
|
|
|
if OS_WIN32
|
|
|
|
gimpcolor_def = gimpcolor.def
|
|
|
|
libgimpcolor_export_symbols = -export-symbols gimpcolor.def
|
|
|
|
|
|
|
|
install-libtool-import-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
$(INSTALL) .libs/libgimpcolor-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir)
|
2003-10-10 05:33:27 +08:00
|
|
|
$(INSTALL) gimpcolor.def $(DESTDIR)$(libdir)
|
2002-03-30 07:24:42 +08:00
|
|
|
|
|
|
|
uninstall-libtool-import-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/libgimpcolor-$(GIMP_API_VERSION).dll.a
|
2003-10-10 05:33:27 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/gimpcolor.def
|
2002-03-30 07:24:42 +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 = gimpcolor-$(GIMP_API_VERSION).lib
|
2002-03-30 07:24:42 +08:00
|
|
|
|
|
|
|
install-ms-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
$(INSTALL) gimpcolor-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir)
|
2002-03-30 07:24:42 +08:00
|
|
|
|
|
|
|
uninstall-ms-lib:
|
2004-01-22 11:51:46 +08:00
|
|
|
-rm $(DESTDIR)$(libdir)/gimpcolor-$(GIMP_API_VERSION).lib
|
2002-03-30 07:24:42 +08:00
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
gimpcolor-@GIMP_API_VERSION@.lib: gimpcolor.def
|
|
|
|
lib -name:libgimpcolor-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpcolor.def -out:$@
|
2002-03-30 07:24:42 +08:00
|
|
|
|
|
|
|
else
|
|
|
|
install-ms-lib:
|
|
|
|
uninstall-ms-lib:
|
|
|
|
endif
|
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
libgimpcolorincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpcolor
|
2001-01-24 02:49:44 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
AM_CPPFLAGS = \
|
2002-05-14 23:13:14 +08:00
|
|
|
-DG_LOG_DOMAIN=\"LibGimpColor\" \
|
2005-02-13 23:52:44 +08:00
|
|
|
@GTHREAD_CFLAGS@
|
2001-01-24 02:49:44 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
-I$(includedir)
|
2001-01-24 02:49:44 +08:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
makefile.msc \
|
|
|
|
gimpcolor.def
|
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
lib_LTLIBRARIES = libgimpcolor-2.0.la
|
2001-01-24 02:49:44 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpcolor_2_0_la_SOURCES = \
|
2001-05-10 06:34:59 +08:00
|
|
|
gimpcolor.h \
|
|
|
|
gimpcolortypes.h \
|
|
|
|
gimpadaptivesupersample.c \
|
|
|
|
gimpadaptivesupersample.h \
|
|
|
|
gimpbilinear.c \
|
|
|
|
gimpbilinear.h \
|
2003-07-15 04:15:43 +08:00
|
|
|
gimpcmyk.c \
|
|
|
|
gimpcmyk.h \
|
2001-05-10 06:34:59 +08:00
|
|
|
gimpcolorspace.c \
|
|
|
|
gimpcolorspace.h \
|
|
|
|
gimphsv.c \
|
|
|
|
gimphsv.h \
|
|
|
|
gimprgb.c \
|
2004-07-23 01:26:22 +08:00
|
|
|
gimprgb.h \
|
|
|
|
gimprgb-parse.c
|
2001-01-24 02:49:44 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
libgimpcolorinclude_HEADERS = \
|
2001-05-10 06:34:59 +08:00
|
|
|
gimpcolor.h \
|
|
|
|
gimpcolortypes.h \
|
|
|
|
gimpadaptivesupersample.h \
|
|
|
|
gimpbilinear.h \
|
2003-07-15 04:15:43 +08:00
|
|
|
gimpcmyk.h \
|
2001-05-10 06:34:59 +08:00
|
|
|
gimpcolorspace.h \
|
|
|
|
gimphsv.h \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimprgb.h
|
2001-01-24 02:49:44 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpcolor_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
|
|
|
$(libgimpcolor_export_symbols)
|
2001-02-25 22:37:12 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpcolor_2_0_la_DEPENDENCIES = $(gimpcolor_def) $(libgimpbase)
|
2003-09-11 03:56:24 +08:00
|
|
|
|
2004-03-21 04:45:17 +08:00
|
|
|
libgimpcolor_2_0_la_LIBADD = $(GLIB_LIBS) $(libm)
|
2002-03-30 07:24:42 +08:00
|
|
|
|
2004-07-23 07:30:52 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# test programs, not to be built by default and never installed
|
|
|
|
#
|
|
|
|
|
|
|
|
TESTS = test-color-parser$(EXEEXT)
|
|
|
|
|
|
|
|
EXTRA_PROGRAMS = test-color-parser
|
|
|
|
|
|
|
|
test_color_parser_DEPENDENCIES = \
|
|
|
|
$(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
|
|
|
|
|
|
|
|
test_color_parser_LDADD = \
|
|
|
|
$(GLIB_LIBS) \
|
|
|
|
$(test_color_parser_DEPENDENCIES)
|
|
|
|
|
|
|
|
|
|
|
|
CLEANFILES = $(EXTRA_PROGRAMS)
|
|
|
|
|
|
|
|
|
2002-03-30 07:24:42 +08:00
|
|
|
install-data-local: install-ms-lib install-libtool-import-lib
|
|
|
|
|
|
|
|
uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
|