2 INTERFACESRC
= interface.
tex tex_stuff.
tex compile.
tex\
3 concepts.
tex data-structures.
tex \
4 ex-1.
tex ex-2.
tex ex-3.
tex ex-4.
tex ex-5.
tex \
5 construction.
tex querying.
tex \
14 make interface.
dvi; make interface.
dvi; make interface.
dvi; make interface.
dvi
16 interface.html
: ${INTERFACESRC}
17 latex2html
-address omega@cs.umd.edu
-auto_navigation
-t
"The Omega Library Interface Guide" -reuse
-show_section_numbers
-split
2 interface.
tex
21 interface.ps.Z
: interface.ps
22 /bin
/rm -f interface.ps.Z
25 interface.ps
: interface.
dvi
26 dvips
-o interface.ps interface.
dvi
28 interface.
dvi : ${INTERFACESRC} interface.bbl interface.uptodate
30 @if egrep
'LaTeX Warning: Label\(s\) may have changed\. Rerun to get cross-references right' interface.log
> /dev
/null
; then sleep
1 ; touch interface.uptodate
; fi
31 @if egrep
'LaTeX Warning: Citation .* on page [0-9]+ undefined' interface.log
> /dev
/null
; then sleep
1 ; touch interface.cites.uptodate
; fi
33 interface.bbl
: para.bib interface.cites.uptodate
34 touch interface.aux
; bibtex interface
36 tech-title
: tech-title.ps
38 tech-title.ps
: tech-title.
dvi
41 tech-title.
dvi: tech-title.
tex tech-abstract.
tex
47 ln
-s
/fs
/savoir2
/p
/bib
/para.bib .
50 # make these if they don't exist yet
53 touch interface.uptodate
55 interface.cites.uptodate
:
56 touch interface.cites.uptodate
60 EXAMPLE
= library_example.c
62 examples
: ex-1.
tex ex-2.
tex ex-3.
tex ex-4.
tex ex-5.
tex
65 sed
-n
-e
'/BEGIN PART 1/,/END PART 1/p' ${EXAMPLE} | sed
-e
'1s/.*/\\begin{verbatim}/' -e
'$$s/.*/\\end{verbatim}/' > ex-1.
tex
68 sed
-n
-e
'/BEGIN PART 2/,/END PART 2/p' ${EXAMPLE} | sed
-e
'1s/.*/\\begin{verbatim}/' -e
'$$s/.*/\\end{verbatim}/' > ex-2.
tex
71 sed
-n
-e
'/BEGIN PART 3/,/END PART 3/p' ${EXAMPLE} | sed
-e
'1s/.*/\\begin{verbatim}/' -e
'$$s/.*/\\end{verbatim}/' > ex-3.
tex
74 sed
-n
-e
'/BEGIN PART 4/,/END PART 4/p' ${EXAMPLE} | sed
-e
'1s/.*/\\begin{verbatim}/' -e
'$$s/.*/\\end{verbatim}/' > ex-4.
tex
77 sed
-n
-e
'/BEGIN PART 5/,/END PART 5/p' ${EXAMPLE} | sed
-e
'1s/.*/\\begin{verbatim}/' -e
'$$s/.*/\\end{verbatim}/' > ex-5.
tex
83 # PURIFY = purify -collector=/usr/imports/lib/gcc-lib/sparc-sun-sunos4.1.3/2.6.2/ld
85 PT-example.o
: PT-example.c ..
/include/omega
/PT-omega.c
86 ${CC} -g
-w
-I..
/include -I..
/..
/basic
/include -fno-implicit-templates
-DDONT_INCLUDE_TEMPLATE_CODE
-DDONT_DEFINE_BOOL
-c PT-example.c
89 ${CC} -g
-Wall
-I..
/include -I..
/..
/basic
/include -fno-implicit-templates
-DDONT_INCLUDE_TEMPLATE_CODE
-DDONT_DEFINE_BOOL
-c example.c
91 example
: example.o PT-example.o ..
/obj
/libomega.a ConstString.o Exit.o Link.o
92 ${PURIFY} ${CC} -g
-I..
/include -I..
/..
/basic
/include -fno-implicit-templates
-DDONT_INCLUDE_TEMPLATE_CODE
-DDONT_DEFINE_BOOL example.o PT-example.o
-L..
/obj ConstString.o Exit.o Link.o
-lomega
-o example
94 library_example.o
: library_example.c
95 ${CC} -Wall
-g
-I..
/include -I..
/..
/basic
/include -fno-implicit-templates
-DDONT_INCLUDE_TEMPLATE_CODE
-DDONT_DEFINE_BOOL
-c library_example.c
97 library_example
: library_example.o PT-example.o ..
/obj
/libomega.a ConstString.o Exit.o Link.o
98 ${PURIFY} ${CC} -g
-I..
/include -I..
/..
/basic
/include -fno-implicit-templates
-DDONT_INCLUDE_TEMPLATE_CODE
-DDONT_DEFINE_BOOL library_example.o PT-example.o
-L..
/obj ConstString.o Exit.o Link.o
-lomega
-o library_example
101 ${CC} -Wall
-g
-I..
/include -I..
/..
/basic
/include -fno-implicit-templates
-DDONT_INCLUDE_TEMPLATE_CODE
-DDONT_DEFINE_BOOL
-c bad.c
103 bad
: bad.o PT-example.o ..
/obj
/libomega.a ConstString.o Exit.o Link.o
104 ${PURIFY} ${CC} -g
-I..
/include -I..
/..
/basic
/include -fno-implicit-templates
-DDONT_INCLUDE_TEMPLATE_CODE
-DDONT_DEFINE_BOOL bad.o PT-example.o
-L..
/obj ConstString.o Exit.o Link.o
-lomega
-o bad
106 Link.o
: ..
/..
/basic
/src
/Link.c
107 ${CC} -Wall
-g
-I..
/include -I..
/..
/basic
/include -fno-implicit-templates
-DDONT_INCLUDE_TEMPLATE_CODE
-DDONT_DEFINE_BOOL
-c ..
/..
/basic
/src
/Link.c
109 ConstString.o
: ..
/..
/basic
/src
/ConstString.c
110 ${CC} -Wall
-g
-I..
/include -I..
/..
/basic
/include -fno-implicit-templates
-DDONT_INCLUDE_TEMPLATE_CODE
-DDONT_DEFINE_BOOL
-c ..
/..
/basic
/src
/ConstString.c
112 Exit.o
: ..
/..
/basic
/src
/Exit.c
113 ${CC} -Wall
-g
-I..
/include -I..
/..
/basic
/include -fno-implicit-templates
-DDONT_INCLUDE_TEMPLATE_CODE
-DDONT_DEFINE_BOOL
-c ..
/..
/basic
/src
/Exit.c