aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323/Makefile
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-20 16:24:00 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-20 16:24:00 +0000
commitcf87c5b3b6a3f14a0ff55672e183ed4c861b39f2 (patch)
tree8e6cb2975b2442a3fddb0d342d5356db5276a6d7 /channels/h323/Makefile
parent96e43c825ca6c091b2eb6d2a22e86ed8eb48e0c5 (diff)
Merge in latest round of chan_h323 changes. These are all isolated to chan_h323 so meh.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43331 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/Makefile')
-rw-r--r--channels/h323/Makefile58
1 files changed, 0 insertions, 58 deletions
diff --git a/channels/h323/Makefile b/channels/h323/Makefile
deleted file mode 100644
index eea355ebd..000000000
--- a/channels/h323/Makefile
+++ /dev/null
@@ -1,58 +0,0 @@
-#
-# Makefile
-#
-# Make file for OpenH323 support layer
-#
-
-.PHONY: Makefile.ast clean
-
-default::
-
-# Verify those options with main Makefile
-STDCCFLAGS = -DNDEBUG
-STDCCFLAGS += -I../../include -include ../../include/asterisk/autoconfig.h
-STDCCFLAGS += -fPIC
-#OPTCCFLAGS +=
-CFLAGS = -pipe
-TARGET = libchanh323.a
-TARGET += Makefile.ast
-SOURCES = ast_h323.cxx compat_h323.cxx cisco-h225.cxx
-OBJDIR = .
-OBJS =
-
-ifndef OPENH323DIR
-OPENH323DIR=
-endif
-
-include $(OPENH323DIR)/openh323u.mak
-
-notrace::
- $(MAKE) NOTRACE=1 opt
-
-define module_cxx_template
-$(1):: $(2)
- ln -f $(2) $(1)
-endef
-
-$(foreach mod,$(SOURCES),$(eval $(call module_cxx_template,$(mod),$(mod:.cxx=.cpp))))
-#$(SOURCES):: $(SOURCES:.cxx=.cpp)
-# ln -f $(patsubst %.cxx, %.cpp, $@) $@
-
-$(SOURCES):: Makefile ../../Makefile
- touch $@
-
-libchanh323.a: $(OBJS)
- ar crv $@ $(OBJS)
-
-cisco-h225.cpp:: cisco-h225.asn
- asnparser -m CISCO_H225 -c $<
- mv -f cisco-h225.cxx cisco-h225.cpp
-
-Makefile.ast:
- @echo H323CFLAGS = $(STDCCFLAGS) $(OPTCCFLAGS) $(CFLAGS) >$@.tmp
- @echo H323LDFLAGS = $(CFLAGS) $(LDFLAGS) >>$@.tmp
- @echo H323LDLIBS = $(LDLIBS) $(ENDLDLIBS) $(ENDLDFLAGS) >>$@.tmp
- @if [ -r $@ ] && cmp -s $@ $@.tmp; then rm -f $@.tmp; else mv -f $@.tmp $@; fi
-
-clean::
- rm -f $(SOURCES) $(TARGET) $(OBJS) Makefile.ast *.dep