258
|
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
|