ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libcpjit/Makefile.in
Revision: 1.10
Committed: Fri Oct 14 18:34:22 2005 UTC (20 years, 11 months ago) by root
Branch: MAIN
Changes since 1.9: +3 -2 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.7 CXX = @CXX@
2     LIBS = @LIBS@
3     CXXFLAGS = @CXXFLAGS@
4     SH_EXT = .so
5 root 1.10 PERL = perl
6 root 1.1
7 root 1.7 all: Makefile libcpjit$(SH_EXT) # TODO, ELF only
8 root 1.3
9 root 1.4 clean:
10     rm -f *$(SH_EXT) *.o
11    
12 root 1.7 Makefile: Makefile.in
13     ./config.status
14    
15 root 1.9 libcpjit$(SH_EXT): cpjit.C md5.C
16     $(CXX) $(CXXFLAGS) -o $@ -shared -rdynamic -fPIC cpjit.C md5.C -ldl
17 root 1.3
18 root 1.6 test: test.C cpjit.h libcpjit$(SH_EXT)
19 root 1.7 $(CXX) $(CXXFLAGS) -o $@ $^ libcpjit$(SH_EXT)
20 root 1.8 LD_LIBRARY_PATH=. ./test
21 root 1.6
22 root 1.3 cpjit.C: cpjit.h
23    
24 root 1.10 cpjit.h: cpjit.h.in prep.pl
25     $(PERL) ./prep.pl $< >$@