From 84946195e9c66e97c38c05664c4a0f5ea9598338 Mon Sep 17 00:00:00 2001
From: Paul Cadach <paul@odt.east.telecom.kz>
Date: Wed, 20 Sep 2006 17:45:25 +0000
Subject: [PATCH] Change file naming to be conform OpenH323 rules

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/h323/Makefile.in                          | 12 +-----------
 channels/h323/{ast_h323.cpp => ast_h323.cxx}       |  0
 channels/h323/{cisco-h225.cpp => cisco-h225.cxx}   |  0
 channels/h323/{compat_h323.cpp => compat_h323.cxx} |  0
 4 files changed, 1 insertion(+), 11 deletions(-)
 rename channels/h323/{ast_h323.cpp => ast_h323.cxx} (100%)
 rename channels/h323/{cisco-h225.cpp => cisco-h225.cxx} (100%)
 rename channels/h323/{compat_h323.cpp => compat_h323.cxx} (100%)

diff --git a/channels/h323/Makefile.in b/channels/h323/Makefile.in
index 357313d0b6..7558a7ce37 100644
--- a/channels/h323/Makefile.in
+++ b/channels/h323/Makefile.in
@@ -29,15 +29,6 @@ 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 $@
 
@@ -46,7 +37,6 @@ libchanh323.a:	$(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
@@ -55,4 +45,4 @@ Makefile.ast:
 	@if [ -r $@ ] && cmp -s $@ $@.tmp; then rm -f $@.tmp; else mv -f $@.tmp $@; fi
 
 clean::
-	rm -f $(SOURCES) $(TARGET) $(OBJS) Makefile.ast *.dep
+	rm -f $(TARGET) $(OBJS) Makefile.ast *.dep
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cxx
similarity index 100%
rename from channels/h323/ast_h323.cpp
rename to channels/h323/ast_h323.cxx
diff --git a/channels/h323/cisco-h225.cpp b/channels/h323/cisco-h225.cxx
similarity index 100%
rename from channels/h323/cisco-h225.cpp
rename to channels/h323/cisco-h225.cxx
diff --git a/channels/h323/compat_h323.cpp b/channels/h323/compat_h323.cxx
similarity index 100%
rename from channels/h323/compat_h323.cpp
rename to channels/h323/compat_h323.cxx
-- 
GitLab