File: Makefile.libs

package info (click to toggle)
coccinelle 1.0.8.deb-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 26,148 kB
  • sloc: ml: 136,392; ansic: 23,594; sh: 2,189; makefile: 2,157; perl: 1,576; lisp: 840; python: 823; awk: 70; csh: 12
file content (71 lines) | stat: -rw-r--r-- 2,720 bytes parent folder | download
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# This file is part of Coccinelle, lincensed under the terms of the GPL v2.
# See copyright.txt in the Coccinelle source code for more information.
# The Coccinelle source code can be obtained at http://coccinelle.lip6.fr

#
# Static configuration of Ocaml libraries
# Add these libraries to the library list in configure in order to use them.
#
# Template:
# LOCAL_$lib     = modules to include when compiling $lib locally with bytecode ocaml
# LOCALOPT_$lib  = modules to include when compiling $lib locally with optimizing ocaml
# GLOBAL_$lib    = modules to include when using $lib globally with bytecode ocaml
# GLOBALOPT_$lib = modules to include when using $lib globally with optimizing ocaml
# FLAGS_$lib     = extra flags to pass to optimizing ocaml when using $lib at link time
#
# This file is included in the Makefile where these variables may be used depending
# on your actual configuration.
#


# *Note*
# Pay attention to the difference between -cclib and -ccopt: although the documentation
# of -ccopt suggest that it subsumes -cclib, be sure to use -cclib for library includes.
#
# *Note*
# the order in which library includes are specified matters!


# pyml library
LOCAL_pyml     = $(PYMLDIR)/pyml.cma
LOCALOPT_pyml  = $(PYMLDIR)/pyml.cmxa
GLOBAL_pyml    = $(PYMLDIR)/pyml.cma
GLOBALOPT_pyml = $(PYMLDIR)/pyml.cmxa
FLAGS_pyml     = $(CFLAGS_pyml:%=-ccopt %) -dllib -lpyml_stubs -cclib -lpyml_stubs
OPTFLAGS_pyml  = $(CFLAGS_pyml:%=-ccopt %) -cclib -lpyml_stubs

# pcre library
# Note: see the comment of the pycaml library about the double appearance of the stubs library.
LOCAL_pcre     = $(BYTESDIR:=/bytes.cma) $(PCREDIR)/pcre.cma
LOCALOPT_pcre  = $(BYTESDIR:=/bytes.cmxa) $(PCREDIR)/pcre.cmxa
GLOBAL_pcre    = $(BYTESDIR:=/bytes.cma) $(PCREDIR)/pcre.cma
GLOBALOPT_pcre = $(BYTESDIR:=/bytes.cmxa) $(PCREDIR)/pcre.cmxa
FLAGS_pcre     = \
	$(PCRE_LIBS:%=-ccopt %) -cclib -L$(PCREDIR) -dllib -lpcre_stubs \
	-cclib -lpcre_stubs
OPTFLAGS_pcre  = \
	$(PCRE_LIBS:%=-ccopt %) -cclib -L$(PCREDIR) -cclib -lpcre_stubs

# dynlink library
LOCAL_dynlink     =
LOCALOPT_dynlink  =
GLOBAL_dynlink    = $(DYNLINKDIR)/dynlink.cma
GLOBALOPT_dynlink = $(DYNLINKDIR)/dynlink.cmxa
FLAGS_dynlink     =
OPTFLAGS_dynlink  =

# type conv library
LOCAL_type_conv     = pa_type_conv.cma
LOCALOPT_type_conv  = pa_type_conv.cmxa
GLOBAL_type_conv    = pa_type_conv.cma
GLOBALOPT_type_conv = pa_type_conv.cma
FLAGS_type_conv     =
OPTFLAGS_type_conv  =

# parmap library
LOCAL_parmap     = $(PARMAPDIR)/parmap.cma
LOCALOPT_parmap  = $(PARMAPDIR)/parmap.cmxa
GLOBAL_parmap    = $(PARMAPDIR)/parmap.cma
GLOBALOPT_parmap = $(PARMAPDIR)/parmap.cmxa
FLAGS_parmap     = -cclib -lparmap_stubs
OPTFLAGS_parmap  = -cclib -lparmap_stubs