blob: 9317fd2a8217588a3b8381e3c8766a4d68869acb (
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
58
59
60
61
62
63
|
--- openh323u.mak.in.orig 2003-11-03 19:05:49.000000000 +0100
+++ openh323u.mak.in 2003-11-03 19:07:11.000000000 +0100
@@ -127,12 +127,26 @@
#
PWLIBDIR = @PWLIBDIR@
-STDCCFLAGS += @STDCCFLAGS@
LDFLAGS += @LDFLAGS@
ENDLDLIBS := @ENDLDLIBS@ $(ENDLDLIBS)
H323_AVCODEC = @H323_AVCODEC@
H323_VICH263 = @H323_VICH263@
+#
+# stkn@gentoo.org
+# moved stuff around, this should fix problems with include order
+# blame me if this breaks things...
+#
+OH323_SRCDIR = $(OPENH323DIR)/src
+ifdef PREFIX
+OH323_INCDIR = $(PREFIX)/include/openh323
+else
+OH323_INCDIR = $(OPENH323DIR)/include
+endif
+OH323_LIBDIR = $(OPENH323DIR)/lib
+
+STDCCFLAGS += -I$(OH323_INCDIR) @STDCCFLAGS@
+
ifdef LIBRARY_MAKEFILE
include $(PWLIBDIR)/make/unix.mak
else
@@ -147,16 +161,6 @@
#OH323_SUPPRESS_H235 = 1
-
-OH323_SRCDIR = $(OPENH323DIR)/src
-ifdef PREFIX
-OH323_INCDIR = $(PREFIX)/include/openh323
-else
-OH323_INCDIR = $(OPENH323DIR)/include
-endif
-OH323_LIBDIR = $(OPENH323DIR)/lib
-
-
ifdef NOTRACE
STDCCFLAGS += -DPASN_NOPRINTON -DPASN_LEANANDMEAN
OH323_SUFFIX = n
@@ -175,15 +179,12 @@
endif
-
OH323_BASE = h323_$(PLATFORM_TYPE)_$(OH323_SUFFIX)$(LIB_TYPE)
OH323_FILE = lib$(OH323_BASE).$(LIB_SUFFIX)
LDFLAGS += -L$(OH323_LIBDIR)
LDLIBS := -l$(OH323_BASE) $(LDLIBS)
-STDCCFLAGS += -I$(OH323_INCDIR)
-
ifneq ($(OS),Nucleus)
|