Mercurial > minori
comparison 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 |
comparison
equal
deleted
inserted
replaced
337:a7d4e5107531 | 338:f63dfa309380 |
---|---|
8 include/animone/media.h \ | 8 include/animone/media.h \ |
9 include/animone/player.h \ | 9 include/animone/player.h \ |
10 include/animone/types.h | 10 include/animone/types.h |
11 | 11 |
12 noinst_HEADERS = \ | 12 noinst_HEADERS = \ |
13 include/animone/fd/bsd.h \ | 13 include/animone/fd/freebsd.h \ |
14 include/animone/fd/openbsd.h \ | |
15 include/animone/fd/netbsd.h \ | |
14 include/animone/fd/proc.h \ | 16 include/animone/fd/proc.h \ |
15 include/animone/fd/win32.h \ | 17 include/animone/fd/win32.h \ |
16 include/animone/fd/xnu.h \ | 18 include/animone/fd/xnu.h \ |
17 include/animone/util/win32.h \ | 19 include/animone/util/win32.h \ |
18 include/animone/win/quartz.h \ | 20 include/animone/win/quartz.h \ |
36 | 38 |
37 if BUILD_LINUX | 39 if BUILD_LINUX |
38 files_linux = src/fd/proc.cc | 40 files_linux = src/fd/proc.cc |
39 endif | 41 endif |
40 | 42 |
41 # BSD stuff | 43 if BUILD_FREEBSD |
42 if BUILD_BSD | |
43 | 44 |
44 files_bsd = src/fd/bsd.cc | 45 files_freebsd = src/fd/freebsd.cc |
46 libs_freebsd = -lutil | |
45 | 47 |
46 endif | 48 endif |
47 | 49 |
48 if BUILD_LIBUTIL | 50 if BUILD_OPENBSD |
49 | 51 |
50 libs_libutil = -lutil | 52 files_openbsd = src/fd/openbsd.cc |
51 | 53 libs_openbsd = -lkvm |
52 endif | |
53 | |
54 if BUILD_LIBKVM | |
55 | |
56 libs_libkvm = -lkvm | |
57 | 54 |
58 endif | 55 endif |
59 | 56 |
60 if BUILD_XCB | 57 if BUILD_XCB |
61 files_x11 = src/win/x11.cc | 58 files_x11 = src/win/x11.cc |
74 src/util.cc \ | 71 src/util.cc \ |
75 src/win.cc \ | 72 src/win.cc \ |
76 $(files_win) \ | 73 $(files_win) \ |
77 $(files_osx) \ | 74 $(files_osx) \ |
78 $(files_linux) \ | 75 $(files_linux) \ |
79 $(files_bsd) \ | 76 $(files_freebsd) \ |
80 $(files_x11) \ | 77 $(files_openbsd) \ |
81 $(files_wayland) | 78 $(files_x11) |
82 | 79 |
83 libanimone_la_CPPFLAGS = -I$(top_srcdir)/include $(DEFS) | 80 libanimone_la_CPPFLAGS = -I$(top_srcdir)/include $(DEFS) |
84 | 81 |
85 libanimone_la_CXXFLAGS = -std=c++17 $(cflags_osx) $(cflags_x11) $(cflags_wayland) | 82 libanimone_la_CXXFLAGS = -std=c++17 $(cflags_osx) $(cflags_x11) $(cflags_wayland) |
86 libanimone_la_LDFLAGS = -version-info 0:0:0 $(ldflags_osx) | 83 libanimone_la_LDFLAGS = -version-info 0:0:0 $(ldflags_osx) |