source: trigger/makefile@ 52

Last change on this file since 52 was 52, checked in by rissim, 15 years ago
trigger software (VME) v1
File size: 1.0 KB
Line 
1Wrapper: _VMEmodule.so
2
3v560_test: v560_test.o v560.o
4 cc v560_test.o v560.o -L/usr/atlas/lib -lvme_rcc -o v560_test
5dummy: v560_test.o v560_dummy.o
6 cc v560_test.o v560_dummy.o -L/usr/atlas/lib -lvme_rcc -o v560_test_dummy
7v560.o: v560.c
8 cc -c v560.c -I/usr/atlas/include
9v560_dummy.o: v560_dummy.c
10 cc -c v560_dummy.c -I/usr/atlas/include
11v560_test.o: v560_test.c v560.h
12 cc -c v560_test.c -I/usr/atlas/include
13clean:
14 rm *.o
15 rm *.so
16
17WrapVME.o: WrapVME.c v560.h
18 cc -c WrapVME.c -I/usr/atlas/include -I/usr/include/python2.3/ -I/usr/atlas/v560
19
20VMEmodule.so: WrapVME.o v560.o
21 cc -shared WrapVME.o v560.o -L/usr/atlas/lib -lfl -lvme_rcc -lrcc_time_stamp -o VMEmodule.so
22
23
24
25_VMEmodule.so: VME_wrap.o
26 cc -shared -L/usr/atlas/lib -lvme_rcc v812.o v560.o VME_wrap.o -o _VMEmodule.so
27
28VME_wrap.o: v560.c VME_wrap.c v812.c
29 cc -fpic -c -I/usr/include/python2.3/ -I/usr/lib/python2.3/config/ -I/usr/atlas/include v560.c v812.c VME_wrap.c
30
31VME_wrap.c: VME.i
32 swig -python VME.i
33
34
35
36
37
Note: See TracBrowser for help on using the repository browser.