| 1 | # |
|---|
| 2 | # you probably need to override some variables in this file, unless everything is in your path |
|---|
| 3 | # |
|---|
| 4 | |
|---|
| 5 | PERL := perl -w |
|---|
| 6 | CP := cp |
|---|
| 7 | |
|---|
| 8 | #### |
|---|
| 9 | # JS javascript interpreter |
|---|
| 10 | #### |
|---|
| 11 | JS = js -w -s |
|---|
| 12 | JSNAME = spidermonkey |
|---|
| 13 | |
|---|
| 14 | # spidermonkey |
|---|
| 15 | #SPIDER_DIR= /Applications/js/src/Darwin_DBG.OBJ |
|---|
| 16 | #SPIDER_DIR= /Users/mda/bin |
|---|
| 17 | #JS = $(SPIDER_DIR)/js -w -s |
|---|
| 18 | |
|---|
| 19 | # or xpcshell |
|---|
| 20 | #MOZ_DIR = /tmp/mozilla |
|---|
| 21 | #JS = $(MOZ_DIR)/run-mozilla.sh $(MOZ_DIR)/xpcshell -w |
|---|
| 22 | |
|---|
| 23 | # or rhino |
|---|
| 24 | RHINO_OPT=-opt -1 # |
|---|
| 25 | RHINO_OPT=# |
|---|
| 26 | #RHINO_DIR = /Applications/rhino1_5R5pre |
|---|
| 27 | #RHINO_DIR = /Users/mda/Desktop/rhino1_5R4_1 |
|---|
| 28 | RHINO_DIR = /Users/mda/Desktop/rhino1_5R5 |
|---|
| 29 | #RHINO_DIR = /Users/mda/workspaces/mozilla/js/rhino/build/rhino1_5R5pre |
|---|
| 30 | # RHINO_CP is only needed for the JsLinker project |
|---|
| 31 | RHINO_CP :=-classpath $(RHINO_DIR)/js.jar |
|---|
| 32 | #JS = java -jar $(RHINO_DIR)/js.jar |
|---|
| 33 | #JSNAME = rhino |
|---|
| 34 | |
|---|
| 35 | # or windows cscript |
|---|
| 36 | #JSNAME = wsh |
|---|
| 37 | |
|---|
| 38 | # or kjs |
|---|
| 39 | #JS = /home/mda/shared/src/javascript/JavaScriptCore/kjs/testkjs.linux |
|---|
| 40 | # JS = /Users/mda/Desktop/JavaScriptCore/kjs/kjs |
|---|
| 41 | |
|---|
| 42 | #### |
|---|
| 43 | # JSC |
|---|
| 44 | #### |
|---|
| 45 | # Rotor (shared source JScript .NET) |
|---|
| 46 | # JSC_DIR := /users/mda/workspaces/sscli/build/v1.ppcfstchk.rotor/ |
|---|
| 47 | JSC_DIR := /users/mda/workspaces/sscli/build/v1.ppcfstchk.rotor/ |
|---|
| 48 | JSC_DIR := /usr/local/src/sscli_linux_20020821/clr/src/tools/ |
|---|
| 49 | CLIX := $(JSC_DIR)clix |
|---|
| 50 | JSC := $(CLIX) $(JSC_DIR)jsc.exe |
|---|
| 51 | |
|---|
| 52 | #### |
|---|
| 53 | # DOXYGEN |
|---|
| 54 | #### |
|---|
| 55 | DOXYGEN = doxygen |
|---|
| 56 | |
|---|
| 57 | ##### |
|---|
| 58 | # DOT (from graphviz) |
|---|
| 59 | #### |
|---|
| 60 | DOT = dot |
|---|
| 61 | #DOT = `which dot 2>/dev/null` |
|---|
| 62 | |
|---|
| 63 | #### |
|---|
| 64 | # POD2HTML (for extracting source comment from .pod or .pl files) |
|---|
| 65 | #### |
|---|
| 66 | # must use $< as input and $@ as output |
|---|
| 67 | # there is no way to turn off pod2html's double quote conversion, so we post process |
|---|
| 68 | POD2HTML = pod2html --verbose --norecurse --podroot=$(DOCSRC_DIR) --infile=$< --css=burstsite.css | perl -pe "s/\`\`/\"/g; s/\'\'/\"/g" > $@ |
|---|
| 69 | |
|---|
| 70 | #### |
|---|
| 71 | # rst2html (for converting reStructuredText to html) |
|---|
| 72 | #### |
|---|
| 73 | # from http://docutils.sourceforge.net |
|---|
| 74 | RST2HTML := rst2html.py |
|---|
| 75 | |
|---|
| 76 | #### |
|---|
| 77 | # xsltproc (for doing docbook processing) |
|---|
| 78 | # from http://xmlsoft.org/XSLT/xsltproc2.html |
|---|
| 79 | #### |
|---|
| 80 | XSLTPROC := xsltproc |
|---|
| 81 | |
|---|
| 82 | #### |
|---|
| 83 | # docbook-xsl |
|---|
| 84 | # from http://docbook.sourceforge.net |
|---|
| 85 | #### |
|---|
| 86 | |
|---|
| 87 | # "apt-get install docbook-xsl" puts it here. |
|---|
| 88 | DOCBOOK_XSL := /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl |
|---|
| 89 | |
|---|
| 90 | # docbook dtd is for validation. |
|---|
| 91 | # "apt-get install docbook" puts it here. |
|---|
| 92 | DOCBOOK_DTD_DIR := /usr/share/sgml/docbook/dtd/4.3 |
|---|
| 93 | |
|---|
| 94 | |
|---|
| 95 | |
|---|