ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libcpjit/Makefile.in
Revision: 1.11
Committed: Fri Oct 14 23:40:24 2005 UTC (18 years, 7 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +4 -2 lines
Log Message:
*** empty log message ***

File Contents

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