~ubuntu-branches/ubuntu/hardy/pxp/hardy

« back to all changes in this revision

Viewing changes to src/pxp-engine/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Stefano Zacchiroli
  • Date: 2005-03-29 11:06:39 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050329110639-5p39hz1d4aq3r2ec
Tags: 1.1.95-6
* Rebuilt against ocaml 3.08.3
* No longer built with wlex support (since wlex is no longer supported
  upstream and corresponding package has been removed from the debian
  archive)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
        $(MAKE) depend
14
14
        $(MAKE) -f Makefile.code opt
15
15
 
16
 
generate: pxp_yacc.ml pxp_lexing.ml
17
 
 
18
 
pxp_lexing.ml: pxp_lexing.mlp
19
 
        sed -e 's/LEX_BUFFER_LEN/$(LEX_BUFFER_LEN)/g' pxp_lexing.mlp \
20
 
                >pxp_lexing.ml
21
 
 
 
16
generate: pxp_core_parser.ml pxp_lexing.ml
 
17
 
 
18
.PHONY: depend
22
19
depend: 
23
20
        $(OCAMLDEP) *.ml *.mli >depend
24
21
 
25
22
clean:
26
 
        rm -f $(CLEAN_LIST) META pxp_lexing.ml pxp_yacc.ml
 
23
        rm -f $(CLEAN_LIST) pxp_core_parser.ml pxp_lib.ml pxp_lexing.ml
27
24
 
28
25
CLEAN: clean
29
26
 
30
27
distclean: clean
 
28
        rm -f META depend
31
29
 
32
30
install:
33
31
        files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a pxp_top.cmo META` && \
34
 
        $(OCAMLFIND) install -destdir $(DESTDIR) pxp-engine $$files
 
32
        $(OCAMLFIND) install pxp-engine $$files
35
33
 
36
34
uninstall:
37
35
        $(OCAMLFIND) remove pxp-engine
 
36
 
 
37
pxp_lexing.ml: pxp_lexing.mlp
 
38
        $(IFDEF) $(LEXBUF_307) pxp_lexing.mlp