Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
56 f9daq 1
TVER=8.6
2
LIBS=
3
 
4
#GCC=gcc-3.4
5
#GPP=g++-3.4
6
GCC=gcc
7
GPP=gcc
8
 
9
DATAMGR=pro
10
ONLINE=pro
11
TCLTKDIR=/usr
12
BLTDIR=/usr
13
 
14
.PHONY : goto
15
goto : pkgIndex.tcl ;
16
 
17
pkgIndex.tcl : libevd.so ;
18
	echo "pkg_mkIndex . libevd.so;exit" | $(TCLTKDIR)/bin/tclsh
19
libevd.so : evd.o evdp.o ;
20
	$(GCC) -shared evd.o evdp.o -o libevd.so
21
	rm -f evd.o evdp.o
22
evd.o : evd.c ;
23
	$(GPP) -fPIC evd.c -c -I ./ \
24
             -I $(TCLTKDIR)/include/tcl$(TVER) \
25
            -I $(BLTDIR)/include
26
evdp.o : evdp.c ;
27
	$(GPP) -fPIC evdp.c -c -I ./ \
28
             -I $(TCLTKDIR)/include/tcl$(TVER) \
29
            -I $(BLTDIR)/include