2005-10-24 05:33:52 +02:00
|
|
|
-include Makefile.common
|
|
|
|
|
2003-09-17 10:37:57 +02:00
|
|
|
####################################
|
|
|
|
# ARABICA CONFIG
|
|
|
|
# edit for your parser choice - may include more than one USE_*
|
|
|
|
PARSER_CONFIG = -DUSE_LIBXML2
|
|
|
|
#PARSER_CONFIG = -DUSE_EXPAT -DUSE_LIBXML2 -DUSE_XERCES -DUSE_GARDEN
|
|
|
|
|
|
|
|
####################################
|
|
|
|
# TOOLS
|
|
|
|
#####
|
|
|
|
MAKE = make
|
|
|
|
# C++ compiler
|
2005-10-22 05:13:51 +02:00
|
|
|
CXX = g++
|
2003-09-17 10:37:57 +02:00
|
|
|
# preprocessor
|
|
|
|
CPP = gcc -E
|
|
|
|
# linker
|
|
|
|
LD = gcc
|
|
|
|
# archiver
|
|
|
|
AR = ar r
|
|
|
|
|
|
|
|
###########
|
|
|
|
# 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
|
|
|
|
|
|
|
|
CXXFLAGS = -Wall
|
|
|
|
LDFLAGS =
|
|
|
|
|
|
|
|
# Includes and library directories
|
2006-08-09 11:19:53 +02:00
|
|
|
INCS_DIRS = -I/usr/include/libxml2
|
2003-09-17 10:37:57 +02:00
|
|
|
LIBS_DIRS =
|
|
|
|
|
|
|
|
STATIC_LIBS =
|
|
|
|
DYNAMIC_LIBS = -lxml2 -lstdc++
|
|
|
|
|
2003-12-07 16:13:11 +01:00
|
|
|
# flag to create a shared library
|
|
|
|
LINK_SHARED = -shared
|
|
|
|
|
2004-11-16 22:08:43 +01:00
|
|
|
EXESUFFIX =
|
2003-09-17 10:37:57 +02:00
|
|
|
LIBSUFFIX = .so
|
|
|
|
|
|
|
|
|
|
|
|
|