summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:33:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:33:19 +0000
commit3f1258827986359d7b6b317da851c40bff20d120 (patch)
treef20c0da4a146994152f62b31569ec29adf864bf8 /scripts/Makefile.am
parentReleasing progress-linux version 1.22.10-0.0~progress7.99u1. (diff)
downloaddpkg-3f1258827986359d7b6b317da851c40bff20d120.tar.xz
dpkg-3f1258827986359d7b6b317da851c40bff20d120.zip
Merging upstream version 1.22.11.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--scripts/Makefile.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 005c115..9cfdc10 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -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 \
@@ -431,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 $@
@@ -475,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 \
@@ -485,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