#######################################################################
#                                                                     #
#                             Camlp4                                  #
#                                                                     #
#            Damien Doligez, projet Para, INRIA Rocquencourt          #
#                                                                     #
#  Copyright 1999 Institut National de Recherche en Informatique et   #
#  en Automatique.  Distributed only by permission.                   #
#                                                                     #
#######################################################################

# This file has been generated by program: do not edit!

INCLUDES =
OCAMLCFLAGS = {INCLUDES}
OBJS = stdpp.cmo token.cmo plexer.cmo gramext.cmo grammar.cmo extfun.cmo fstream.cmo
INTF = stdpp.cmi token.cmi plexer.cmi gramext.cmi grammar.cmi extfun.cmi fstream.cmi
TARGETS = gramlib.cma

all � {TARGETS}

{TARGETS} � {OBJS}
    {OCAMLC} {OBJS} -a -o {TARGETS}

steal �

compare_stolen �

clean ��
    delete -i {TARGETS}

{dependrule}

promote �
    duplicate -y {OBJS} {INTF} :::boot:

compare �
    for i in {OBJS} {INTF}
      equal -s :::boot:{i} || exit 1
    end

install �
    (newfolder "{P4LIBDIR}" || set status 0) � dev:null
    duplicate -y {TARGETS} �.mli �.cmi "{P4LIBDIR}"

{defrules}