This commit is contained in:
Ren RenJuan 2014-01-08 13:49:46 +00:00
parent 681188a22d
commit 39210338ba
2 changed files with 16 additions and 10 deletions

View File

@ -33,6 +33,12 @@ SINCL= -I include -I /usr/include/log4cpp $(BOSINCL)
CFLAGS= -DPRODUCTION=1
endif
XALAN_LIB_DIR = /usr/lib/x86_64-linux-gnu/
XALAN_LIB = xalan-c
XALAN_INC_DIR = /usr/include/xalanc
XERCES_LIB_DIR = /usr/lib/
XERCES_LIB = xerces-c
XERCES_INC_DIR = /usr/include/xercesc/
CLIBS= -L$(USRLIB)

View File

@ -7,19 +7,19 @@ SYSTEM = $(shell uname -s)
CXX = g++
CC = gcc
#SHARED_CXXFLAGS += -O2
SHARED_CXXFLAGS += -g
#PRODORDEV += -O2
PRODORDEV += -ggdb3
CXXFLAGS = $(SHARED_CXXFLAGS) -Wall -Wpointer-arith -Wcast-qual -D_REENTRANT -fPIC
CXXFLAGS = $(PRODORDEV) -Wall -Wpointer-arith -Wcast-qual -D_REENTRANT -fPIC
CPPFLAGS = -fPIC -D_GNU_SOURCE
CXXFLAGS += -D_GNU_SOURCE -O0
#XERCES_HOME = /usr/local/xerces-c-src_2_7_0
#XERCES_LIB_DIR = ${XERCES_HOME}/lib
#XERCES_LIB = xerces-c2_7_0
#XALAN_HOME = /usr/local/xalan-c_1_10_0
#XALAN_LIB_DIR = $(XALAN_HOME)/lib
XALAN_LIB_DIR = /usr/lib/x86_64-linux-gnu/
XALAN_LIB = xalan-c
XALAN_INC_DIR = /usr/include/xalanc
XERCES_LIB_DIR = /usr/lib/
XERCES_LIB = xerces-c
XERCES_INC_DIR = /usr/include/xercesc/
include xml-deps.mk
@ -105,7 +105,7 @@ dirs:
libAusRegEPPTK.so:
$(BUILD_LIB_DIR)/libAusRegEPPTK.so: $(objs)
$(CXX) $(LDFLAGS) $(SHARED_CXXFLAGS) -shared $^ -o $@
$(CXX) $(LDFLAGS) $(PRODORDEV) -shared $^ -o $@
doc:
doxygen etc/Doxyfile