Added
Link Here
|
1 |
--- gtk-glade/Makefile.in.orig 2009-09-18 20:07:22.000000000 -0300 |
2 |
+++ gtk-glade/Makefile.in 2009-09-18 20:38:19.000000000 -0300 |
3 |
@@ -77,9 +77,6 @@ |
4 |
@BUILD_GLADE_UI_TRUE@@BUILD_WIN32_TRUE@am__DEPENDENCIES_2 = \ |
5 |
@BUILD_GLADE_UI_TRUE@@BUILD_WIN32_TRUE@ linphone.res |
6 |
@BUILD_GLADE_UI_TRUE@linphone_3_DEPENDENCIES = \ |
7 |
-@BUILD_GLADE_UI_TRUE@ $(top_builddir)/oRTP/src/libortp.la \ |
8 |
-@BUILD_GLADE_UI_TRUE@ $(top_builddir)/mediastreamer2/src/libmediastreamer.la \ |
9 |
-@BUILD_GLADE_UI_TRUE@ $(top_builddir)/coreapi/liblinphone.la \ |
10 |
@BUILD_GLADE_UI_TRUE@ $(am__DEPENDENCIES_1) \ |
11 |
@BUILD_GLADE_UI_TRUE@ $(am__DEPENDENCIES_1) \ |
12 |
@BUILD_GLADE_UI_TRUE@ $(am__DEPENDENCIES_1) \ |
13 |
@@ -335,9 +332,9 @@ |
14 |
@BUILD_GLADE_UI_TRUE@ linphone.h |
15 |
|
16 |
@BUILD_GLADE_UI_TRUE@linphone_3_LDADD = \ |
17 |
-@BUILD_GLADE_UI_TRUE@ $(top_builddir)/oRTP/src/libortp.la \ |
18 |
-@BUILD_GLADE_UI_TRUE@ $(top_builddir)/mediastreamer2/src/libmediastreamer.la \ |
19 |
-@BUILD_GLADE_UI_TRUE@ $(top_builddir)/coreapi/liblinphone.la \ |
20 |
+@BUILD_GLADE_UI_TRUE@ `$(PKG_CONFIG) --libs ortp` \ |
21 |
+@BUILD_GLADE_UI_TRUE@ `$(PKG_CONFIG) --libs mediastreamer` \ |
22 |
+@BUILD_GLADE_UI_TRUE@ `$(PKG_CONFIG) --libs linphone` \ |
23 |
@BUILD_GLADE_UI_TRUE@ $(LIBGTK_LIBS) $(INTLLIBS) \ |
24 |
@BUILD_GLADE_UI_TRUE@ $(LIBGLADE_LIBS) $(am__append_1) |
25 |
@BUILD_GLADE_UI_TRUE@@BUILD_WIN32_FALSE@linphone_3_LDFLAGS = -export-dynamic |
26 |
@@ -349,10 +346,12 @@ |
27 |
|
28 |
#gtk-linphone.ui: gtk-linphone.glade |
29 |
# gtk-builder-convert gtk-linphone.glade $@ |
30 |
-AM_CFLAGS = -DIN_LINPHONE -I$(top_srcdir)/coreapi/ \ |
31 |
- -I$(top_srcdir)/mediastreamer2/include/ \ |
32 |
+AM_CFLAGS = -DIN_LINPHONE \ |
33 |
+ `$(PKG_CONFIG) --cflags ortp` \ |
34 |
+ `$(PKG_CONFIG) --cflags mediastreamer` \ |
35 |
+ `$(PKG_CONFIG) --cflags linphone` \ |
36 |
$(LIBGLADE_CFLAGS) $(STRICT_OPTIONS) $(LIBGTK_CFLAGS) $(IPV6_CFLAGS) \ |
37 |
- $(ORTP_CFLAGS) $(OSIP_CFLAGS) |
38 |
+ $(OSIP_CFLAGS) |
39 |
|
40 |
CLEANFILES = version_date.h |
41 |
all: $(BUILT_SOURCES) |