2003-09-10 10:48:31 +02:00
|
|
|
####################################
|
|
|
|
# ARABICA CONFIG
|
|
|
|
# edit for your parser choice - may include more than one USE_*
|
2005-08-08 07:41:43 +02:00
|
|
|
PARSER_CONFIG = -DUSE_GARDEN
|
2003-09-10 10:48:31 +02:00
|
|
|
#PARSER_CONFIG = -DUSE_EXPAT -DUSE_LIBXML2 -DUSE_XERCES -DUSE_GARDEN
|
|
|
|
|
|
|
|
####################################
|
|
|
|
# TOOLS
|
|
|
|
#####
|
|
|
|
MAKE = make
|
|
|
|
# C++ compiler
|
2005-08-05 10:48:17 +02:00
|
|
|
CXX = gcc
|
2003-09-10 10:48:31 +02:00
|
|
|
# preprocessor
|
2005-08-05 10:48:17 +02:00
|
|
|
CPP = gcc -E
|
2003-09-10 10:48:31 +02:00
|
|
|
# linker
|
2005-08-08 07:41:43 +02:00
|
|
|
LD = gcc
|
2003-09-10 10:48:31 +02:00
|
|
|
# archiver
|
2005-08-05 10:48:17 +02:00
|
|
|
AR = 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
|
|
|
|
|
2005-08-08 07:41:43 +02:00
|
|
|
CXXFLAGS = -Wall
|
2004-02-25 22:14:38 +01:00
|
|
|
LDFLAGS =
|
2003-09-10 10:48:31 +02:00
|
|
|
|
|
|
|
# Includes and library directories
|
2005-08-08 07:41:43 +02:00
|
|
|
INCS_DIRS = -I..
|
|
|
|
LIBS_DIRS =
|
2003-09-10 10:48:31 +02:00
|
|
|
|
|
|
|
STATIC_LIBS =
|
2005-08-08 07:41:43 +02:00
|
|
|
DYNAMIC_LIBS = -lstdc++
|
2003-12-07 16:13:11 +01:00
|
|
|
|
2005-08-08 07:41:43 +02:00
|
|
|
# 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
|
|
|
|
2005-08-08 07:41:43 +02:00
|
|
|
EXESUFFIX =
|
|
|
|
LIBSUFFIX = .so
|
2003-09-10 10:48:31 +02:00
|
|
|
|
|
|
|
|
|
|
|
|