patch file cleanup... ick.. kaloz you owe me some love
[openwrt/svn-archive/archive.git] / net / asterisk / patches / 016-Makefile-pbx.patch
1 diff -Nru asterisk-1.2.14.org/pbx/Makefile asterisk-1.2.14/pbx/Makefile
2 --- asterisk-1.2.14.org/pbx/Makefile 2005-11-29 19:24:39.000000000 +0100
3 +++ asterisk-1.2.14/pbx/Makefile 2006-12-27 09:17:58.000000000 +0100
4 @@ -38,6 +38,9 @@
5
6 KDE_CONSOLE_OBJS=pbx_kdeconsole_main.o pbx_kdeconsole.o
7
8 +CFLAGS += $(EXTRA_CFLAGS)
9 +PBX_LIBS += $(EXTRA_PBX_MODULES)
10 +
11 all: depend $(PBX_LIBS)
12
13 clean:
14 @@ -59,7 +62,7 @@
15 $(CC) $(SOLINK) -o $@ $(KDE_CONSOLE_OBJS) $(KDE_LIBS)
16
17 pbx_dundi.so: dundi-parser.o pbx_dundi.o
18 - $(CC) $(SOLINK) -o $@ ${CYGSOLINK} pbx_dundi.o dundi-parser.o -lz ${CYGSOLIB}
19 + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} pbx_dundi.o dundi-parser.o $(EXTRA_LDFLAGS) -lz ${CYGSOLIB}
20
21 %.moc : %.h
22 $(MOC) $< -o $@