https://gitorious.org/ocamlp3l/ocamlp3l_cvs.git
Revision 216a721a74b88ddcfabb749c961b4558126e311a authored by weis on 23 January 2007, 15:13:21 UTC, committed by weis on 23 January 2007, 15:13:21 UTC
1 parent de69238
Raw File
Tip revision: 216a721a74b88ddcfabb749c961b4558126e311a authored by weis on 23 January 2007, 15:13:21 UTC
Use the new OCamlP3l compiler.
Tip revision: 216a721
makefile.application
#######################################################################
#                                                                     #
#                          OCamlP3l                                   #
#                                                                     #
# (C) 2004-2006                                                       #
#             Roberto Di Cosmo (dicosmo@dicosmo.org)                  #
#             Zheng Li (zli@lip6.fr)                                  #
#             Pierre Weis (Pierre.Weis@inria.fr)                      #
#             Francois Clement (Francois.Clement@inria.fr)            #
#                                                                     #
# 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.application,v 1.7 2007-01-23 14:59:16 weis Exp $

include $(MAKEFILES_DIR)/makefile.config

PACKAGE = ocamlp3l
VERSION = 2.03

#
# OCamlP3l libraries install in the ocamlp3l subdirectory of the Caml system
# library installation to benefit from the -I +<> option of the compiler.
# So, to be safe, do not change the following line.
#
CAMLLIBDIR = "`ocamlc -where`"
PACKAGELIBDIR = $(CAMLLIBDIR)/$(PACKAGE)
PACKAGEBINDIR = $(PREFIX)/bin

MODEL = process

# Caml commands
CAMLCBYTFLAGS = -warn-error A -g
CAMLCBINFLAGS = -warn-error A -inline 10000 -noassert
CAMLCBYT = ocamlc $(CAMLCBYTFLAGS)
CAMLCBIN = ocamlopt $(CAMLCBINFLAGS)

CAMLCDEP = ocamldep

WITHUNIX = unix.cmxa
WITHGRAP = graphics.cmxa

#
# Common commands
#
RM = rm -fr
CP = cp -pfr
MV = mv -f
MKDIR = mkdir -p
TOUCH = touch
CHMOD = chmod -R
CHGRP = chgrp -R
CHOWN = chown -R
TAR = tar
TARC = $(TAR) czvf
TARX = $(TAR) xzvf

# Banner handling
BANNER = bh -white-lines-after-banner 1
BANNER_WITH_MAGIC = bh -skip-lines-of-file 2 -white-lines-after-banner 1

# Default banner file
BANNERFILE = banner
back to top