diff dep/animone/Makefile.am @ 338:f63dfa309380

dep/animone: separate *BSD into separate files they are wholly different operating systems with very different kernels on the inside
author Paper <paper@paper.us.eu.org>
date Wed, 19 Jun 2024 13:06:10 -0400
parents ab7ff259b4ca
children 74e2365326c6
line wrap: on
line diff
--- a/dep/animone/Makefile.am	Wed Jun 19 12:51:15 2024 -0400
+++ b/dep/animone/Makefile.am	Wed Jun 19 13:06:10 2024 -0400
@@ -10,7 +10,9 @@
 	include/animone/types.h
 
 noinst_HEADERS = \
-	include/animone/fd/bsd.h \
+	include/animone/fd/freebsd.h \
+	include/animone/fd/openbsd.h \
+	include/animone/fd/netbsd.h \
 	include/animone/fd/proc.h \
 	include/animone/fd/win32.h \
 	include/animone/fd/xnu.h \
@@ -38,22 +40,17 @@
 files_linux = src/fd/proc.cc
 endif
 
-# BSD stuff
-if BUILD_BSD
+if BUILD_FREEBSD
 
-files_bsd = src/fd/bsd.cc
+files_freebsd = src/fd/freebsd.cc
+libs_freebsd = -lutil
 
 endif
 
-if BUILD_LIBUTIL
-
-libs_libutil = -lutil
+if BUILD_OPENBSD
 
-endif
-
-if BUILD_LIBKVM
-
-libs_libkvm = -lkvm
+files_openbsd = src/fd/openbsd.cc
+libs_openbsd = -lkvm
 
 endif
 
@@ -76,9 +73,9 @@
 	$(files_win) \
 	$(files_osx) \
 	$(files_linux) \
-	$(files_bsd) \
-	$(files_x11) \
-	$(files_wayland)
+	$(files_freebsd) \
+	$(files_openbsd) \
+	$(files_x11)
 
 libanimone_la_CPPFLAGS = -I$(top_srcdir)/include $(DEFS)