/[svn]/Makefile
ViewVC logotype

Contents of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 657 - (hide annotations)
Tue Jul 10 17:51:54 2007 UTC (5 years, 11 months ago) by abate
File size: 1417 byte(s)
[r2003-09-17 06:48:34 by cvscast] Empty log message

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

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