arabica/Makefile.header

51 lines
884 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_*
2003-12-07 16:13:11 +01:00
PARSER_CONFIG = -DUSE_EXPAT -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
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
2003-12-07 16:13:11 +01:00
CXXFLAGS = -Wall -g
LDFLAGS = -L/usr/local/lib
2003-09-10 10:48:31 +02:00
# Includes and library directories
INCS_DIRS = -I..
LIBS_DIRS =
STATIC_LIBS =
2003-12-07 16:13:11 +01:00
DYNAMIC_LIBS = -lexpat -lstdc++
# link flag to create a shared library
LINK_SHARED = -shared
2003-09-10 10:48:31 +02:00
2003-12-07 16:13:11 +01:00
EXESUFFIX = .exe
LIBSUFFIX = .dll
2003-09-10 10:48:31 +02:00