2003-09-10 10:48:31 +02:00
|
|
|
####################################
|
|
|
|
# ARABICA CONFIG
|
|
|
|
# edit for your parser choice - may include more than one USE_*
|
2005-06-08 23:45:07 +02:00
|
|
|
PARSER_CONFIG = -DUSE_LIBXML2 -DARABICA_NO_WCHAR_T
|
2003-09-10 10:48:31 +02:00
|
|
|
#PARSER_CONFIG = -DUSE_EXPAT -DUSE_LIBXML2 -DUSE_XERCES -DUSE_GARDEN
|
|
|
|
|
|
|
|
####################################
|
|
|
|
# TOOLS
|
|
|
|
#####
|
|
|
|
MAKE = make
|
|
|
|
# C++ compiler
|
2004-09-14 22:51:36 +02:00
|
|
|
CXX = /home/jez/gcc-3.4.2/bin/gcc
|
2003-09-10 10:48:31 +02:00
|
|
|
# preprocessor
|
2004-09-14 22:51:36 +02:00
|
|
|
CPP = /home/jez/gcc-3.4.2/bin/gcc -E
|
2003-09-10 10:48:31 +02:00
|
|
|
# linker
|
2004-09-14 22:51:36 +02:00
|
|
|
LD = /home/jez/gcc-3.4.2/bin/gcc
|
2003-09-10 10:48:31 +02:00
|
|
|
# archiver
|
2004-09-14 22:51:36 +02:00
|
|
|
AR = /home/jez/gcc-3.4.2/bin/ar r
|
2003-09-10 10:48:31 +02:00
|
|
|
|
|
|
|
###########
|
|
|
|
# Utilities
|
|
|
|
REMOVE = rm -rf
|
|
|
|
LINK = ln -sf
|
|
|
|
COPY = cp -f
|
|
|
|
|
|
|
|
######################################
|
|
|
|
# BUILD FLAGS
|
|
|
|
# you probably want to set some these according to
|
|
|
|
# your parser choice
|
|
|
|
# eg DYNAMIC_LIBS = -lexpat
|
|
|
|
|
2004-02-25 22:14:38 +01:00
|
|
|
CXXFLAGS = -Wall
|
|
|
|
LDFLAGS =
|
2003-09-10 10:48:31 +02:00
|
|
|
|
|
|
|
# Includes and library directories
|
2005-06-08 23:45:07 +02:00
|
|
|
INCS_DIRS = -I.. -I/home/jez/gcc-3.4.2/include -I/usr/include/libxml2
|
2004-09-14 22:51:36 +02:00
|
|
|
LIBS_DIRS = -I/home/jez/gcc-3.4.2/lib
|
2003-09-10 10:48:31 +02:00
|
|
|
|
|
|
|
STATIC_LIBS =
|
2005-06-08 23:45:07 +02:00
|
|
|
DYNAMIC_LIBS = -lxml2 -lstdc++
|
2003-12-07 16:13:11 +01:00
|
|
|
|
2004-09-10 23:04:03 +02:00
|
|
|
# link flag to create a shared library
|
2004-09-14 22:51:36 +02:00
|
|
|
LINK_SHARED = -shared
|
2003-09-10 10:48:31 +02:00
|
|
|
|
2004-09-14 22:51:36 +02:00
|
|
|
EXESUFFIX = .exe
|
|
|
|
LIBSUFFIX = .dll
|
2003-09-10 10:48:31 +02:00
|
|
|
|
|
|
|
|
|
|
|
|