# -*- 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 = macosxu PORT_OBJS = src/lib/ports/bsd.o src/lib/ports/unix_common.o src/lib/ports/colour.o CC = gcc CFLAGS = -Wall -fno-common -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -O3 $(INC) CXX = g++ CXXFLAGS = $(CFLAGS) LD=$(CXX) LDFLAGS = -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 DEPEND = $(CC) $(INC) INC = -Isrc/include LIBS = -Llib -lm SOAP_INC = -Iext/include SOAP_LIBS = $(LIBS) -Lext/lib -lgsoap++ SOAP_CPP = ext/bin/soapcpp2 SOAP_CXXFLAGS = $(CXXFLAGS) $(SOAP_INC) SOAP_LDFLAGS = $(LDFLAGS) PYTHON = python2.4 SHAREDLIB = dylib LIB_LDFLAGS = -dynamiclib $(LDFLAGS) PY_INC = -Iext/include -I/Library/Frameworks/Python.framework/Versions/Current/include/python2.4 PY_LIBS = $(LIBS) -lcandc -Lext/lib -lboost_python-1_33_1 -framework Python PY_CXXFLAGS = $(CXXFLAGS) -fPIC $(PY_INC) PY_LDFLAGS = -bundle $(LDFLAGS) MPIXX = mpicxx LEX = flex PROLOG = swipl include Makefile.targets