blob: 8cc007fff9f4d8c38f1954181c79cd0e752f907a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-Makethird,v 1.7 2017/04/12 13:03:08 leot Exp $
o mujs building support with libtool
--- Makethird.orig 2017-03-31 14:23:45.000000000 +0000
+++ Makethird
@@ -26,13 +26,13 @@ ifneq "$(wildcard $(MUJS_DIR)/README)" "
MUJS_OUT := $(OUT)/thirdparty/mujs
MUJS_SRC := one.c
-MUJS_OBJ := $(addprefix $(MUJS_OUT)/, $(MUJS_SRC:%.c=%.o))
+MUJS_OBJ := $(addprefix $(MUJS_OUT)/, $(MUJS_SRC:%.c=%.lo))
-$(MUJS_OUT)/one.o: $(wildcard $(MUJS_DIR)/js*.c $(MUJS_DIR)/utf*.c $(MUJS_DIR)/regex.c $(MUJS_DIR)/*.h)
+$(MUJS_OUT)/one.lo: $(wildcard $(MUJS_DIR)/js*.c $(MUJS_DIR)/utf*.c $(MUJS_DIR)/regex.c $(MUJS_DIR)/*.h)
$(MUJS_OUT):
$(MKDIR_CMD)
-$(MUJS_OUT)/%.o: $(MUJS_DIR)/%.c | $(MUJS_OUT)
+$(MUJS_OUT)/%.lo: $(MUJS_DIR)/%.c | $(MUJS_OUT)
$(CC_CMD)
MUJS_CFLAGS := -I$(MUJS_DIR)
|