Mercurial > libanimone
annotate Makefile.am @ 23:1cfa7d57c022
dep/animone: add experimental accessibility strategy
I also moved most of the functions out of util/win32.cc, because that
file is meant for things that are shared between the different functions,
and currently that is only wide string conversion helpers.
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Wed, 19 Jun 2024 23:13:55 -0400 |
| parents | bc22d57076e3 |
| children | 60ded877339b |
| rev | line source |
|---|---|
| 0 | 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 = \ | |
|
23
1cfa7d57c022
dep/animone: add experimental accessibility strategy
Paper <paper@paper.us.eu.org>
parents:
22
diff
changeset
|
13 include/animone/a11y/win32.h \ |
|
22
bc22d57076e3
dep/animone: separate *BSD into separate files
Paper <paper@paper.us.eu.org>
parents:
16
diff
changeset
|
14 include/animone/fd/freebsd.h \ |
|
bc22d57076e3
dep/animone: separate *BSD into separate files
Paper <paper@paper.us.eu.org>
parents:
16
diff
changeset
|
15 include/animone/fd/openbsd.h \ |
|
bc22d57076e3
dep/animone: separate *BSD into separate files
Paper <paper@paper.us.eu.org>
parents:
16
diff
changeset
|
16 include/animone/fd/netbsd.h \ |
| 0 | 17 include/animone/fd/proc.h \ |
| 18 include/animone/fd/win32.h \ | |
| 19 include/animone/fd/xnu.h \ | |
| 20 include/animone/util/win32.h \ | |
| 21 include/animone/win/quartz.h \ | |
| 22 include/animone/win/win32.h \ | |
| 23 include/animone/win/x11.h \ | |
|
23
1cfa7d57c022
dep/animone: add experimental accessibility strategy
Paper <paper@paper.us.eu.org>
parents:
22
diff
changeset
|
24 include/animone/a11y.h \ |
| 0 | 25 include/animone/fd.h \ |
| 26 include/animone/strategies.h \ | |
| 27 include/animone/util.h \ | |
| 28 include/animone/win.h | |
| 29 | |
| 30 if BUILD_WIN | |
|
23
1cfa7d57c022
dep/animone: add experimental accessibility strategy
Paper <paper@paper.us.eu.org>
parents:
22
diff
changeset
|
31 files_win = src/a11y/win32.cc src/fd/win32.cc src/win/win32.cc src/util/win32.cc |
| 0 | 32 libs_win = -lole32 -luuid |
| 33 endif | |
| 34 | |
| 35 if BUILD_OSX | |
|
16
4aac2abd0c25
dep/animone: remove old OS X files from makefile
Paper <paper@paper.us.eu.org>
parents:
2
diff
changeset
|
36 files_osx = src/fd/xnu.cc src/win/quartz.cc |
| 0 | 37 libs_osx = -lobjc |
| 38 ldflags_osx = -framework Foundation -framework CoreGraphics -framework ApplicationServices | |
| 39 endif | |
| 40 | |
| 41 if BUILD_LINUX | |
| 42 files_linux = src/fd/proc.cc | |
| 43 endif | |
| 44 | |
|
22
bc22d57076e3
dep/animone: separate *BSD into separate files
Paper <paper@paper.us.eu.org>
parents:
16
diff
changeset
|
45 if BUILD_FREEBSD |
|
2
97ea6a3e1954
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
0
diff
changeset
|
46 |
|
22
bc22d57076e3
dep/animone: separate *BSD into separate files
Paper <paper@paper.us.eu.org>
parents:
16
diff
changeset
|
47 files_freebsd = src/fd/freebsd.cc |
|
bc22d57076e3
dep/animone: separate *BSD into separate files
Paper <paper@paper.us.eu.org>
parents:
16
diff
changeset
|
48 libs_freebsd = -lutil |
|
2
97ea6a3e1954
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
0
diff
changeset
|
49 |
|
97ea6a3e1954
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
0
diff
changeset
|
50 endif |
|
97ea6a3e1954
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
0
diff
changeset
|
51 |
|
22
bc22d57076e3
dep/animone: separate *BSD into separate files
Paper <paper@paper.us.eu.org>
parents:
16
diff
changeset
|
52 if BUILD_OPENBSD |
|
2
97ea6a3e1954
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
0
diff
changeset
|
53 |
|
22
bc22d57076e3
dep/animone: separate *BSD into separate files
Paper <paper@paper.us.eu.org>
parents:
16
diff
changeset
|
54 files_openbsd = src/fd/openbsd.cc |
|
bc22d57076e3
dep/animone: separate *BSD into separate files
Paper <paper@paper.us.eu.org>
parents:
16
diff
changeset
|
55 libs_openbsd = -lkvm |
|
2
97ea6a3e1954
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
0
diff
changeset
|
56 |
| 0 | 57 endif |
| 58 | |
| 59 if BUILD_XCB | |
| 60 files_x11 = src/win/x11.cc | |
| 61 cflags_x11 = $(XCB_CFLAGS) | |
| 62 libs_x11 = $(XCB_LIBS) | |
| 63 endif | |
| 64 | |
| 65 EXTRA_DIST = \ | |
| 66 $(top_srcdir)/data/players.anisthesia | |
| 67 | |
| 68 libanimone_la_SOURCES = \ | |
| 69 src/animone.cc \ | |
|
23
1cfa7d57c022
dep/animone: add experimental accessibility strategy
Paper <paper@paper.us.eu.org>
parents:
22
diff
changeset
|
70 src/a11y.cc \ |
| 0 | 71 src/fd.cc \ |
| 72 src/player.cc \ | |
| 73 src/strategist.cc \ | |
| 74 src/util.cc \ | |
| 75 src/win.cc \ | |
| 76 $(files_win) \ | |
| 77 $(files_osx) \ | |
| 78 $(files_linux) \ | |
|
22
bc22d57076e3
dep/animone: separate *BSD into separate files
Paper <paper@paper.us.eu.org>
parents:
16
diff
changeset
|
79 $(files_freebsd) \ |
|
bc22d57076e3
dep/animone: separate *BSD into separate files
Paper <paper@paper.us.eu.org>
parents:
16
diff
changeset
|
80 $(files_openbsd) \ |
|
bc22d57076e3
dep/animone: separate *BSD into separate files
Paper <paper@paper.us.eu.org>
parents:
16
diff
changeset
|
81 $(files_x11) |
| 0 | 82 |
| 83 libanimone_la_CPPFLAGS = -I$(top_srcdir)/include $(DEFS) | |
| 84 | |
| 85 libanimone_la_CXXFLAGS = -std=c++17 $(cflags_osx) $(cflags_x11) $(cflags_wayland) | |
| 86 libanimone_la_LDFLAGS = -version-info 0:0:0 $(ldflags_osx) | |
| 87 | |
| 88 libanimone_la_LIBADD = $(libs_win) $(libs_wayland) $(libs_x11) $(libs_osx) $(libs_libutil) $(libs_libkvm) | |
| 89 | |
| 90 ACLOCAL_AMFLAGS = -I m4 |
