~ubuntu-branches/ubuntu/trusty/ocamlnet/trusty

« back to all changes in this revision

Viewing changes to src/netmulticore/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu
  • Date: 2011-09-02 14:12:33 UTC
  • mfrom: (18.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110902141233-zbj0ygxb92u6gy4z
Tags: 3.4-1
* New upstream release
  - add a new NetcgiRequire directive to ease dependency management
    (Closes: #637147)
  - remove patches that were applied upstream:
    + Added-missing-shebang-lines-in-example-shell-scripts
    + Try-also-ocamlc-for-POSIX-threads

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
TOP_DIR=../..
 
2
 
 
3
PKGNAME  = netmulticore
 
4
OBJECTS  = netmcore.cmo netmcore_camlbox.cmo netmcore_util.cmo \
 
5
           netmcore_mempool.cmo netmcore_heap.cmo netmcore_ref.cmo \
 
6
           netmcore_array.cmo netmcore_sem.cmo netmcore_mutex.cmo \
 
7
           netmcore_condition.cmo netmcore_queue.cmo netmcore_buffer.cmo \
 
8
           netmcore_matrix.cmo netmcore_hashtbl.cmo netmcore_process.cmo
 
9
DOBJECTS = netmcore.mli netmcore_camlbox.mli netmcore_mempool.mli \
 
10
           netmcore_heap.mli netmcore_ref.mli netmcore_array.mli \
 
11
           netmcore_sem.mli netmcore_mutex.mli netmcore_condition.mli \
 
12
           netmcore_queue.mli netmcore_buffer.mli netmcore_matrix.mli \
 
13
           netmcore_hashtbl.mli netmcore_process.mli \
 
14
           netmcore_tut.txt
 
15
 
 
16
INCLUDES += $(INC_EQUEUE) $(INC_RPC) $(INC_NETSTRING) $(INC_NETSYS) \
 
17
            $(INC_NETPLEX) $(INC_NETCAMLBOX)
 
18
 
 
19
 
 
20
include $(TOP_DIR)/Makefile.rules
 
21
 
 
22
t_toploop: t_toploop.ml $(PKGNAME).cma
 
23
        OCAMLPATH=.. \
 
24
        ocamlfind ocamlc -g -o t_toploop \
 
25
           toplevellib.cma $(PKGNAME).cma t_toploop.ml \
 
26
           -package "equeue,rpc,netstring,netsys,netplex,netcamlbox" \
 
27
           -linkpkg -linkall
 
28
 
 
29
t_mempool: t_mempool.ml $(PKGNAME).cma
 
30
        OCAMLPATH=.. \
 
31
        ocamlfind ocamlc -g -o t_mempool \
 
32
           $(PKGNAME).cma t_mempool.ml \
 
33
           -package "equeue,rpc,netstring,netsys,netplex,netcamlbox" \
 
34
           -linkpkg
 
35
 
 
36
 
 
37
 
 
38
include depend