summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-04-29 19:26:53 +0000
committerRussell Bryant <russell@russellbryant.com>2006-04-29 19:26:53 +0000
commitb97d58024e04a81974645403cfed1e001b496cde (patch)
tree51622f28f82bfcd9ed146e7c3aa3edad6874c41a /apps
parent28efe8a8459037df26f95e2a4f41883cd70ffb50 (diff)
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
Diffstat (limited to 'apps')
-rw-r--r--apps/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 68ce7e5b6..53a883d63 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