2005-04-05 Sven Neumann <sven@gimp.org> * configure.in: renamed localedir to gimplocaledir. * libgimpbase/Makefile.am (AM_CPPFLAGS) * tools/Makefile.am (AM_CPPFLAGS): changed accordingly. * gimp.pc.in: added gimplocaledir to the pkg-config file to give plug-ins a chance to get gimp_locale_directory() at compile time.
54 lines
1,011 B
Makefile
54 lines
1,011 B
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)
|
|
|
|
EXTRA_PROGRAMS = \
|
|
gimp-remote-2.3 \
|
|
kernelgen
|
|
|
|
gimp_remote_2_3_SOURCES = gimp-remote.c
|
|
|
|
gimp_remote_2_3_LDADD = \
|
|
$(GTK_LIBS) \
|
|
$(LIBXMU)
|
|
|
|
kernelgen_SOURCES = kernelgen.c
|
|
|
|
AM_CPPFLAGS = \
|
|
-DGIMP_APP_VERSION=\"@GIMP_APP_VERSION@\" \
|
|
-DLOCALEDIR=\""$(gimplocaledir)"\"
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
$(GTK_CFLAGS) \
|
|
-I$(includedir)
|
|
|
|
EXTRA_DIST = \
|
|
gimp-mkenums \
|
|
gimppath2svg.py \
|
|
rmshm
|
|
|
|
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
|