# -*- Mode: Makefile; -*- # C&C NLP tools # Copyright (c) Universities of Edinburgh, Oxford and Sydney # Copyright (c) James R. Curran # # This software is covered by a non-commercial use licence. # See LICENCE.txt for the full text of the licence. # # If LICENCE.txt is not included in this distribution # please email candc@it.usyd.edu.au to obtain a copy. PORT = unix PORT_OBJS = src/lib/ports/unix.o src/lib/ports/unix_common.o src/lib/ports/colour.o CC = gcc CFLAGS = -W -Wall -Wextra -fPIC -O3 $(INC) CXX = g++ CXXFLAGS = $(CFLAGS) LD=$(CXX) LDFLAGS = -fPIC DEPEND = $(CC) $(INC) INC = -Isrc/include -isystem ext/include LIBS = -Llib -lm -Lext/lib SOAP_INC = $(INC) SOAP_LIBS = $(LIBS) -lgsoap++ SOAP_CPP = ext/bin/soapcpp2 SOAP_CXXFLAGS = $(CXXFLAGS) $(SOAP_INC) SOAP_LDFLAGS = $(LDFLAGS) PYTHON = python2.7 SHAREDLIB = so LIB_LDFLAGS = -shared $(LDFLAGS) PY_INC = -isystem ext/include -isystem /usr/include/$(PYTHON) PY_LIBS = $(LIBS) -lcandc -Lext/lib -lboost_python PY_CXXFLAGS = $(CXXFLAGS) $(PY_INC) PY_LDFLAGS = -shared $(LDFLAGS) MPIXX = /usr/bin/mpicxx MPI_CXXFLAGS = $(CXXFLAGS) -DMPICH_IGNORE_CXX_SEEK MPI_LIBS = $(LIBS) -lboost_mpi -lboost_serialization -lmrmpi LEX = flex PROLOG = bin/swipl include Makefile.targets