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.9 2006/04/20 16:56:41 hfriederich
26 # Changes to allow compilation of H.224/H.281 code as well as to disable H.224 entirely
28 # Revision 1.8 2006/04/17 00:06:27 csoutheren
29 # Allow ILBC codec to be disabled and detect if not present
31 # Revision 1.7 2006/01/30 02:23:16 csoutheren
32 # First cut at fixing problem with speex libraries
34 # Revision 1.6 2005/12/06 06:34:10 csoutheren
35 # Added configure support for Sangoma and empty LID source and header files
37 # Revision 1.5 2005/07/30 07:39:26 csoutheren
38 # Added support for compiling new IAX2 code
40 # Revision 1.4 2005/01/15 09:19:39 csoutheren
41 # Fixed compile problems and IXJ link problems
43 # Revision 1.3 2004/12/05 18:14:20 dsandras
46 # Revision 1.2 2004/04/25 08:33:42 rjongbloed
47 # Removed detection of various LIDs as now in configure
49 # Revision 1.1 2004/03/16 04:27:18 csoutheren
52 # Revision 2.4 2002/09/11 05:55:40 robertj
53 # Fixed double inclusion of common.mak
54 # Added more directories to search to find pwlib
56 # Revision 2.3 2002/04/19 01:24:30 robertj
57 # Changed /usr/include to SYSINCDIR helps with X-compiling, thanks Bob Lindell
59 # Revision 2.2 2002/03/15 10:51:53 robertj
60 # Fixed problem with recursive inclusion on make files.
62 # Revision 2.1 2002/02/06 09:39:37 rogerh
63 # Look for telephony.h in the place where the FreeBSD port puts it
65 # Revision 2.0 2001/07/27 15:48:24 robertj
66 # Conversion of OpenH323 to Open Phone Abstraction Library (OPAL)
70 HAS_SANGOMA
=@HAS_SANGOMA@
79 ifdef LIBRARY_MAKEFILE
80 include $(PWLIBDIR
)/make
/unix.mak
85 include $(PWLIBDIR
)/make
/ptlib.mak
90 OPAL_SRCDIR
= $(OPALDIR
)/src
91 OPAL_INCDIR
= $(OPALDIR
)/include
92 OPAL_LIBDIR
= $(OPALDIR
)/lib
95 OPAL_H323
= @OPAL_H323@
96 OPAL_IAX2
= @OPAL_IAX2@
97 OPAL_H224
= @OPAL_H224@
98 OPAL_SYSTEM_SPEEX
= @OPAL_SYSTEM_SPEEX@
99 OPAL_ILBC
= @OPAL_ILBC@
102 STDCCFLAGS
+= -DPASN_NOPRINTON
-DPASN_LEANANDMEAN
105 STDCCFLAGS
+= -DPTRACING
106 RCFLAGS
+= -DPTRACING
107 OPAL_SUFFIX
= $(OBJ_SUFFIX
)
111 OPAL_BASE
= opal_
$(PLATFORM_TYPE
)_
$(OPAL_SUFFIX
)
112 OPAL_FILE
= lib
$(OPAL_BASE
)$(LIB_TYPE
).
$(LIB_SUFFIX
)
114 LDFLAGS
+= -L
$(OPAL_LIBDIR
)
115 LDLIBS
:= -l
$(OPAL_BASE
)$(LIB_TYPE
) $(LDLIBS
)
117 STDCCFLAGS
+= -I
$(OPAL_INCDIR
)
120 $(TARGET
) : $(OPAL_LIBDIR
)/$(OPAL_FILE
)
122 ifndef LIBRARY_MAKEFILE
125 $(OPAL_LIBDIR
)/$(OPAL_FILE
):
126 $(MAKE
) -C
$(OPALDIR
) debug
128 $(OPAL_LIBDIR
)/$(OPAL_FILE
):
129 $(MAKE
) -C
$(OPALDIR
) opt
132 libs
:: $(OPAL_LIBDIR
)/$(OPAL_FILE
)