aboutsummaryrefslogtreecommitdiffstats
path: root/apps/Makefile
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-29 19:26:53 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-29 19:26:53 +0000
commita2120a0a67756bad560f19b714544663875641d2 (patch)
tree51622f28f82bfcd9ed146e7c3aa3edad6874c41a /apps/Makefile
parent4ccacc7ac4bc25a30b74186ed0a964e9efd0b266 (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: http://svn.digium.com/svn/asterisk/trunk@23422 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/Makefile')
-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