Debian Codegraph @

render/Jamfile

raw
1
2 # Optimization and Debug flags
3
4 #PREF_CCFLAGS += $(CCOPTFLAG) ; # Turn optimisation on
5 PREF_CCFLAGS += $(CCDEBUGFLAG) ; # Debugging flags
6 #PREF_CCFLAGS += $(CCHEAPDEBUG) ; # Heap Debugging flags
7 PREF_LINKFLAGS += $(LINKDEBUGFLAG) ; # Link with debug info
8 #PREF_CCFLAGS += $(CCPROFFLAG) ; # Profile flags
9 #PREF_LINKFLAGS += $(LINKPROFFLAG) ; # Profile flags
10
11 #Products
12 Libraries = librender ;
13 Executables = timage ;
14 Headers = render.h ;
15
16 #Install
17 InstallBin $(DESTDIR)$(PREFIX)/bin : $(Executables) ;
18 #InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ;
19 #InstallLib $(DESTDIR)$(PREFIX)/lib : $(Libraries) ;
20
21 DEFINES += RENDER_TIFF RENDER_PNG ;
22
23 HDRS = ../h ../icc ../numlib $(TIFFINC) $(PNGINC) ;
24
25 if [ GLOB [ NormPaths . ] : vimage.c ] {
26 EXTRASRC = vimage.c ;
27 MainVariant vimage : vimage.c : : STANDALONE_TEST : : : librender ../numlib/libnum
28 $(TIFFLIB) $(JPEGLIB) $(PNGLIB) $(ZLIB) ;
29 }
30
31 # 2D Rendering library
32 Library librender : render.c thscreen.c $(EXTRASRC) ;
33
34 Main timage : timage.c : : : : : librender ../numlib/libnum
35 $(TIFFLIB) $(JPEGLIB) $(PNGLIB) $(ZLIB) ;
36
37 if $(BUILD_JUNK) {
38 Main tt : tt.c : : : ../plot : : ../numlib/libnum ../plot/libplot ;
39 }