File: Makefile.unix

package info (click to toggle)
camlidl 1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,592 kB
  • sloc: ml: 5,238; ansic: 945; cpp: 908; makefile: 358; xml: 213; sh: 74
file content (52 lines) | stat: -rw-r--r-- 1,639 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#***********************************************************************
#*                                                                     *
#*                              CamlIDL                                *
#*                                                                     *
#*            Xavier Leroy, projet Cristal, INRIA Rocquencourt         *
#*                                                                     *
#*  Copyright 1999 Institut National de Recherche en Informatique et   *
#*  en Automatique.  All rights reserved.  This file is distributed    *
#*  under the terms of the GNU Library General Public License.         *
#*                                                                     *
#***********************************************************************

#* $Id: Makefile.unix,v 1.4 2002-04-22 11:50:46 xleroy Exp $

## Configuration section

# Type of system -- do not change
OSTYPE=unix

# How to invoke the C preprocessor
# Works on most Unix systems:
CPP=cpp
# Alternatives:
# CPP=/lib/cpp
# CPP=/usr/ccs/lib/cpp
# CPP=gcc -x c -E

# How to invoke ranlib (only relevant for Unix)
RANLIB=ranlib
# If ranlib is not needed:
#RANLIB=:

# Location of the Objective Caml library in your installation
OCAMLLIB=$(shell $(OCAMLC) -where)

# Where to install the binaries
BINDIR=$(DESTDIR)/usr/bin

# The Objective Caml compilers (the defaults below should be OK)
OCAMLC=ocamlc -g
OCAMLOPT=ocamlopt
OCAMLYACC=ocamlyacc -v
OCAMLLEX=ocamllex
OCAMLDEP=ocamldep

# Extra flags to pass to the C compiler
CFLAGS=-Wall -g

# Suffixes for executables and libraries (do not change)
EXE=
LIBEXT=a
OBJEXT=o