blob: 767f3b9076e5e0eab923675945e7ef96ce5af692 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
## Process this file with automake to produce Makefile.in
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
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 $(srcdir)/gimpcolor.def
install-libtool-import-lib:
$(INSTALL) .libs/libgimpcolor-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir)
$(INSTALL) $(srcdir)/gimpcolor.def $(DESTDIR)$(libdir)
uninstall-libtool-import-lib:
-rm $(DESTDIR)$(libdir)/libgimpcolor-$(GIMP_API_VERSION).dll.a
-rm $(DESTDIR)$(libdir)/gimpcolor.def
else
install-libtool-import-lib:
uninstall-libtool-import-lib:
endif
if MS_LIB_AVAILABLE
noinst_DATA = gimpcolor-$(GIMP_API_VERSION).lib
install-ms-lib:
$(INSTALL) gimpcolor-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir)
uninstall-ms-lib:
-rm $(DESTDIR)$(libdir)/gimpcolor-$(GIMP_API_VERSION).lib
gimpcolor-@GIMP_API_VERSION@.lib: gimpcolor.def
lib -name:libgimpcolor-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpcolor.def -out:$@
else
install-ms-lib:
uninstall-ms-lib:
endif
libgimpcolorincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpcolor
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"LibGimpColor\" \
-DGIMP_COLOR_COMPILATION \
-I$(top_srcdir) \
$(GEGL_CFLAGS) \
$(CAIRO_CFLAGS) \
$(GDK_PIXBUF_CFLAGS) \
$(LCMS_CFLAGS) \
-I$(includedir)
EXTRA_DIST = \
gimpcolor.def
lib_LTLIBRARIES = libgimpcolor-@GIMP_API_VERSION@.la
libgimpcolor_@GIMP_API_VERSION@_la_SOURCES = \
gimpcolor.h \
gimpcolortypes.h \
gimpadaptivesupersample.c \
gimpadaptivesupersample.h \
gimpbilinear.c \
gimpbilinear.h \
gimpcairo.c \
gimpcairo.h \
gimpcmyk.c \
gimpcmyk.h \
gimpcolormanaged.c \
gimpcolormanaged.h \
gimpcolorprofile.c \
gimpcolorprofile.h \
gimpcolorspace.c \
gimpcolorspace.h \
gimpcolortransform.c \
gimpcolortransform.h \
gimphsl.c \
gimphsl.h \
gimphsv.c \
gimphsv.h \
gimppixbuf.c \
gimppixbuf.h \
gimprgb.c \
gimprgb.h \
gimprgb-parse.c
libgimpcolorinclude_HEADERS = \
gimpcolor.h \
gimpcolortypes.h \
gimpadaptivesupersample.h \
gimpbilinear.h \
gimpcairo.h \
gimpcmyk.h \
gimpcolormanaged.h \
gimpcolorprofile.h \
gimpcolorspace.h \
gimpcolortransform.h \
gimphsl.h \
gimphsv.h \
gimppixbuf.h \
gimprgb.h
libgimpcolor_@GIMP_API_VERSION@_la_LDFLAGS = \
-version-info $(LT_VERSION_INFO) \
$(no_undefined) \
$(libgimpcolor_export_symbols)
EXTRA_libgimpcolor_@GIMP_API_VERSION@_la_DEPENDENCIES = $(gimpcolor_def)
libgimpcolor_@GIMP_API_VERSION@_la_LIBADD = \
$(libgimpbase) \
$(GEGL_LIBS) \
$(CAIRO_LIBS) \
$(GDK_PIXBUF_LIBS) \
$(LCMS_LIBS) \
$(libm)
#
# 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 = \
$(libgimpbase) \
$(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
test_color_parser_LDADD = \
$(CAIRO_LIBS) \
$(GLIB_LIBS) \
$(test_color_parser_DEPENDENCIES)
CLEANFILES = $(EXTRA_PROGRAMS)
install-data-local: install-ms-lib install-libtool-import-lib
uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
|