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
|
## Process this file with automake to produce Makefile.in.
# Actually the earliest release that should be OK should be 1.2e, I think.
# Still, 1.3 is the first "released" automake that is OK.
AUTOMAKE_OPTIONS = 1.3
bin_SCRIPTS = gnome-config
if HAVE_ORBIT
GNORBA = libgnorba
else
GNORBA =
endif
SUBDIRS = po intl support macros \
tools \
libgnome libgnomeui gtk-xmhtml gnome-hello zvt \
$(GNORBA) idl test-gnome test-suite devel-docs
include_HEADERS = gnome.h
EXTRA_DIST = HACKING gnomeConf.sh.in gnome-config.in gnome-libs.spec
release:
$(MAKE) dist distdir=$(PACKAGE)$(VERSION)
## Put `exec' in the name because this should be installed by
## `install-exec', not `install-data'.
confexecdir=$(libdir)
confexec_DATA = gnomeConf.sh
## to automatically rebuild aclocal.m4 if any of the macros in
## `macros/' change
@MAINT@include macros/macros.dep
@MAINT@macros/macros.dep: macros/Makefile.am
@MAINT@ cd macros && $(MAKE) macros.dep
## We create gnomeConf.sh here and not from configure because we want
## to get the paths expanded correctly. Macros like srcdir are given
## the value NONE in configure if the user doesn't specify them (this
## is an autoconf feature, not a bug).
gnomeConf.sh: gnomeConf.sh.in Makefile
## Use sed and then mv to avoid problems if the user interrupts.
sed -e 's,\@GNOME_LIBDIR\@,$(GNOME_LIBDIR),g' \
-e 's,\@GNOME_INCLUDEDIR\@,$(GNOME_INCLUDEDIR),g' \
-e 's,\@GNOME_LIBS\@,$(GNOME_LIBS),g' \
-e 's,\@GNOMEUI_LIBS\@,$(GNOMEUI_LIBS),g' \
-e 's,\@GTKXMHTML_LIBS\@,$(GTKXMHTML_LIBS),g' \
-e 's,\@GTK_CFLAGS\@,$(GTK_CFLAGS),g' \
-e 's,\@need_gnome_support\@,$(need_gnome_support),g' \
< $(srcdir)/gnomeConf.sh.in > gnomeConf.tmp \
&& mv gnomeConf.tmp gnomeConf.sh
|