1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-26 14:03:27 +01:00

update makefile checks

This commit is contained in:
Jfreegman 2014-09-22 21:51:55 -04:00
parent 133c0e8d63
commit 773a75b948
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Variables for audio call support # Variables for audio call support
AUDIO_LIBS = libtoxav openal AUDIO_LIBS = libtoxav openal
AUDIO_CFLAGS = -D_AUDIO AUDIO_CFLAGS = -DAUDIO
ifneq (, $(findstring device.o, $(OBJ))) ifneq (, $(findstring device.o, $(OBJ)))
AUDIO_OBJ = audio_call.o AUDIO_OBJ = audio_call.o
else else

View File

@ -1,6 +1,6 @@
# Variables for desktop notifications support # Variables for desktop notifications support
DESK_NOTIFY_LIBS = libnotify DESK_NOTIFY_LIBS = libnotify
DESK_NOTIFY_CFLAGS = -D_BOX_NOTIFY DESK_NOTIFY_CFLAGS = -DBOX_NOTIFY
# Check if we can build desktop notifications support # Check if we can build desktop notifications support
CHECK_DESK_NOTIFY_LIBS = $(shell pkg-config --exists $(DESK_NOTIFY_LIBS) || echo -n "error") CHECK_DESK_NOTIFY_LIBS = $(shell pkg-config --exists $(DESK_NOTIFY_LIBS) || echo -n "error")

View File

@ -1,6 +1,6 @@
# Variables for sound notifications support # Variables for sound notifications support
SND_NOTIFY_LIBS = openal freealut SND_NOTIFY_LIBS = openal freealut
SND_NOTIFY_CFLAGS = -D_SOUND_NOTIFY SND_NOTIFY_CFLAGS = -DSOUND_NOTIFY
ifneq (, $(findstring device.o, $(OBJ))) ifneq (, $(findstring device.o, $(OBJ)))
SND_NOTIFY_OBJ = SND_NOTIFY_OBJ =
else else

View File

@ -1,6 +1,6 @@
# Variables for X11 support # Variables for X11 support
X11_LIBS = x11 X11_LIBS = x11
X11_CFLAGS = -D_X11 X11_CFLAGS = -DX11
# Check if we can build X11 support # Check if we can build X11 support
CHECK_X11_LIBS = $(shell pkg-config --exists $(X11_LIBS) || echo -n "error") CHECK_X11_LIBS = $(shell pkg-config --exists $(X11_LIBS) || echo -n "error")