This repository has been archived by the owner on Jan 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.am
65 lines (57 loc) · 1.49 KB
/
Makefile.am
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
DIST_SUBDIRS = m4 po data
SUBDIRS = po data
AUTOMAKE_OPTIONS=foreign subdir-objects
CXXFLAGS=-std=c++11
#CC=clang
#CXX=clang++
# Define a C macro LOCALEDIR indicating where catalogs will be installed.
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
bin_PROGRAMS = kissplayer
kissplayer_CPPFLAGS = $(LIBSIGC_CFLAGS)
kissplayer_LDADD = $(LIBSIGC_LIBS)
kissplayer_SOURCES = src/dao.cpp \
src/configuration.cpp \
src/images.cpp \
src/locale.cpp \
src/lyrics_fetcher.cpp \
src/main.cpp \
src/music.cpp \
src/playlist.cpp \
src/signals.cpp \
src/sound.cpp \
src/sync.cpp \
src/util.cpp \
src/tinycthread.c \
src/window_about.cpp \
src/window_loading.cpp \
src/window_main.cpp \
src/window_settings.cpp \
src/widget/ksp_browser.cpp \
src/widget/ksp_check_button.cpp \
src/widget/ksp_menu_item.cpp \
src/widget/ksp_slider.cpp \
src/widget/ksp_tile.cpp \
src/widget/ksp_volume_controller.cpp
EXTRA_DIST = img/kiss.ico \
img/img_thumb_buttons.bmp \
src/*.h \
src/linux/icon.xpm \
src/widget/*.h \
src/win/*.rc
####################################
# Windows Specific
####################################
if WINDOWS
kissplayer_LDFLAGS = -mwindows
kissplayer_CPPFLAGS += -DCURL_STATICLIB -DWIN32 -D__CYGWIN32__
kissplayer_SOURCES += src/win/windows_specific.cpp \
src/win/kiss.rc
.rc.o:
windres -i $< -O coff -o $@
endif
####################################
# Linux Specific
####################################
if LINUX
kissplayer_SOURCES += src/linux/linux_specific.cpp
endif