blob: e4678ba065ae3f24f75367cad6d6fac131e07787 (
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
27
28
29
30
31
32
33
34
35
36
37
38
|
include ../../extra.mk
PROG = audacious${PROG_SUFFIX}
SRCS = main.cc \
signals.cc \
util.cc
ifeq ($(HAVE_MSWINDOWS),yes)
SRCS += audacious.rc
endif
ifeq ($(USE_DBUS),yes)
SRCS += dbus-server.cc
EXT_DEPS += ../dbus/aud-dbus.a
endif
include ../../buildsys.mk
ifeq ($(USE_DBUS),yes)
CPPFLAGS := -I../dbus ${CPPFLAGS} ${GIO_CFLAGS}
LIBS := ../dbus/aud-dbus.a ${LIBS} ${GIO_LIBS}
endif
LD = ${CXX}
CPPFLAGS := -I.. -I../.. \
${CPPFLAGS} \
${GLIB_CFLAGS}
LIBS := -L../libaudcore -laudcore \
${LIBS} -lm \
${LIBINTL} \
${GLIB_LIBS}
ifeq ($(HAVE_MSWINDOWS),yes)
LDFLAGS := ${LDFLAGS} -Wl,-subsystem,windows
endif
|