File: GNUmakefile

package info (click to toggle)
r-cran-xml 3.99-0.19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,688 kB
  • sloc: ansic: 6,659; xml: 2,890; asm: 486; sh: 12; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 896 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
XSLT_PROCESSOR=export LD_LIBRARY_PATH=/tmp/xml-xalan/c/lib ; /tmp/xml-xalan/c/bin/testXSLT

PREFIX=$(OMEGA_HOME)/XML/Literate/
C_XSL=$(PREFIX)/croutine.xsl
C_XSL=$(PREFIX)/fragment1.xsl

writeRS.c: writeRS.xml $(C_XSL)
	($(XSLT_PROCESSOR) $(XSLT_FLAGS) -in writeRS.xml -xsl $(C_XSL) -out $@ )

writeRS.S: writeRS.xml
	($(XSLT_PROCESSOR) $(XSLT_FLAGS) -in $^ -xsl $(C_XSL) -param language "'S'" -out $@ )

writeRS.html: writeRS.xml $(PREFIX)/article.xsl
	($(XSLT_PROCESSOR) $(XSLT_FLAGS) -in writeRS.xml -xsl $(PREFIX)/article.xsl -param language "'S'" -param cssURL "'file:///home/duncan/Projects/org/omegahat/XML/Literate/OmegaTech.css'" -param inputFile "'writeRS.xml'" -param outputFile "'writeRS.html'"  -param inputXSL "'$(PREFIX)/article.xsl'" -out $@ -TT )



CFLAGS+= -I$(R_HOME)/include -I$(R_HOME)/src/include
writeRS.so:

writeRS.o: writeRS.c

writeRS.so: writeRS.o
	R SHLIB -o $@ $^