summaryrefslogtreecommitdiffstats
path: root/app-tools/Makefile.am
blob: 533229afde92d299ed3b4f4870f29b05537e3944 (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
## Process this file with automake to produce Makefile.in

AUTOMAKE_OPTIONS = subdir-objects

libapp = $(top_builddir)/app/libapp.a
libappwidgets = $(top_builddir)/app/widgets/libappwidgets.a
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la

if PLATFORM_OSX
xobjective_c = "-xobjective-c"
xobjective_cxx = "-xobjective-c++"
xnone = "-xnone"
framework_appkit = -framework AppKit
endif

if OS_WIN32
bin_PROGRAMS = gimp-debug-tool-@GIMP_TOOL_VERSION@
else

if PLATFORM_OSX
bin_PROGRAMS = gimp-debug-tool-@GIMP_TOOL_VERSION@
else
libexec_PROGRAMS = gimp-debug-tool-@GIMP_TOOL_VERSION@
endif

endif


gimp_debug_tool_@GIMP_TOOL_VERSION@_SOURCES = \
	gimp-debug-tool.c

gimp_debug_tool_@GIMP_TOOL_VERSION@_CPPFLAGS = \
	-DCC_VERSION=\""$(CC_VERSION)"\"	\
	-I$(top_srcdir)/app			\
	-I$(top_builddir)/app			\
	$(AM_CPPFLAGS)				\
	$(GIO_CFLAGS)				\
	$(GEGL_CFLAGS)				\
	$(GTK_CFLAGS)				\
	$(FONTCONFIG_CFLAGS)

gimp_debug_tool_@GIMP_TOOL_VERSION@_LDADD = \
	$(libappwidgets)	\
	$(libapp)		\
	$(libgimpbase)						\
	$(GIO_LIBS)		\
	$(GEGL_LIBS)		\
	$(GTK_LIBS)		\
	$(FONTCONFIG_LIBS)


AM_CPPFLAGS = \
	-DGIMP_APP_VERSION=\"@GIMP_APP_VERSION@\"		\
	-DLOCALEDIR=\""$(gimplocaledir)"\"			\
	-DPREFIX=\""$(prefix)"\"				\
	-DEXEC_PREFIX=\""$(exec_prefix)"\"			\
	-DBINDIR=\""$(bindir)"\"				\
	-DSBINDIR=\""$(sbindir)"\"				\
	-DLIBEXECDIR=\""$(libexecdir)"\"			\
	-DDATADIR=\""$(datadir)"\"				\
	-DDATAROOTDIR=\""$(datarootdir)"\"			\
	-DSYSCONFDIR=\""$(sysconfdir)"\"			\
	-DSHAREDSTATEDIR=\""$(sharedstatedir)"\"		\
	-DLOCALSTATEDIR=\""$(localstatedir)"\"			\
	-DLIBDIR=\""$(libdir)"\"				\
	-DINFODIR=\""$(infodir)"\"				\
	-DMANDIR=\""$(mandir)"\"				\
	-DGIMPPLUGINDIR=\""$(gimpplugindir)"\"			\
	-DGIMPDATADIR=\""$(gimpdatadir)"\"			\
	-DCC=\""$(CC)"\"					\
	-DGIMPDIR=\""$(gimpdir)"\"				\
	-DGIMP_PLUGIN_VERSION=\""$(GIMP_PLUGIN_VERSION)"\"	\
	-I$(top_srcdir)						\
	$(GTK_CFLAGS)						\
	-I$(includedir)

AM_CFLAGS = \
	$(xobjective_c)

AM_CXXFLAGS = \
	$(xobjective_cxx)

AM_LDFLAGS = \
	$(framework_appkit)	\
	$(xnone)