-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
48 lines (37 loc) · 1.18 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
AUTOMAKE_OPTIONS = foreign
if !SYSTEM_LIBINIPARSER
SUBDIRS = iniparser
endif
ACLOCAL_AMFLAGS = -I m4
M_CPPFLAGS = -DSYSTEM_LIBINIPARSER=@SYSTEM_LIBINIPARSER@
bin_PROGRAMS = bellini
bellini_SOURCES = bellini.c config.c input/common.c input/fifo.c input/shmem.c \
sigproc.c \
output/render.c output/sdlplot.c output/vis.c
bellini_LDFLAGS = -L/usr/local/lib -Wl,-rpath /usr/local/lib
bellini_CPPFLAGS = -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\" \
-D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED
bellini_CFLAGS = -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized
if OSX
bellini_CFLAGS += -DNORT
else
bellini_LDFLAGS += -lrt
endif
if ALSA
bellini_SOURCES += input/alsa.c
endif
if PULSE
bellini_SOURCES += input/pulse.c
endif
if SNDIO
bellini_SOURCES += input/sndio.c
endif
if !SYSTEM_LIBINIPARSER
bellini_LDADD = -liniparser
bellini_SOURCES += iniparser/libiniparser.la
bellini_LDADD += -Liniparser/.libs
bellini_CPPFLAGS += -Iiniparser/src
endif
# freetype hack
bellini_CPPFLAGS += -I/usr/include/freetype2 -I/usr/include
bellini_LDFLAGS += -L/usr/lib -lfreetype