~ubuntu-branches/ubuntu/maverick/gimp/maverick-security

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
## Process this file with automake to produce Makefile.in

if WITH_PDBGEN
D_pdbgen = pdbgen
else
D_pdbgen =
endif

SUBDIRS = $(D_pdbgen)

bin_PROGRAMS = $(GIMP_REMOTE) gimptool-2.0

noinst_PROGRAMS = test-clipboard

EXTRA_PROGRAMS = \
	gimp-remote-2.6	\
	kernelgen

gimp_remote_2_6_SOURCES = \
	gimp-remote.c	\
	gimp-remote.h	\
	gimp-remote-x11.c

gimp_remote_2_6_LDADD = \
	$(GTK_LIBS)	\
	$(XMU_LIBS)

gimptool_2_0_SOURCES = \
	gimptool.c

gimptool_2_0_LDADD = \
	$(GTK_LIBS)

kernelgen_SOURCES = kernelgen.c

test_clipboard_SOURCES = test-clipboard.c

test_clipboard_LDADD = \
	$(GTK_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)"\"

INCLUDES = \
	-I$(top_srcdir)	\
	$(GTK_CFLAGS)	\
	-I$(includedir)

EXTRA_DIST = \
	defcheck.py	\
	gimp-mkenums	\
	gimppath2svg.py


install-exec-hook:
if DEFAULT_BINARY
	if test -f "$(DESTDIR)$(bindir)/gimp-remote-@GIMP_APP_VERSION@"; then \
	  echo "cd $(DESTDIR)$(bindir)"; \
	  cd $(DESTDIR)$(bindir); \
	  echo "rm -f gimp-remote"; \
	  rm -f gimp-remote; \
	  echo "$(LN_S) gimp-remote-@GIMP_APP_VERSION@ gimp-remote"; \
	  $(LN_S) gimp-remote-@GIMP_APP_VERSION@ gimp-remote; \
	fi
endif

uninstall-local:
if DEFAULT_BINARY
	rm -f $(DESTDIR)$(bindir)/gimp-remote
endif