Mercurial > minori
annotate dep/animone/Makefile.am @ 333:5980a960f3e1
translate/anime: use fmt for translating anime seasons
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 17 Jun 2024 20:03:58 -0400 |
parents | ab7ff259b4ca |
children | f63dfa309380 |
rev | line source |
---|---|
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 = \ | |
266
1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
13 include/animone/fd/bsd.h \ |
258 | 14 include/animone/fd/proc.h \ |
15 include/animone/fd/win32.h \ | |
16 include/animone/fd/xnu.h \ | |
17 include/animone/util/win32.h \ | |
18 include/animone/win/quartz.h \ | |
19 include/animone/win/win32.h \ | |
20 include/animone/win/x11.h \ | |
21 include/animone/fd.h \ | |
22 include/animone/strategies.h \ | |
23 include/animone/util.h \ | |
24 include/animone/win.h | |
25 | |
26 if BUILD_WIN | |
27 files_win = src/fd/win32.cc src/win/win32.cc src/util/win32.cc | |
28 libs_win = -lole32 -luuid | |
29 endif | |
30 | |
31 if BUILD_OSX | |
303
ab7ff259b4ca
dep/animone: remove old OS X files from makefile
Paper <paper@paper.us.eu.org>
parents:
266
diff
changeset
|
32 files_osx = src/fd/xnu.cc src/win/quartz.cc |
258 | 33 libs_osx = -lobjc |
34 ldflags_osx = -framework Foundation -framework CoreGraphics -framework ApplicationServices | |
35 endif | |
36 | |
37 if BUILD_LINUX | |
38 files_linux = src/fd/proc.cc | |
39 endif | |
40 | |
266
1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
41 # BSD stuff |
1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
42 if BUILD_BSD |
1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
43 |
1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
44 files_bsd = src/fd/bsd.cc |
1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
45 |
1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
46 endif |
1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
47 |
258 | 48 if BUILD_LIBUTIL |
266
1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
49 |
258 | 50 libs_libutil = -lutil |
266
1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
51 |
258 | 52 endif |
53 | |
54 if BUILD_LIBKVM | |
266
1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
55 |
258 | 56 libs_libkvm = -lkvm |
266
1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
57 |
258 | 58 endif |
59 | |
60 if BUILD_XCB | |
61 files_x11 = src/win/x11.cc | |
62 cflags_x11 = $(XCB_CFLAGS) | |
63 libs_x11 = $(XCB_LIBS) | |
64 endif | |
65 | |
66 EXTRA_DIST = \ | |
67 $(top_srcdir)/data/players.anisthesia | |
68 | |
69 libanimone_la_SOURCES = \ | |
70 src/animone.cc \ | |
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) \ | |
266
1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
79 $(files_bsd) \ |
258 | 80 $(files_x11) \ |
81 $(files_wayland) | |
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 |