Skip to content

Commit

Permalink
Disable optional dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioAriasGa committed Sep 29, 2014
1 parent 0d7eca2 commit 8ce4a51
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions hdt-lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ OS := $(shell uname)
LIBCDSPATH = ../libcds-v1.0.12

# Uncomment here to enable optional dependencies
RAPTOR_SUPPORT=true
#RAPTOR_SUPPORT=true
#KYOTO_SUPPORT=true
LIBZ_SUPPORT=true
SERD_SUPPORT=true
#SERD_SUPPORT=true

CPP=g++
FLAGS=-O3 -Wno-deprecated
Expand All @@ -17,28 +17,28 @@ DEFINES=
LIB=$(LIBCDSPATH)/lib/libcds.a -L/usr/local/lib -lstdc++

ifeq ($(RAPTOR_SUPPORT), true)
DEFINES:=$(DEFINES) -DUSE_RAPTOR
DEFINES:=$(DEFINES) -DHAVE_RAPTOR
LIB:=$(LIB) -lraptor2
endif

ifeq ($(KYOTO_SUPPORT), true)
DEFINES:=$(DEFINES) -DUSE_KYOTO
DEFINES:=$(DEFINES) -DHAVE_KYOTO
LIB:=$(LIB) -lkyotocabinet
endif

ifeq ($(LIBZ_SUPPORT), true)
DEFINES:=$(DEFINES) -DUSE_LIBZ
DEFINES:=$(DEFINES) -DHAVE_LIBZ
LIB:=$(LIB) -lz
endif

ifeq ($(SERD_SUPPORT), true)
DEFINES:=$(DEFINES) -DUSE_SERD
DEFINES:=$(DEFINES) -DHAVE_SERD
LIB:=$(LIB) -lserd-0
endif

ifeq ($(OS), Darwin)
CPP=clang++
FLAGS:=$(FLAGS) -arch x86_64 -msse4.2
FLAGS:=$(FLAGS) -arch x86_64
endif

ifeq ($(CPP), g++)
Expand Down

0 comments on commit 8ce4a51

Please sign in to comment.