From b97d58024e04a81974645403cfed1e001b496cde Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Sat, 29 Apr 2006 19:26:53 +0000
Subject: [PATCH] revert the last change to this Makefile which removed the
 rules to build app_apt.  These rules *are* needed beacause this module uses
 libtonezone, so it needs this information from autoconf in case it is located
 in a non-standard location.  Also, without it, app_rpt.so would not be linked
 with libtonezone at all.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 apps/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/apps/Makefile b/apps/Makefile
index 68ce7e5b6a..53a883d636 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -37,6 +37,12 @@ clean: clean-depend
 %.so: %.o
 	$(CC) $(SOLINK) -o $@ $<
 
+app_rpt.so: app_rpt.o
+	$(CC) $(SOLINK) -o $@ $< $(ZAPTEL_LIB)
+
+app_rpt.o: app_rpt.c
+	$(CC) $(SOLINK) -o $@ $< $(ZAPTEL_INCLUDE)
+
 install: all
 	for x in $(MODS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done
 	rm -f $(DESTDIR)$(MODULES_DIR)/app_cut.so
-- 
GitLab