mirror of
https://github.com/jezhiggins/arabica
synced 2024-11-17 07:48:50 +01:00
20191d188d
added Makefile.common for CPPUNIT* definitions (and future maintenance) added include Makefile.common in Makefile.header* cleaned a couple test Makefiles; everything now compiles under linux gcc4.0.2
51 lines
927 B
Text
51 lines
927 B
Text
-include Makefile.common
|
|
|
|
####################################
|
|
# ARABICA CONFIG
|
|
# edit for your parser choice - may include more than one USE_*
|
|
PARSER_CONFIG = -DUSE_EXPAT -DARABICA_NO_WCHAR_T
|
|
#PARSER_CONFIG = -DUSE_EXPAT -DUSE_LIBXML2 -DUSE_XERCES -DUSE_GARDEN
|
|
|
|
####################################
|
|
# TOOLS
|
|
#####
|
|
MAKE = make
|
|
# C++ compiler
|
|
CXX = gcc
|
|
# 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
|
|
INCS_DIRS = -I.. -Id:/usr/include
|
|
LIBS_DIRS = -Ld:/usr/dll
|
|
|
|
STATIC_LIBS =
|
|
DYNAMIC_LIBS = -lwsock32 -lexpat -lstdc++
|
|
|
|
# link flag to create a shared library
|
|
LINK_SHARED = -shared
|
|
|
|
EXESUFFIX = .exe
|
|
LIBSUFFIX = .dll
|
|
|
|
|
|
|