57 lines
1.2 KiB
Text
57 lines
1.2 KiB
Text
$NetBSD: patch-ad,v 1.2 2016/08/14 18:27:05 scole Exp $
|
|
|
|
--- src/Makefile.am.orig 2008-02-04 23:11:38.000000000 -0500
|
|
+++ src/Makefile.am 2016-08-11 11:25:48.000000000 -0400
|
|
@@ -130,7 +130,11 @@
|
|
ski_LDFLAGS =
|
|
endif
|
|
|
|
-ski_LDADD= libski.la -ldl
|
|
+if NETBSD
|
|
+ski_LDFLAGS=
|
|
+endif
|
|
+
|
|
+ski_LDADD= libski.la
|
|
|
|
skiincludedir= $(includedir)/ski-$(SKI_MAJOR_VERSION).$(SKI_MINOR_VERSION)
|
|
skiinclude_HEADERS= \
|
|
@@ -226,6 +230,23 @@
|
|
freebsd_FILES =
|
|
endif
|
|
|
|
+EXTRA_netbsd_FILES= \
|
|
+ netbsd/convert-netbsd.c \
|
|
+ netbsd/dwarf-netbsd.c \
|
|
+ netbsd/firmware-netbsd.c \
|
|
+ netbsd/machdep-netbsd.h \
|
|
+ netbsd/misc-netbsd.c \
|
|
+ netbsd/osload-netbsd.c \
|
|
+ netbsd/signal-netbsd.c \
|
|
+ netbsd/ssc-netbsd.c \
|
|
+ netbsd/syscall-netbsd.c \
|
|
+ netbsd/syscall-netbsd.h
|
|
+
|
|
+if NETBSD
|
|
+netbsd_FILES = $(EXTRA_netbsd_FILES)
|
|
+else
|
|
+netbsd_FILES =
|
|
+endif
|
|
libski_la_SOURCES= \
|
|
$(COMBFNS_DERIVED) \
|
|
$(PREDECODE_DERIVED) \
|
|
@@ -252,6 +273,7 @@
|
|
$(linux_FILES) \
|
|
$(hpux_FILES) \
|
|
$(freebsd_FILES) \
|
|
+ $(netbsd_FILES) \
|
|
libsym.c \
|
|
$(ASM_HASH_DERIVED) \
|
|
$(IADAS_DECODER_DERIVED) \
|
|
@@ -288,6 +310,7 @@
|
|
$(EXTRA_linux_FILES) \
|
|
$(EXTRA_hpux_FILES) \
|
|
$(EXTRA_freebsd_FILES) \
|
|
+ $(EXTRA_netbsd_FILES) \
|
|
netdev.c
|
|
|
|
libski_la_LDFLAGS = \
|