Makefile lines for building with libvpx from Macports on OSX

git-svn-id: https://svn.eduke32.com/eduke32@2047 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2011-09-28 20:31:59 +00:00
parent 58fc90f77d
commit 2603acd340

View file

@ -57,6 +57,17 @@ EBACKTRACEDLL_TARGET=
include $(EROOT)/Makefile.shared include $(EROOT)/Makefile.shared
ifneq (0,$(USE_LIBVPX))
ifeq ($(PLATFORM),WINDOWS)
LIBS+= -LWindows/lib
OURCFLAGS+= -IWindows/include
endif
ifeq ($(PLATFORM),DARWIN)
# vpx headers and lib from 'port install libvpx'
LIBS+= -L/opt/local/lib
OURCFLAGS+= -I/opt/local/include
endif
endif
ifeq ($(PLATFORM),WINDOWS) ifeq ($(PLATFORM),WINDOWS)
OBJ=obj_win OBJ=obj_win
@ -65,10 +76,6 @@ ifeq ($(PLATFORM),WINDOWS)
ifeq (0,$(RELEASE)) ifeq (0,$(RELEASE))
EBACKTRACEDLL_TARGET=$(EBACKTRACEDLL) EBACKTRACEDLL_TARGET=$(EBACKTRACEDLL)
endif endif
ifneq (0,$(USE_LIBVPX))
LIBS+= -LWindows/lib
OURCFLAGS+= -IWindows/include
endif
else else
ifeq ($(PLATFORM),LINUX) ifeq ($(PLATFORM),LINUX)
LIBS+= -ldl -pthread LIBS+= -ldl -pthread