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.11 2006/06/27 13:50:23 csoutheren
26 # Patch 1375137 - Voicetronix patches and lid enhancements
27 # Thanks to Frederich Heem
29 # Revision 1.10 2006/05/30 12:04:09 hfriederich
30 # Enabling to build H.460
32 # Revision 1.9 2006/04/20 16:56:41 hfriederich
33 # Changes to allow compilation of H.224/H.281 code as well as to disable H.224 entirely
35 # Revision 1.8 2006/04/17 00:06:27 csoutheren
36 # Allow ILBC codec to be disabled and detect if not present
38 # Revision 1.7 2006/01/30 02:23:16 csoutheren
39 # First cut at fixing problem with speex libraries
41 # Revision 1.6 2005/12/06 06:34:10 csoutheren
42 # Added configure support for Sangoma and empty LID source and header files
44 # Revision 1.5 2005/07/30 07:39:26 csoutheren
45 # Added support for compiling new IAX2 code
47 # Revision 1.4 2005/01/15 09:19:39 csoutheren
48 # Fixed compile problems and IXJ link problems
50 # Revision 1.3 2004/12/05 18:14:20 dsandras
53 # Revision 1.2 2004/04/25 08:33:42 rjongbloed
54 # Removed detection of various LIDs as now in configure
56 # Revision 1.1 2004/03/16 04:27:18 csoutheren
59 # Revision 2.4 2002/09/11 05:55:40 robertj
60 # Fixed double inclusion of common.mak
61 # Added more directories to search to find pwlib
63 # Revision 2.3 2002/04/19 01:24:30 robertj
64 # Changed /usr/include to SYSINCDIR helps with X-compiling, thanks Bob Lindell
66 # Revision 2.2 2002/03/15 10:51:53 robertj
67 # Fixed problem with recursive inclusion on make files.
69 # Revision 2.1 2002/02/06 09:39:37 rogerh
70 # Look for telephony.h in the place where the FreeBSD port puts it
72 # Revision 2.0 2001/07/27 15:48:24 robertj
73 # Conversion of OpenH323 to Open Phone Abstraction Library (OPAL)
77 HAS_SANGOMA
=@HAS_SANGOMA@
86 ifdef LIBRARY_MAKEFILE
87 include $(PWLIBDIR
)/make
/unix.mak
92 include $(PWLIBDIR
)/make
/ptlib.mak
97 OPAL_SRCDIR
= $(OPALDIR
)/src
98 OPAL_INCDIR
= $(OPALDIR
)/include
99 OPAL_LIBDIR
= $(OPALDIR
)/lib
101 OPAL_SIP
= @OPAL_SIP@
102 OPAL_H323
= @OPAL_H323@
103 OPAL_IAX2
= @OPAL_IAX2@
104 OPAL_LID
= @OPAL_LID@
105 OPAL_H224
= @OPAL_H224@
106 OPAL_SYSTEM_SPEEX
= @OPAL_SYSTEM_SPEEX@
107 OPAL_ILBC
= @OPAL_ILBC@
109 H323_H460
= @H323_H460@
112 STDCCFLAGS
+= -DPASN_NOPRINTON
-DPASN_LEANANDMEAN
115 STDCCFLAGS
+= -DPTRACING
116 RCFLAGS
+= -DPTRACING
117 OPAL_SUFFIX
= $(OBJ_SUFFIX
)
121 OPAL_BASE
= opal_
$(PLATFORM_TYPE
)_
$(OPAL_SUFFIX
)
122 OPAL_FILE
= lib
$(OPAL_BASE
)$(LIB_TYPE
).
$(LIB_SUFFIX
)
124 LDFLAGS
+= -L
$(OPAL_LIBDIR
)
125 LDLIBS
:= -l
$(OPAL_BASE
)$(LIB_TYPE
) $(LDLIBS
)
127 STDCCFLAGS
+= -I
$(OPAL_INCDIR
)
133 $(TARGET
) : $(OPAL_LIBDIR
)/$(OPAL_FILE
)
135 ifndef LIBRARY_MAKEFILE
138 $(OPAL_LIBDIR
)/$(OPAL_FILE
):
139 $(MAKE
) -C
$(OPALDIR
) debug
141 $(OPAL_LIBDIR
)/$(OPAL_FILE
):
142 $(MAKE
) -C
$(OPALDIR
) opt
145 libs
:: $(OPAL_LIBDIR
)/$(OPAL_FILE
)