Skip to content

Commit

Permalink
Latest stage of the C&C SVN (2614M).
Browse files Browse the repository at this point in the history
  • Loading branch information
chrzyki committed Feb 13, 2018
1 parent 5ac6225 commit 1d64823
Show file tree
Hide file tree
Showing 870 changed files with 813,482 additions and 10,111 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Compiled Object files
*.slo
*.lo
*.o
# *.o
*.obj

# Precompiled Headers
Expand All @@ -28,5 +28,5 @@

# Executables
*.exe
*.out
# *.out
*.app
52 changes: 52 additions & 0 deletions candc/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# -*- 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 = swipl

include Makefile.targets
6,163 changes: 3,294 additions & 2,869 deletions candc/Makefile.deps

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions candc/Makefile.macosx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ PORT = macosx
PORT_OBJS = src/lib/ports/bsd.o src/lib/ports/unix_common.o src/lib/ports/colour.o

CC = gcc
CFLAGS = -Wall -O3 -fno-common $(INC)
CFLAGS = -Wall -Wextra -O3 -fno-common $(INC)

CXX = g++
CXXFLAGS = $(CFLAGS)
Expand All @@ -31,13 +31,13 @@ SOAP_CPP = ext/bin/soapcpp2
SOAP_CXXFLAGS = $(CXXFLAGS) $(SOAP_INC)
SOAP_LDFLAGS = $(LDFLAGS)

PYTHON = python2.4
PYTHON = python2.6

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_INC = -Iext/include -I/Library/Frameworks/Python.framework/Versions/Current/include/$(PYTHON)
PY_LIBS = $(LIBS) -lcandc -Lext/lib -lboost_python -framework Python
PY_CXXFLAGS = $(CXXFLAGS) -fPIC $(PY_INC)
PY_LDFLAGS = -bundle $(LDFLAGS)

Expand Down
2 changes: 1 addition & 1 deletion candc/Makefile.sunos
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ MPIXX = mpicxx

LEX = flex

PROLOG = pl
PROLOG = swipl

include Makefile.targets
Loading

0 comments on commit 1d64823

Please sign in to comment.