ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/interface/Python/GNUmakefile
Revision: 1.2
Committed: Tue Nov 1 18:15:45 2005 UTC (19 years, 6 months ago) by afaq
Branch: MAIN
CVS Tags: BeforeJan2006SchemaChanges, before_message_removal, preXOverChanges
Changes since 1.1: +0 -2 lines
Log Message:
Removed Bugs from Deployment Scripts, Added Swig Install Script, Made changes to Makefiles

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     $(SWIG) -python -c++ $(IF)
15     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)