~ubuntu-branches/ubuntu/trusty/znc/trusty

« back to all changes in this revision

Viewing changes to modules/modperl/Makefile.gen

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-05-06 09:18:27 UTC
  • mfrom: (21.1.5 experimental)
  • Revision ID: package-import@ubuntu.com-20130506091827-08sixjiyy3hjfx6b
Tags: 1.0-4
* Change section from znc-tcl to interpreters.
* Uploading to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
all:
 
2
 
 
3
VPATH := $(srcdir)
 
4
 
 
5
ifneq "$(V)" ""
 
6
VERBOSE=1
 
7
endif
 
8
ifeq "$(VERBOSE)" ""
 
9
Q=@
 
10
E=@echo
 
11
C=-s
 
12
else
 
13
Q=
 
14
E=@\#
 
15
C=
 
16
endif
 
17
 
 
18
.SECONDARY:
 
19
 
 
20
all: modperl/ZNC.cpp modperl/ZNC.pm modperl/functions.cpp modperl/swigperlrun.h
 
21
 
 
22
modperl/swigperlrun.h:
 
23
        @mkdir -p modperl
 
24
        $(Q)$(SWIG) -perl5 -c++ -shadow -external-runtime $@
 
25
 
 
26
modperl/ZNC.cpp: modperl/modperl.i modperl/module.h modperl/CString.i
 
27
        $(E) Generating ZNC API for Perl...
 
28
        @mkdir -p modperl .depend
 
29
        $(Q)$(SWIG) -perl5 -c++ -shadow -outdir modperl -I$(srcdir) -I$(srcdir)/../swig_lib/perl5 -MD -MF .depend/modperl.swig.dep -w362,315,401,402 -o $@ $<
 
30
 
 
31
modperl/ZNC.pm: modperl/ZNC.cpp
 
32
 
 
33
modperl/functions.cpp: modperl/codegen.pl modperl/functions.in
 
34
        @mkdir -p modperl
 
35
        $(Q)$(PERL) $^ $@
 
36
 
 
37
-include .depend/modperl.swig.dep