From 616923612ce1132bedd76c48f74f1fc26c1ce2ae Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Sat, 10 Oct 1998 21:40:19 +0000 Subject: [PATCH] Don't create `perl/Makefile.PL' any longer since this is done from configure. Create `perl/Names/Names.xs' from `perl/Names/names.awk' using features.def. --- Makefile.am | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/Makefile.am b/Makefile.am index 655e036e..0816d4b5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,8 +34,8 @@ confexec_DATA = $(top_builddir)/libgtopConf.sh bin_SCRIPTS = $(top_builddir)/libgtop-config -noinst_DATA = $(top_builddir)/perl/Makefile.PL \ - $(top_builddir)/perl/Libgtop.xs +noinst_DATA = $(top_builddir)/perl/Libgtop.xs \ + $(top_builddir)/perl/Names/Names.xs ## to automatically rebuild aclocal.m4 if any of the macros in ## `macros/' change @@ -82,29 +82,10 @@ libgtop-config: libgtop-config.in Makefile && mv libgtop-config.tmp libgtop-config && \ chmod 755 libgtop-config -perl/Makefile.PL: perl/Makefile.PL.in Makefile -## Use sed and then mv to avoid problems if the user interrupts. - sed -e 's,\@LIBGTOP_LIBDIR\@,$(libdir),g' \ - -e 's,\@LIBGTOP_INCLUDEDIR\@,$(includedir),g' \ - -e 's,\@LIBGTOP_EXTRA_LIBS\@,$(LIBGTOP_EXTRA_LIBS),g' \ - -e 's,\@LIBGTOP_LIBS\@,$(LIBGTOP_LIBS),g' \ - -e 's,\@LIBGTOP_INCS\@,$(LIBGTOP_INCS),g' \ - -e 's,\@LIBGTOP_GUILE_LIBS\@,$(LIBGTOP_GUILE_LIBS),g' \ - -e 's,\@LIBGTOP_GUILE_INCS\@,$(LIBGTOP_GUILE_INCS),g' \ - -e 's,\@LIBGTOP_BINDIR\@,$(LIBGTOP_BINDIR),g' \ - -e 's,\@LIBGTOP_SERVER\@,$(LIBGTOP_SERVER),g' \ - -e 's,\@libgtop_sysdeps_dir\@,$(libgtop_sysdeps_dir),g' \ - -e 's,\@libgtop_need_server\@,$(libgtop_need_server),g' \ - -e 's,\@libgtop_use_machine_h\@,$(libgtop_use_machine_h),g' \ - -e 's,\@libgtop_guile_found\@,$(libgtop_guile_found),g' \ - -e 's,\@libgtop_want_names\@,$(libgtop_want_names),g' \ - -e 's,\@libgtop_want_guile_names\@,$(libgtop_want_guile_names),g' \ - -e 's,\@libgtop_want_examples\@,$(libgtop_want_examples),g' \ - -e 's,\@top_srcdir\@,$(top_srcdir),g' \ - -e 's,\@srcdir\@,$(srcdir)/perl,g' \ - < $(srcdir)/perl/Makefile.PL.in > perl/Makefile.tmp \ - && mv perl/Makefile.tmp perl/Makefile.PL - perl/Libgtop.xs: perl/perl.awk $(top_builddir)/config.h $(top_srcdir)/features.def $(AWK) -f $(top_srcdir)/perl/perl.awk < $(top_srcdir)/features.def > perl/lgt-t mv perl/lgt-t perl/Libgtop.xs + +perl/Names/Names.xs: perl/Names/names.awk $(top_builddir)/config.h $(top_srcdir)/features.def + $(AWK) -f $(top_srcdir)/perl/Names/names.awk < $(top_srcdir)/features.def > perl/Names/lgtn-t + mv perl/Names/lgtn-t perl/Names/Names.xs