aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorbweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-06 15:17:16 +0000
committerbweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-06 15:17:16 +0000
commit5f2a3f15f5aa213e6d6c1f88fd511083c9121d39 (patch)
treeb1b878d79b7e7457c809161a5006e9b31b4c2816 /channels
parent73b95cbe668bcde776fc1a5abe42f442a5cb3a29 (diff)
Cleanup the Makefile so that we only attempt to include a file when we're building and not 'clean'ing so 'make clean' completes successfully. chan_h323 maintainer: please check to make sure I haven't broken your build target. From: jsmith in #asterisk-dev
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@58008 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/h323/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/h323/Makefile b/channels/h323/Makefile
index 0e9266164..6ce7c2f18 100644
--- a/channels/h323/Makefile
+++ b/channels/h323/Makefile
@@ -21,7 +21,8 @@ ifndef OPENH323DIR
OPENH323DIR=$(HOME)/openh323
endif
-include $(OPENH323DIR)/openh323u.mak
+clean:
+ rm -f *.so *.o .depend
$(SOURCES):: $(SOURCES:.cxx=.cpp)
ln -f $< $@
@@ -30,6 +31,7 @@ $(SOURCES):: Makefile ../../Makefile
touch $(SOURCES)
libchanh323.a: $(OBJS)
+ include $(OPENH323DIR)/openh323u.mak
ar crv $@ $(OBJS)
Makefile.ast: FORCE