4 # Make symbols include file for Open Phone Abstraction library
6 # Copyright (c) 2001 Equivalence Pty. Ltd.
8 # The contents of this file are subject to the Mozilla Public License
9 # Version 1.0 (the "License"); you may not use this file except in
10 # compliance with the License. You may obtain a copy of the License at
11 # http://www.mozilla.org/MPL/
13 # Software distributed under the License is distributed on an "AS IS"
14 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
15 # the License for the specific language governing rights and limitations
18 # The Original Code is Open Phone Abstraction library.
20 # The Initial Developer of the Original Code is Equivalence Pty. Ltd.
22 # Contributor(s): ______________________________________.
25 # Revision 1.13 2006/10/10 07:18:18 csoutheren
26 # Allow compilation with and without various options
28 # Revision 1.12 2006/10/04 06:19:08 csoutheren
29 # Fixed SRTP configuration for Linux
31 # Revision 1.11 2006/06/27 13:50:23 csoutheren
32 # Patch 1375137 - Voicetronix patches and lid enhancements
33 # Thanks to Frederich Heem
35 # Revision 1.10 2006/05/30 12:04:09 hfriederich
36 # Enabling to build H.460
38 # Revision 1.9 2006/04/20 16:56:41 hfriederich
39 # Changes to allow compilation of H.224/H.281 code as well as to disable H.224 entirely
41 # Revision 1.8 2006/04/17 00:06:27 csoutheren
42 # Allow ILBC codec to be disabled and detect if not present
44 # Revision 1.7 2006/01/30 02:23:16 csoutheren
45 # First cut at fixing problem with speex libraries
47 # Revision 1.6 2005/12/06 06:34:10 csoutheren
48 # Added configure support for Sangoma and empty LID source and header files
50 # Revision 1.5 2005/07/30 07:39:26 csoutheren
51 # Added support for compiling new IAX2 code
53 # Revision 1.4 2005/01/15 09:19:39 csoutheren
54 # Fixed compile problems and IXJ link problems
56 # Revision 1.3 2004/12/05 18:14:20 dsandras
59 # Revision 1.2 2004/04/25 08:33:42 rjongbloed
60 # Removed detection of various LIDs as now in configure
62 # Revision 1.1 2004/03/16 04:27:18 csoutheren
65 # Revision 2.4 2002/09/11 05:55:40 robertj
66 # Fixed double inclusion of common.mak
67 # Added more directories to search to find pwlib
69 # Revision 2.3 2002/04/19 01:24:30 robertj
70 # Changed /usr/include to SYSINCDIR helps with X-compiling, thanks Bob Lindell
72 # Revision 2.2 2002/03/15 10:51:53 robertj
73 # Fixed problem with recursive inclusion on make files.
75 # Revision 2.1 2002/02/06 09:39:37 rogerh
76 # Look for telephony.h in the place where the FreeBSD port puts it
78 # Revision 2.0 2001/07/27 15:48:24 robertj
79 # Conversion of OpenH323 to Open Phone Abstraction Library (OPAL)
87 ifdef LIBRARY_MAKEFILE
88 include $(PWLIBDIR
)/make
/unix.mak
93 include $(PWLIBDIR
)/make
/ptlib.mak
96 OPAL_SRCDIR
= $(OPALDIR
)/src
97 OPAL_INCDIR
= $(OPALDIR
)/include
98 OPAL_LIBDIR
= $(OPALDIR
)/lib
100 OPAL_SIP
= @OPAL_SIP@
101 OPAL_H323
= @OPAL_H323@
102 OPAL_IAX2
= @OPAL_IAX2@
103 OPAL_LID
= @OPAL_LID@
104 OPAL_IVR
= @OPAL_IVR@
105 OPAL_H224
= @OPAL_H224@
106 OPAL_SYSTEM_SPEEX
= @OPAL_SYSTEM_SPEEX@
107 OPAL_SRTP
= @OPAL_SRTP@
108 HAS_LIBSRTP
= @HAS_LIBSRTP@
110 H323_H460
= @H323_H460@
113 STDCCFLAGS
+= -DPASN_NOPRINTON
-DPASN_LEANANDMEAN
116 STDCCFLAGS
+= -DPTRACING
117 RCFLAGS
+= -DPTRACING
118 OPAL_SUFFIX
= $(OBJ_SUFFIX
)
122 OPAL_BASE
= opal_
$(PLATFORM_TYPE
)_
$(OPAL_SUFFIX
)
123 OPAL_FILE
= lib
$(OPAL_BASE
)$(LIB_TYPE
).
$(LIB_SUFFIX
)
125 LDFLAGS
+= -L
$(OPAL_LIBDIR
)
126 LDLIBS
:= -l
$(OPAL_BASE
)$(LIB_TYPE
) $(LDLIBS
)
128 STDCCFLAGS
+= -I
$(OPAL_INCDIR
)
130 ifeq ($(HAS_LIBSRTP
), 1)
134 $(TARGET
) : $(OPAL_LIBDIR
)/$(OPAL_FILE
)
136 ifndef LIBRARY_MAKEFILE
139 $(OPAL_LIBDIR
)/$(OPAL_FILE
):
140 $(MAKE
) -C
$(OPALDIR
) debug
142 $(OPAL_LIBDIR
)/$(OPAL_FILE
):
143 $(MAKE
) -C
$(OPALDIR
) opt
146 libs
:: $(OPAL_LIBDIR
)/$(OPAL_FILE
)