https://gitorious.org/ocamlp3l/ocamlp3l_cvs.git
Tip revision: ad58ae426e7e9200530d18bf439d02657503426c authored by fclement on 23 November 2010, 11:33:06 UTC
Ignore all generated files.
Ignore all generated files.
Tip revision: ad58ae4
Makefile
#######################################################################
# #
# OCamlP3l #
# #
# (C) 2004-2007 #
# Roberto Di Cosmo (dicosmo@dicosmo.org) #
# Zheng Li (zli@lip6.fr) #
# Pierre Weis (Pierre.Weis@inria.fr) #
# Francois Clement (Francois.Clement@inria.fr) #
# #
# Based on original Ocaml P3L System #
# (C) 1997 by #
# Roberto Di Cosmo (dicosmo@ens.fr) #
# Marco Danelutto (marcod@di.unipi.it) #
# Xavier Leroy (Xavier.Leroy@inria.fr) #
# Susanna Pelagatti (susanna@di.unipi.it) #
# #
# This program is free software; you can redistribute it and/or #
# modify it under the terms of the GNU Library General Public License #
# as published by the Free Software Foundation; either version 2 #
# of the License, or (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Library General Public License for more details. #
# #
#######################################################################
# $Id: Makefile,v 1.12 2007-01-24 14:34:18 weis Exp $
MAKEFILES_DIR = ..
include $(MAKEFILES_DIR)/makefile.application
BASESOURCE = toolbase
BASELIB = $(BASESOURCE:=.cmx)
TOOLSOURCE = ocamlp3lc.ml ocamlp3lopt.ml ocamlp3ltop.ml
TOOLS = $(TOOLSOURCE:.ml=)
SYSLIB = $(WITHUNIX)
.PHONY: all install uninstall clean depend
all: $(TOOLS)
ocamlp3lc: $(BASELIB) ocamlp3lc.cmx
$(CAMLCBIN) -o $@ $(SYSLIB) $(BASELIB) ocamlp3lc.cmx
ocamlp3lopt: $(BASELIB) ocamlp3lopt.cmx
$(CAMLCBIN) -o $@ $(SYSLIB) $(BASELIB) ocamlp3lopt.cmx
ocamlp3ltop: $(BASELIB) ocamlp3ltop.cmx
$(CAMLCBIN) -o $@ $(SYSLIB) $(BASELIB) ocamlp3ltop.cmx
install: $(TOOLS)
$(CP) $(TOOLS) $(PACKAGEBINDIR)
uninstall:
(cd $(PACKAGEBINDIR); $(RM) $(TOOLS))
depend:
clean::
$(RM) $(TOOLS)
include $(MAKEFILES_DIR)/makefile.common