Mercurial > minori
view dep/animone/Makefile.am @ 337:a7d4e5107531
dep/animone: REFACTOR ALL THE THINGS
1: animone now has its own syntax divergent from anisthesia,
making different platforms actually have their own sections
2: process names in animone are now called `comm' (this will
probably break things). this is what its called in bsd/linux
so I'm just going to use it everywhere
3: the X11 code now checks for the existence of a UTF-8 window title
and passes it if available
4: ANYTHING THATS NOT LINUX IS 100% UNTESTED AND CAN AND WILL BREAK!
I still actually need to test the bsd code. to be honest I'm probably
going to move all of the bsds into separate files because they're
all essentially different operating systems at this point
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 19 Jun 2024 12:51:15 -0400 |
parents | ab7ff259b4ca |
children | f63dfa309380 |
line wrap: on
line source
lib_LTLIBRARIES = libanimone.la include_HEADERS = \ include/animone.h animiadir = $(includedir)/animone nobase_animia_HEADERS = \ include/animone/media.h \ include/animone/player.h \ include/animone/types.h noinst_HEADERS = \ include/animone/fd/bsd.h \ include/animone/fd/proc.h \ include/animone/fd/win32.h \ include/animone/fd/xnu.h \ include/animone/util/win32.h \ include/animone/win/quartz.h \ include/animone/win/win32.h \ include/animone/win/x11.h \ include/animone/fd.h \ include/animone/strategies.h \ include/animone/util.h \ include/animone/win.h if BUILD_WIN files_win = src/fd/win32.cc src/win/win32.cc src/util/win32.cc libs_win = -lole32 -luuid endif if BUILD_OSX files_osx = src/fd/xnu.cc src/win/quartz.cc libs_osx = -lobjc ldflags_osx = -framework Foundation -framework CoreGraphics -framework ApplicationServices endif if BUILD_LINUX files_linux = src/fd/proc.cc endif # BSD stuff if BUILD_BSD files_bsd = src/fd/bsd.cc endif if BUILD_LIBUTIL libs_libutil = -lutil endif if BUILD_LIBKVM libs_libkvm = -lkvm endif if BUILD_XCB files_x11 = src/win/x11.cc cflags_x11 = $(XCB_CFLAGS) libs_x11 = $(XCB_LIBS) endif EXTRA_DIST = \ $(top_srcdir)/data/players.anisthesia libanimone_la_SOURCES = \ src/animone.cc \ src/fd.cc \ src/player.cc \ src/strategist.cc \ src/util.cc \ src/win.cc \ $(files_win) \ $(files_osx) \ $(files_linux) \ $(files_bsd) \ $(files_x11) \ $(files_wayland) libanimone_la_CPPFLAGS = -I$(top_srcdir)/include $(DEFS) libanimone_la_CXXFLAGS = -std=c++17 $(cflags_osx) $(cflags_x11) $(cflags_wayland) libanimone_la_LDFLAGS = -version-info 0:0:0 $(ldflags_osx) libanimone_la_LIBADD = $(libs_win) $(libs_wayland) $(libs_x11) $(libs_osx) $(libs_libutil) $(libs_libkvm) ACLOCAL_AMFLAGS = -I m4