Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
build: fix build out of tree
Baptiste Daroussin committed 1 year ago
commit 61070edd81789357c469943885a99e9cc9e5a806
parent 169a72e
8 files changed +8 -2
modified 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 $< $@
modified 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
deleted tests/frontend/libfoo.so.1
added tests/frontend/libfoo.so.1in
deleted tests/frontend/libtest2fbsd.so.1
added tests/frontend/libtest2fbsd.so.1in
deleted tests/frontend/libtestfbsd.so.1
added tests/frontend/libtestfbsd.so.1in