aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323/Makefile
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-02 18:58:47 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-02 18:58:47 +0000
commita767222eaa41d28592bf8d39c770b7dcba29d4a9 (patch)
treec52d425cb602b73c67af81d18a899eda2513313b /channels/h323/Makefile
parent1be54fe0540cbaff586357a6696c7ff4a17097b2 (diff)
Add make samples to the main Makefile
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@739 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/Makefile')
-rwxr-xr-xchannels/h323/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/channels/h323/Makefile b/channels/h323/Makefile
index 35745004d..efcc5daa8 100755
--- a/channels/h323/Makefile
+++ b/channels/h323/Makefile
@@ -12,6 +12,9 @@ ifndef ASTERISKDIR
ASTERISKDIR= /usr/lib/asterisk/modules
endif
+ifndef ASTETCDIR
+ASTETCDIR=/etc/asterisk
+endif
CFLAGS += -DNDEBUG -DDO_CRASH -DDEBUG_THREADS
CFLAGS = -pipe -Wall -fPIC -Wmissing-prototypes -Wmissing-declarations
@@ -33,6 +36,24 @@ debug: chan_h323_d.so
install: all
install -m 755 chan_h323.so $(ASTERISKDIR)
+ @echo " +----- chan_h323 Installation Complete ----- +"
+ @echo " + +"
+ @echo " + chan_h323 has successfully been installed. +"
+ @echo " + If you would like to install the sample +"
+ @echo " + configuration file (overwriting existing +"
+ @echo " + config file), run: +"
+ @echo " + +"
+ @echo " + make samples +"
+ @echo " + +"
+ @echo " + +"
+
+
+samples:
+ if [ -f $(ASTETCDIR)/h323.conf ]; then \
+ mv -f $(ASTETCDIR)/h323.conf $(ASTETCDIR)/h323.conf.old ; \
+ fi ;
+ install h323.conf.sample $(ASTETCDIR)/h323.conf
+
chan_h323.o: chan_h323.c
$(CC) -g -c -o $@ $(CFLAGS) $<