File: makefile.conf

package info (click to toggle)
gpsshogi 0.7.0-3.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 111,280 kB
  • sloc: cpp: 80,962; perl: 12,610; ruby: 3,929; javascript: 1,631; makefile: 1,202; sh: 473; tcl: 166; ansic: 67
file content (22 lines) | stat: -rw-r--r-- 837 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#OSL_HOME = $(GPSSHOGI_HOME)/../osl
-include $(GPSSHOGI_HOME)/makefile.local
-include $(OSL_HOME)/makefile.local
USE_GCH = 0
include $(OSL_HOME)/makefile.conf

GPSSHOGI_REVISION_H = $(GPSSHOGI_HOME)/include/gpsshogi/revision.h
LOADLIBES += -losl $(BOOST_LIBS) -lboost_program_options $(LDLIBS) $(PTHREAD_LIBS)
INCLUDES += -I$(GPSSHOGI_HOME)/include

ifdef CXX_HOME
QMAKEPATH ?= $(CXX_HOME)/bin/
QMAKEENV ?= "PATH=$(CXX_HOME)/bin/:$$PATH"
endif

# XXX:
OSL_HOME_QT = $(subst ..,../../..,$(OSL_HOME))

QMAKEARG = OSL_MALLOC=$(OSL_MALLOC) BOOST_POSTFIX=$(BOOST_POSTFIX) BOOST_POSTFIX_MT=$(BOOST_POSTFIX_MT) TCMALLOC=$(TCMALLOC) OSL_HOME_QT=$(OSL_HOME_QT) USE_TOKYO_CABINET=$(USE_TOKYO_CABINET) PROTOBUF=$(PROTOBUF) ADDITIONAL_LIBS="$(LOADLIBES)"
ifneq ($(GXX),'')
QMAKEARG += QMAKE_CXX="$(CXX)" QMAKE_GXX="$(GXX)" QMAKE_LINK="$(GXX)"
endif