~ubuntu-branches/debian/sid/kamailio/sid

« back to all changes in this revision

Viewing changes to modules/auth_ephemeral/Makefile

  • Committer: Package Import Robot
  • Author(s): Victor Seva
  • Date: 2014-01-06 11:47:13 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20140106114713-t8xidp4arzrnyeya
Tags: 4.1.1-1
* New upstream release
* debian/patches:
  - add upstream fixes
* Added tls outbound websocket autheph dnssec modules
  - openssl exception added to their license
* removing sparc and ia64 from supported archs
  for mono module (Closes: #728915)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id$
 
2
#
 
3
 
4
# WARNING: do not run this directly, it should be run by the master Makefile
 
5
 
 
6
include ../../Makefile.defs
 
7
auto_gen=
 
8
NAME=auth_ephemeral.so
 
9
 
 
10
ifeq ($(CROSS_COMPILE),)
 
11
SSL_BUILDER=$(shell \
 
12
        if pkg-config --exists libssl; then \
 
13
                echo 'pkg-config libssl'; \
 
14
        fi)
 
15
endif
 
16
 
 
17
ifneq ($(SSL_BUILDER),)
 
18
        DEFS += $(shell $(SSL_BUILDER) --cflags)
 
19
        LIBS += $(shell $(SSL_BUILDER) --libs)
 
20
else
 
21
        DEFS += -I$(LOCALBASE)/ssl/include
 
22
        LIBS += -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib \
 
23
                        -L$(LOCALBASE)/lib64 -L$(LOCALBASE)/ssl/lib64 \
 
24
                        -lssl -lcrypto
 
25
        # NOTE: depending on the way in which libssl was compiled you might
 
26
        #       have to add -lz -lkrb5   (zlib and kerberos5).
 
27
        #       E.g.: make TLS_HOOKS=1 TLS_EXTRA_LIBS="-lz -lkrb5"
 
28
endif
 
29
 
 
30
LIBS+= $(TLS_EXTRA_LIBS)
 
31
 
 
32
# Static linking, if you'd like to use TLS and AUTH_EPHEMERAL at the same time
 
33
#
 
34
#LIBS+= /usr/lib/libcurl.a /usr/lib/libssl.a /usr/lib/libcrypto.a -lkrb5 -lidn -lz -lgssapi_krb5 -lrt
 
35
DEFS+=-DKAMAILIO_MOD_INTERFACE
 
36
 
 
37
SERLIBPATH=../../lib
 
38
SER_LIBS+=$(SERLIBPATH)/kcore/kcore
 
39
SER_LIBS+=$(SERLIBPATH)/kmi/kmi
 
40
 
 
41
include ../../Makefile.modules