diff --git a/mk/common.mk b/mk/common.mk index 0ad132630..1178a10a0 100644 --- a/mk/common.mk +++ b/mk/common.mk @@ -15,7 +15,7 @@ CFLAGS+= -Werror=return-type DEPFILES_NONEMPTY= $(DEPFILES) /nonexistent -include $(DEPFILES_NONEMPTY:=) -.SUFFIXES: .pico .in .bin .binin +.SUFFIXES: .pico .in .bin .binin .so.1 .so.1in .c.o: $(CC) -Wall -Wextra -std=gnu11 -D_GNU_SOURCE=1 -MT $@ -MD -MP -MF $*.Tpo -o $@ -c $(CFLAGS) $(LOCAL_CFLAGS) $< @@ -31,3 +31,6 @@ DEPFILES_NONEMPTY= $(DEPFILES) /nonexistent .binin.bin: cp $< $@ + +.so.1in.so.1: + cp $< $@ diff --git a/tests/Makefile.autosetup b/tests/Makefile.autosetup index 556f153ef..69d462559 100644 --- a/tests/Makefile.autosetup +++ b/tests/Makefile.autosetup @@ -79,7 +79,10 @@ TESTS_SHELL_BINS= \ frontend/macos.bin \ frontend/macos106.bin \ frontend/macos150.bin \ - frontend/macosfat.bin + frontend/macosfat.bin \ + frontend/libtestfbsd.so.1 \ + frontend/libtest2fbsd.so.1 \ + frontend/libfoo.so.1 lua_OBJS= lib/lua.o merge_OBJS= lib/merge.o diff --git a/tests/frontend/libfoo.so.1 b/tests/frontend/libfoo.so.1in similarity index 100% rename from tests/frontend/libfoo.so.1 rename to tests/frontend/libfoo.so.1in diff --git a/tests/frontend/libtest2fbsd.so.1 b/tests/frontend/libtest2fbsd.so.1in similarity index 100% rename from tests/frontend/libtest2fbsd.so.1 rename to tests/frontend/libtest2fbsd.so.1in diff --git a/tests/frontend/libtestfbsd.so.1 b/tests/frontend/libtestfbsd.so.1in similarity index 100% rename from tests/frontend/libtestfbsd.so.1 rename to tests/frontend/libtestfbsd.so.1in