summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-10-30 13:00:10 +0000
committerphintuka <phintuka>2008-10-30 13:00:10 +0000
commitd50abd0de675930279f89a5fa0891f29dd8ce8a1 (patch)
tree0a796f43f0518e8c045b398cab6bd7ff00ab015c
parentd3e26e5b9146e40e33b6a6d445c1d292bde2148d (diff)
downloadxineliboutput-d50abd0de675930279f89a5fa0891f29dd8ce8a1.tar.gz
xineliboutput-d50abd0de675930279f89a5fa0891f29dd8ce8a1.tar.bz2
Build system update:
APPLE_DARWIN -> ARCH_APPLE_DARWIN
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index fc96b54a..4a71b68a 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
# See the main source file 'xineliboutput.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile,v 1.44 2008-10-30 12:36:36 phintuka Exp $
+# $Id: Makefile,v 1.45 2008-10-30 13:00:10 phintuka Exp $
#
# The official name of this plugin.
@@ -26,7 +26,7 @@ HAVE_XRANDR = no
HAVE_XDPMS = no
HAVE_XINERAMA = no
HAVE_LIBEXTRACTOR = no
-APPLE_DARWIN = no
+ARCH_APPLE_DARWIN = no
XINELIBOUTPUT_XINEPLUGIN = no
# check for xine-lib
@@ -76,7 +76,7 @@ endif
# check for Apple Darwin
ifeq ($(shell gcc -dumpmachine | grep -q 'apple-darwin' && echo "1" || echo "0"), 1)
- APPLE_DARWIN = yes
+ ARCH_APPLE_DARWIN = yes
endif
#
@@ -112,7 +112,7 @@ CXX ?= g++
CC ?= gcc
OPTFLAGS ?=
-ifeq ($(APPLE_DARWIN), yes)
+ifeq ($(ARCH_APPLE_DARWIN), yes)
CXXFLAGS ?= -O3 -pipe -Wall -Woverloaded-virtual -fPIC -g -fno-common -bundle -flat_namespace -undefined suppress
CFLAGS ?= -O3 -pipe -Wall -fPIC -g -fno-common -bundle -flat_namespace -undefined suppress
LDFLAGS_SO ?= -fvisibility=hidden
@@ -149,7 +149,7 @@ VDRINCDIR ?= $(VDRDIR)/include
### check for VDR
###
-ifeq ($(APPLE_DARWIN), yes)
+ifeq ($(ARCH_APPLE_DARWIN), yes)
VDRVERSION = $(shell sed -ne '/define VDRVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)
APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)
else
@@ -257,7 +257,7 @@ ifeq ($(HAVE_XINERAMA), yes)
LIBS_X11 += -lXinerama
endif
-ifeq ($(APPLE_DARWIN), yes)
+ifeq ($(ARCH_APPLE_DARWIN), yes)
INCLUDES += -I/sw/include
LIBDIRS += -L/sw/lib
LIBS += $(LIBDIRS) -ljpeg -liconv