2 # Asterisk -- A telephony toolkit for Linux.
4 # Makefile for CDR backends (dynamically loaded)
6 # Copyright (C) 1999, Mark Spencer
8 # Mark Spencer <markster@linux-support.net>
10 # This program is free software, distributed under the terms of
11 # the GNU General Public License
14 MODS=res_adsi.so res_parking.so res_crypto.so res_musiconhold.so res_indications.so
16 CRYPTO_LIBS=-lssl -lcrypto
19 CFLAGS+=$(shell [ -f /usr/include/zap.h ] && echo " -DZAPATA_MOH")
24 for x in $(MODS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done
26 res_crypto.so: res_crypto.o
27 $(CC) -shared -Xlinker -x -o $@ $< $(CRYPTO_LIBS)
33 $(CC) -shared -Xlinker -x -o $@ $<