2 # Copyright (c) 2007, Cameron Rich
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions are met:
9 # * Redistributions of source code must retain the above copyright notice,
10 # this list of conditions and the following disclaimer.
11 # * Redistributions in binary form must reproduce the above copyright
12 # notice, this list of conditions and the following disclaimer in the
13 # documentation and/or other materials provided with the distribution.
14 # * Neither the name of the axTLS project nor the names of its
15 # contributors may be used to endorse or promote products derived
16 # from this software without specific prior written permission.
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
22 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
24 # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
26 # OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 include ..
/config
/.config
34 include ..
/config
/makefile.conf
36 ifdef CONFIG_CSHARP_BINDINGS
37 all: csharp
/axInterface.cs
40 ifdef CONFIG_VBNET_BINDINGS
41 all: vbnet
/axInterface.vb
44 ifdef CONFIG_JAVA_BINDINGS
48 ifdef CONFIG_PERL_BINDINGS
49 all: perl
/axTLSp_wrap.c
52 ifdef CONFIG_LUA_BINDINGS
53 all: lua
/axTLSl_wrap.c
56 csharp
/axInterface.cs
: ..
/ssl
/ssl.h
57 @perl .
/generate_interface.pl
-csharp
59 vbnet
/axInterface.vb
: ..
/ssl
/ssl.h
60 @perl .
/generate_interface.pl
-vbnet
62 java
/axTLSj.i
: ..
/ssl
/ssl.h
63 @perl .
/generate_SWIG_interface.pl
-java
65 java
/axtlsj.java
: java
/axTLSj.i
$(wildcard java
/SSL
*.java
)
66 @cd java
; swig
-java
-package axTLSj axTLSj.i
; $(MAKE
)
68 perl
/axTLSp.i
: ..
/ssl
/ssl.h
69 @perl .
/generate_SWIG_interface.pl
-perl
71 perl
/axTLSp_wrap.c
: perl
/axTLSp.i
72 @cd perl
; swig
-perl5 axTLSp.i
; $(MAKE
)
74 lua
/axTLSl.i
: ..
/ssl
/ssl.h
75 @perl .
/generate_SWIG_interface.pl
-lua
77 lua
/axTLSl_wrap.c
: lua
/axTLSl.i
78 @cd lua
; swig
-lua axTLSl.i
; $(MAKE
)
81 $(MAKE
) -C csharp
clean
82 $(MAKE
) -C vbnet
clean