blob: 17e76340edb5228bb4436fc9e6a77e888ecf31ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
$NetBSD: patch-ac,v 1.2 2002/12/03 21:48:18 jdolecek Exp $
--- openh323u.mak.orig Tue Nov 5 03:18:03 2002
+++ openh323u.mak Tue Dec 3 22:01:59 2002
@@ -107,19 +107,19 @@
ifneq (,$(wildcard $(HOME)/pwlib))
PWLIBDIR=$(HOME)/pwlib
else
-PWLIBDIR=/usr/local/pwlib
+PWLIBDIR= @PREFIX@
endif
endif
endif
ifdef LIBRARY_MAKEFILE
-include $(PWLIBDIR)/make/unix.mak
+include $(PWLIBDIR)/share/pwlib/make/unix.mak
else
ifdef NOTRACE
OBJDIR_SUFFIX := n
endif
-include $(PWLIBDIR)/make/ptlib.mak
+include $(PWLIBDIR)/share/pwlib/make/ptlib.mak
endif
@@ -129,7 +129,7 @@
OH323_SRCDIR = $(OPENH323DIR)/src
-OH323_INCDIR = $(OPENH323DIR)/include
+OH323_INCDIR = $(OPENH323DIR)/include/openh323
OH323_LIBDIR = $(OPENH323DIR)/lib
@@ -152,7 +152,7 @@
-OH323_BASE = h323_$(PLATFORM_TYPE)_$(OH323_SUFFIX)$(LIB_TYPE)
+OH323_BASE = h323
OH323_FILE = lib$(OH323_BASE).$(LIB_SUFFIX)
LDFLAGS += -L$(OH323_LIBDIR)
@@ -187,6 +187,11 @@
STDCCFLAGS += -DHAS_OSS
endif
+ifneq (,$(wildcard $(SYSINCDIR)/soundcard.h))
+HAS_OSS = 1
+STDCCFLAGS += -DHAS_OSS
+endif
+
#Allow disabling of speex codec
ifdef NO_SPEEX
STDCCFLAGS += -DNO_SPEEX
|