blob: 7fbb284ceff22b0838b2e35c23b9e4b58d050880 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
AUTOMAKE_OPTIONS = subdir-objects
EXTRA_DIST = include unix windows
bin_PROGRAMS = terminal-media-launcher
terminal_media_launcher_SOURCES = cache.c draw.c read_cfg.c group.c entry.c $(PLATFORM)/cache.c $(PLATFORM)/draw.c $(PLATFORM)/read_cfg.c
terminal_media_launcher_LDADD = @CURSES_LIBS@ @LUA_LIB@
terminal_media_launcher_CPPFLAGS = @CURSES_CFLAGS@ @LUA_INCLUDE@
if WINDOWS
PLATFORM=windows
# Embed icon
if EMBED_ICON
terminal_media_launcher_SOURCES += icon/$(PACKAGE_NAME).rc icon/$(PACKAGE_NAME).ico
terminal_media_launcher_LDADD += icon/$(PACKAGE_NAME).res
BUILT_SOURCES = icon/$(PACKAGE_NAME).res
CLEANFILES = icon/$(PACKAGE_NAME).res
icon/$(PACKAGE_NAME).res: icon/$(PACKAGE_NAME).ico icon/$(PACKAGE_NAME).rc
$(WINDRES) icon/$(PACKAGE_NAME).rc -O coff -o $@
endif
else
PLATFORM=unix
endif
|