Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

TVER=8.6
LIBS=

#GCC=gcc-3.4
#GPP=g++-3.4
GCC=gcc
GPP=gcc

DATAMGR=pro
ONLINE=pro
TCLTKDIR=/usr
BLTDIR=/usr

.PHONY : goto
goto : pkgIndex.tcl ;

pkgIndex.tcl : libevd.so ;
        echo "pkg_mkIndex . libevd.so;exit" | $(TCLTKDIR)/bin/tclsh
libevd.so : evd.o evdp.o ;
        $(GCC) -shared evd.o evdp.o -o libevd.so
        rm -f evd.o evdp.o
evd.o : evd.c ;
        $(GPP) -fPIC evd.c -c -I ./ \
             -I $(TCLTKDIR)/include/tcl$(TVER) \
            -I $(BLTDIR)/include
evdp.o : evdp.c ;
        $(GPP) -fPIC evdp.c -c -I ./ \
             -I $(TCLTKDIR)/include/tcl$(TVER) \
            -I $(BLTDIR)/include