summaryrefslogtreecommitdiff
path: root/channels/h323
diff options
context:
space:
mode:
authorJeremy McNamara <jj@nufone.net>2004-04-21 02:28:05 +0000
committerJeremy McNamara <jj@nufone.net>2004-04-21 02:28:05 +0000
commit87e84064d2473c16a161d84e4562a29d17eafa9e (patch)
treea7c842e4df791bdae9e42d65fd694f85ff4e4a9e /channels/h323
parent0134d2cc85ffd8c98295431d9deed56f3dcd051c (diff)
rollback to pre-janus, for the moment
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/h323')
-rwxr-xr-xchannels/h323/Makefile21
1 files changed, 16 insertions, 5 deletions
diff --git a/channels/h323/Makefile b/channels/h323/Makefile
index fdfd1f552..7bfd7122e 100755
--- a/channels/h323/Makefile
+++ b/channels/h323/Makefile
@@ -26,15 +26,26 @@ CFLAGS += -march=$(shell uname -m) -DPBYTE_ORDER=PLITTLE_ENDIAN
#
# Only change below if you know WTF your doing
#
-OSARCH=$(shell uname -s)
+#
+# Janus release directives, comment below if your brave enough for Janus
+#OSARCH=$(shell uname -s)
+#CFLAGS += -DNDEBUG -DDO_CRASH -DDEBUG_THREADS
+#CFLAGS += -pipe -Wall -fPIC -Wmissing-prototypes -Wmissing-declarations
+#CFLAGS += -D_REENTRANT -D_GNU_SOURCE
+#CFLAGS += -I../../include
+#CFLAGS += -I$(PWLIBDIR)/include
+#CFLAGS += -I$(OPENH323DIR)/include -Wno-missing-prototypes -Wno-missing-declarations
+
+# Pre Janus release directives
CFLAGS += -DNDEBUG -DDO_CRASH -DDEBUG_THREADS
-CFLAGS += -pipe -Wall -fPIC -Wmissing-prototypes -Wmissing-declarations
-CFLAGS += -D_REENTRANT -D_GNU_SOURCE
+CFLAGS += -pipe -Wall -fPIC -Wmissing-prototypes -Wmissing-declarations
+CFLAGS += -DP_LINUX -D_REENTRANT -D_GNU_SOURCE
+CFLAGS += -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS
+CFLAGS += -DPHAS_TEMPLATES -DPTRACING -DP_USE_PRAGMA
CFLAGS += -I../../include
-CFLAGS += -I$(PWLIBDIR)/include
+CFLAGS += -I$(PWLIBDIR)/include/ptlib/unix -I$(PWLIBDIR)/include
CFLAGS += -I$(OPENH323DIR)/include -Wno-missing-prototypes -Wno-missing-declarations
-
all: libchanh323.a
samples: