ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/interface/Python/GNUmakefile
Revision: 1.3
Committed: Tue Feb 7 16:49:21 2006 UTC (19 years, 3 months ago) by afaq
Branch: MAIN
CVS Tags: DBS_0_0_3a, DBS_0_0_3, DBS_0_0_2, DBS_0_0_1, pre_DBS_0_0_1, post_dict_type_checking_merge, post_MiniPythonAPI_merged_to_trunk, pre_MiniPythonAPI_merge_to_trunk, DBS_0_0_0, vs20060320, AfterJan2006SchemaChanges_v01_00_01, AfterJan2006SchemaChanges_v01_00_00, AfterJan2006SchemaChanges, HEAD
Branch point for: BranchForCPPWebServiceTesting
Changes since 1.2: +1 -1 lines
Log Message:
Changes to Util.cpp

File Contents

# User Rev Content
1 afaq 1.1
2     IF=dbsclient.i
3     WRAP=$(IF:.i=_wrap.cxx)
4     WRAPOBJECT=$(WRAP:.cxx=.o)
5     SHARED=_$(IF:.i=.so)
6    
7     dirs := $(DBSHOME)/src/bizlogiclayer $(DBSHOME)/src/clientlayer $(DBSHOME)/src/comlayer \
8     $(DBSHOME)/src/objectlayer $(DBSHOME)/src/common/conf $(DBSHOME)/src/common/db $(DBSHOME)/src/common/log
9     ALLOBJS := $(foreach dir,$(dirs),$(wildcard $(dir)/*.o))
10    
11    
12     all: swig wrap shared
13     swig:
14 afaq 1.3 $(SWIG) -python -c++ -w401,317 $(IF)
15 afaq 1.1 wrap:
16     $(CC) $(CFLAG) $(CFLAGS) $(PYINCLUDE) $(INCLUDE) $(WRAP) -o $(WRAPOBJECT)
17     shared:
18     $(CC) -shared $(WRAPOBJECT) $(PYINCLUDE) $(INCLUDE) $(LDFLAGS) $(ALLOBJS) -o $(SHARED)
19    
20     clean:
21     rm -rf *.cxx dbsclient.py $(WRAPOBJECT) $(SHARED) $(WRAP)