Gimp/tools/Makefile.am
Sven Neumann 03235e4b23 tools/Makefile.am tools/gimp-remote.[ch] split gimp-remote into common and
2007-10-25  Sven Neumann  <sven@gimp.org>

	* tools/Makefile.am
	* tools/gimp-remote.[ch]
	* tools/gimp-remote-x11.c: split gimp-remote into common and X11
	specific code.

svn path=/trunk/; revision=23947
2007-10-25 14:46:27 +00:00

65 lines
1.1 KiB
Makefile

## 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)
noinst_PROGRAMS = test-clipboard
EXTRA_PROGRAMS = \
gimp-remote-2.4 \
kernelgen
gimp_remote_2_4_SOURCES = \
gimp-remote.c \
gimp-remote.h \
gimp-remote-x11.c
gimp_remote_2_4_LDADD = \
$(GTK_LIBS) \
$(LIBXMU)
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)"\"
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