comparison dep/animone/Makefile.am @ 258:862d0d8619f6

*: HUUUGE changes animia has been renamed to animone, so instead of thinking of a health condition, you think of a beautiful flower :) I've also edited some of the code for animone, but I have no idea if it even works or not because I don't have a mac or windows machine lying around. whoops! ... anyway, all of the changes divergent from Anisthesia are now licensed under BSD. it's possible that I could even rewrite most of the code to where I don't even have to keep the MIT license, but that's thinking too far into the future I've been slacking off on implementing the anime seasons page, mostly out of laziness. I think I'd have to create another db file specifically for the seasons anyway, this code is being pushed *primarily* because the hard drive it's on is failing! yay :)
author Paper <paper@paper.us.eu.org>
date Mon, 01 Apr 2024 02:43:44 -0400
parents
children 1a6a5d3a94cd
comparison
equal deleted inserted replaced
257:699a20c57dc8 258:862d0d8619f6
1 lib_LTLIBRARIES = libanimone.la
2
3 include_HEADERS = \
4 include/animone.h
5
6 animiadir = $(includedir)/animone
7 nobase_animia_HEADERS = \
8 include/animone/media.h \
9 include/animone/player.h \
10 include/animone/types.h
11
12 noinst_HEADERS = \
13 include/animone/fd/kvm.h \
14 include/animone/fd/proc.h \
15 include/animone/fd/win32.h \
16 include/animone/fd/xnu.h \
17 include/animone/util/osx.h \
18 include/animone/util/win32.h \
19 include/animone/win/quartz.h \
20 include/animone/win/win32.h \
21 include/animone/win/x11.h \
22 include/animone/fd.h \
23 include/animone/strategies.h \
24 include/animone/util.h \
25 include/animone/win.h
26
27 if BUILD_WIN
28 files_win = src/fd/win32.cc src/win/win32.cc src/util/win32.cc
29 libs_win = -lole32 -luuid
30 endif
31
32 if BUILD_OSX
33 files_osx = src/fd/xnu.cc src/win/quartz.cc src/util/osx.cc
34 libs_osx = -lobjc
35 ldflags_osx = -framework Foundation -framework CoreGraphics -framework ApplicationServices
36 endif
37
38 if BUILD_LINUX
39 files_linux = src/fd/proc.cc
40 endif
41
42 # these should be in standard locations anyway
43 if BUILD_LIBUTIL
44 libs_libutil = -lutil
45 endif
46
47 if BUILD_LIBKVM
48 files_libkvm = src/fd/kvm.cc
49 libs_libkvm = -lkvm
50 endif
51
52 if BUILD_XCB
53 files_x11 = src/win/x11.cc
54 cflags_x11 = $(XCB_CFLAGS)
55 libs_x11 = $(XCB_LIBS)
56 endif
57
58 EXTRA_DIST = \
59 $(top_srcdir)/data/players.anisthesia
60
61 libanimone_la_SOURCES = \
62 src/animone.cc \
63 src/fd.cc \
64 src/player.cc \
65 src/strategist.cc \
66 src/util.cc \
67 src/win.cc \
68 $(files_win) \
69 $(files_osx) \
70 $(files_linux) \
71 $(files_libutil) \
72 $(files_libkvm) \
73 $(files_x11) \
74 $(files_wayland)
75
76 libanimone_la_CPPFLAGS = -I$(top_srcdir)/include $(DEFS)
77
78 libanimone_la_CXXFLAGS = -std=c++17 $(cflags_osx) $(cflags_x11) $(cflags_wayland)
79 libanimone_la_LDFLAGS = -version-info 0:0:0 $(ldflags_osx)
80
81 libanimone_la_LIBADD = $(libs_win) $(libs_wayland) $(libs_x11) $(libs_osx) $(libs_libutil) $(libs_libkvm)
82
83 ACLOCAL_AMFLAGS = -I m4