This commit is contained in:
Ren RenJuan 2014-01-08 20:22:43 +00:00
parent f9b7270445
commit 445472e185
2 changed files with 13 additions and 18 deletions

View File

@ -1,5 +1,6 @@
LOCATION=authoring
#
#
# Add other locations and move target differences into the macros as needed
#
CC=g++
@ -12,34 +13,22 @@ Cc=gcc
ifeq ($(LOCATION),authoring)
ARTKLIB=-L/home/jdaugherty/clients/reg.de/git/AusRegEPPTK/lib
ARTKINCL=-I/home/jdaugherty/clients/reg.de/git/AusRegEPPTK/common
#ARTKLIB=-L/home/jdaugherty/clients/reg.de/git/ACTK1_3_2/lib
#ARTKINCL=-I/home/jdaugherty/clients/reg.de/git/ACTK1_3_2/common
endif
ifeq ($(LOCATION),testing)
ARTKLIB=-L/home/drde/git/AusRegEPPTK/lib
ARTKINCL=I/home/drde/git/AusRegEPPTK/common
else
ARTKLIB=-L/home/jdaugherty/dnseppus/AusRegEPPTK/lib
ARTKINCL=-I/home/jdaugherty/dnseppus/AusRegEPPTK/common
endif
SLIBS= -L/usr/lib $(BOSTLIB) $(LOG4LIB) $(ARTKLIB) -l boost_system -l boost_thread -l log4cpp -l AusRegEPPTK
ifeq ($(LOCATION),authoring)
SINCL= -I include -I /usr/include/log4cpp $(BOSINCL)
CFLAGS= -DCURRENT_DEBUG=1000 -ggdb3
endif
ifeq ($(LOCATION),production)
SINCL= -I include -I /usr/include/log4cpp $(BOSINCL)
CFLAGS= -DPRODUCTION=1
endif
ifeq ($(LOCATION),authoring)
XALAN_LIB_DIR = /usr/lib/x86_64-linux-gnu/
endif
ifeq ($(LOCATION),production)
else
XALAN_LIB_DIR = /usr/lib/
endif
XALAN_LIB = xalan-c
XALAN_INC_DIR = /usr/include/xalanc
XERCES_LIB_DIR = /usr/lib/

View File

@ -1,7 +1,8 @@
##################################################
# Makefile for building lib and main test routine#
##################################################
# operating system
LOCATION=authoring
SYSTEM = $(shell uname -s)
CXX = g++
@ -14,7 +15,12 @@ CXXFLAGS = $(PRODORDEV) -Wall -Wpointer-arith -Wcast-qual -D_REENTRANT -fPIC
CPPFLAGS = -fPIC -D_GNU_SOURCE
CXXFLAGS += -D_GNU_SOURCE -O0
ifeq ($(LOCATION),authoring)
XALAN_LIB_DIR = /usr/lib/x86_64-linux-gnu/
endif
ifeq ($(LOCATION),production)
XALAN_LIB_DIR = /usr/lib/
endif
XALAN_LIB = xalan-c
XALAN_INC_DIR = /usr/include/xalanc
XERCES_LIB_DIR = /usr/lib/