mirror of
https://github.com/asterisk/asterisk.git
synced 2026-01-06 18:13:45 +00:00
dep fix, pbx fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
11
pbx/Makefile
11
pbx/Makefile
@@ -31,10 +31,10 @@ CFLAGS+=-fPIC
|
||||
|
||||
KDE_CONSOLE_OBJS=pbx_kdeconsole_main.o pbx_kdeconsole.o
|
||||
|
||||
all: $(PBX_LIBS)
|
||||
all: depend $(PBX_LIBS)
|
||||
|
||||
clean:
|
||||
rm -f *.so *.o
|
||||
rm -f *.so *.o .depend
|
||||
|
||||
pbx_gtkconsole.o: pbx_gtkconsole.c
|
||||
$(CC) $(CFLAGS) $(GTK_FLAGS) -c -o $@ $<
|
||||
@@ -57,5 +57,12 @@ pbx_kdeconsole.so: $(KDE_CONSOLE_OBJS)
|
||||
%.so : %.o
|
||||
$(CC) -shared -Xlinker -x -o $@ $<
|
||||
|
||||
include .depend
|
||||
|
||||
install: all
|
||||
for x in $(PBX_LIBS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done
|
||||
|
||||
depend: .depend
|
||||
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
|
||||
Reference in New Issue
Block a user