This repository has been archived by the owner on Aug 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.macosxu
50 lines (37 loc) · 1.26 KB
/
Makefile.macosxu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# -*- 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 [email protected] 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 = 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