/[svn]/Makefile
ViewVC logotype

Contents of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 668 - (hide annotations)
Tue Jul 10 17:52:43 2007 UTC (5 years, 10 months ago) by abate
File size: 1420 byte(s)
[r2003-09-23 00:15:07 by cvscast] Passage lexer

Original author: cvscast
Date: 2003-09-23 00:16:26+00:00
1 abate 435 include Makefile.distrib
2 abate 22
3 abate 657
4     # We put this rule here to avoid re-building wlexer.ml on
5     # user installation (wlex may not be available)
6    
7 abate 668 #parser/wlexer.ml: parser/wlexer.mll
8     # wlex parser/wlexer.mll
9    
10 abate 368 # For development
11    
12 abate 402 pull: tools/pull.$(EXTENSION)
13     $(LINK) -o $@ $^
14 abate 368
15 abate 450 PREPRO = $(SYNTAX) pr_o.cmo
16    
17 abate 368 profile:
18     rm -Rf prepro
19     mkdir prepro
20     for i in $(DIRS); do \
21     mkdir prepro/$$i; \
22     for j in $$i/*.ml $$i/*.mli; do \
23     if [ -f "$$j" ]; then \
24     echo $$j; \
25     $(PREPRO) $$j -o prepro/$$j; \
26     fi; \
27     done; \
28     done
29 abate 668 #cp parser/wlexer.mll prepro/parser/
30 abate 368 cp Makefile depend prepro/
31 abate 594 (cd prepro; $(MAKE) cduce PROFILE=true SYNTAX_PARSER= NATIVE=false)
32 abate 368
33 abate 105 # Site-specific installation
34 abate 369
35     cedre_build:
36 abate 594 rsh cedre ". .env; cd IMPLEM/CDUCE; $(MAKE) webiface webpages"
37 abate 580 scp CHANGES web/www/*.html web/cduce.css cduce@iris:public_html/
38 abate 402 scp webiface cduce@iris:cgi-bin/cduce
39 abate 369
40 abate 560 install_web_distant:
41 abate 594 $(MAKE) webpages
42 abate 580 scp CHANGES web/www/*.html web/cduce.css cduce@iris:public_html/
43 abate 286
44 abate 435 # Packaging
45 abate 368
46 abate 584 DISTRIB = $(DIRS) cduce.spec expat tools web depend INSTALL INSTALL.WIN32 CHANGES LICENSE README Makefile.conf doc
47 abate 402
48 abate 435 PACKAGE = cduce-$(VERSION)
49 abate 368 .PHONY: package
50 abate 561 package: clean
51 abate 435 rm -Rf $(PACKAGE)
52     mkdir $(PACKAGE)
53     cp -R $(DISTRIB) $(PACKAGE)/
54     cp Makefile.distrib $(PACKAGE)/Makefile
55     (cd $(PACKAGE); \
56     rm -f types/IDEAS; \
57     headache -h ../header $(DEPEND))
58 abate 561 tar czf $(PACKAGE).tar.gz --exclude CVS --exclude ".#*" $(PACKAGE)
59 abate 435 rm -Rf $(PACKAGE)
60 abate 370
61 abate 435

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.5