arabica/Makefile.header

50 lines
833 B
Text
Raw Normal View History

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