ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/interface/Python/GNUmakefile
Revision: 1.1.1.1 (vendor branch)
Committed: Mon Oct 31 22:10:36 2005 UTC (19 years, 6 months ago) by afaq
Branch: v00
CVS Tags: start
Changes since 1.1: +0 -0 lines
Log Message:
Adding Server code to the repository

File Contents

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