diff options
Diffstat (limited to '')
-rw-r--r-- | scripts/Makefile.am | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 8d39d24..9cfdc10 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -7,7 +7,10 @@ CLEANFILES = nobase_dist_perllib_DATA = \ Dpkg/Arch.pm \ + Dpkg/Archive/Ar.pm \ Dpkg/BuildAPI.pm \ + Dpkg/BuildDriver.pm \ + Dpkg/BuildDriver/DebianRules.pm \ Dpkg/BuildEnv.pm \ Dpkg/BuildFlags.pm \ Dpkg/BuildInfo.pm \ @@ -124,6 +127,7 @@ bin_SCRIPTS = \ # EOL EXTRA_DIST += \ + dpkg-ar.pl \ dpkg-architecture.pl \ dpkg-buildapi.pl \ dpkg-buildflags.pl \ @@ -191,12 +195,8 @@ if BUILD_POD_DOC done endif -# Ideally we'd use '$(SED) -i', but unfortunately that's not portable. install-data-hook: - $(do_perl_subst) <$(DESTDIR)$(perllibdir)/Dpkg.pm \ - >$(DESTDIR)$(perllibdir)/Dpkg.pm.new - mv $(DESTDIR)$(perllibdir)/Dpkg.pm.new \ - $(DESTDIR)$(perllibdir)/Dpkg.pm + $(subst_perl_file) $(DESTDIR)$(perllibdir)/Dpkg.pm uninstall-local: if BUILD_POD_DOC @@ -323,6 +323,8 @@ test_data = \ t/Dpkg_OpenPGP/sign-file-inline.sig \ t/Dpkg_OpenPGP/sign-file.asc \ t/Dpkg_OpenPGP/sign-file.sig \ + t/Dpkg_Shlibs/anglebrackets.cpp \ + t/Dpkg_Shlibs/anglebrackets.symbols \ t/Dpkg_Shlibs/basictags.c \ t/Dpkg_Shlibs/basictags.symbols \ t/Dpkg_Shlibs/ld.so.conf \ @@ -330,6 +332,7 @@ test_data = \ t/Dpkg_Shlibs/ld.so.conf.d/normal.conf \ t/Dpkg_Shlibs/ld.so.conf.d/recursive.conf \ t/Dpkg_Shlibs/ld.so.conf_2 \ + t/Dpkg_Shlibs/objdump.anglebrackets \ t/Dpkg_Shlibs/objdump.basictags-amd64 \ t/Dpkg_Shlibs/objdump.basictags-i386 \ t/Dpkg_Shlibs/objdump.basictags-mips \ @@ -369,6 +372,7 @@ test_data = \ t/Dpkg_Source_Package/package_1.0.orig.tar \ t/Dpkg_Source_Package/package_1.0.orig.tar.asc \ t/Dpkg_Source_Package/package_1.0.orig.tar.sig \ + t/Dpkg_Substvars/substvars-req \ t/Dpkg_Substvars/substvars1 \ t/Dpkg_Substvars/substvars2 \ t/dpkg_buildpackage/dpkgdb/status \ @@ -430,17 +434,24 @@ EXTRA_DIST += \ # EOL test_data_objects = \ + t/Dpkg_Shlibs/libobjdump.anglebrackets.so \ t/Dpkg_Shlibs/libobjdump.basictags-amd64.so \ t/Dpkg_Shlibs/libobjdump.basictags-i386.so \ t/Dpkg_Shlibs/libobjdump.basictags-mips.so \ t/Dpkg_Shlibs/libobjdump.patterns.so \ t/Dpkg_Shlibs/libobjdump.spacesyms.so \ + t/Dpkg_Shlibs/spacesyms.c \ + t/Dpkg_Shlibs/spacesyms.o \ # EOL CLEANFILES += \ $(test_data_objects) \ # EOL +$(srcdir)/t/Dpkg_Shlibs/libobjdump.anglebrackets.so: $(srcdir)/t/Dpkg_Shlibs/anglebrackets.cpp + $(CXX) $(CXXFLAGS) -shared -fPIC -Wl,-soname -Wl,libanglebrackets.so.1 \ + $< -o $@ + $(srcdir)/t/Dpkg_Shlibs/libobjdump.basictags-amd64.so: $(srcdir)/t/Dpkg_Shlibs/basictags.c $(CC) $(CFLAGS) -shared -fPIC -Wl,-soname -Wl,libbasictags.so.1 $< \ -DAMD64 -o $@ @@ -474,6 +485,8 @@ $(srcdir)/t/Dpkg_Shlibs/libobjdump.spacesyms.so: $(srcdir)/t/Dpkg_Shlibs/spacesy OBJDUMP = objdump -w -f -p -T -R refresh-test-data: $(test_data_objects) + $(OBJDUMP) $(srcdir)/t/Dpkg_Shlibs/libobjdump.anglebrackets.so \ + >$(srcdir)/t/Dpkg_Shlibs/objdump.anglebrackets $(OBJDUMP) $(srcdir)/t/Dpkg_Shlibs/libobjdump.basictags-amd64.so \ >$(srcdir)/t/Dpkg_Shlibs/objdump.basictags-amd64 $(OBJDUMP) $(srcdir)/t/Dpkg_Shlibs/libobjdump.basictags-i386.so \ @@ -484,7 +497,7 @@ refresh-test-data: $(test_data_objects) >$(srcdir)/t/Dpkg_Shlibs/objdump.patterns $(OBJDUMP) $(srcdir)/t/Dpkg_Shlibs/libobjdump.spacesyms.so \ >$(srcdir)/t/Dpkg_Shlibs/objdump.spacesyms - $(OBJDUMP) `which ls` >$(srcdir)/t/Dpkg_Shlibs/objdump.ls + $(OBJDUMP) `command -v ls` >$(srcdir)/t/Dpkg_Shlibs/objdump.ls include $(top_srcdir)/build-aux/tap.am |