source:
freewrt/package/asterisk/patches/asterisk-1.2.0-Makefile.patch@
428f140
| Last change on this file since 428f140 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 1.7 KB | |
-
asterisk-1.2.
diff -ruN asterisk-1.2.0-old/Makefile asterisk-1.2.0-new/Makefile
old new 341 339 netsock.o slinfactory.o ast_expr2.o ast_expr2f.o \ 342 340 cryptostub.o 343 341 344 ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/sys/poll.h),)345 OBJS+= poll.o346 ASTCFLAGS+=-DPOLLCOMPAT347 endif348 349 ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/dlfcn.h),)350 OBJS+= dlfcn.o351 ASTCFLAGS+=-DDLFCNCOMPAT352 endif353 354 342 ifeq ($(OSARCH),Linux) 355 343 LIBS+=-ldl -lpthread -lncurses -lm -lresolv #-lnjamd 356 344 else … … 401 389 HAVEDOT=no 402 390 endif 403 391 392 ifneq ($(NOCRYPTO),yes) 404 393 LIBS+=-lssl 394 endif 405 395 406 396 INSTALL=install 407 397 … … 430 420 cd editline && unset CFLAGS LIBS && ./configure ; \ 431 421 432 422 editline/libedit.a: FORCE 433 cd editline && unset CFLAGS LIBS && test -f config.h || ./configure423 cd editline && unset CFLAGS LIBS && test -f config.h || CFLAGS="$(OPTIMIZE) $(EXTRA_CFLAGS)" LDFLAGS="$(EXTRA_LDFLAGS)" ./configure 434 424 $(MAKE) -C editline libedit.a 435 425 436 426 db1-ast/libdb1.a: FORCE 437 427 @if [ -d db1-ast ]; then \ 438 $(MAKE) -C db1-ast libdb1.a ; \428 $(MAKE) OORG="$(OPTIMIZE)" -C db1-ast libdb1.a ; \ 439 429 else \ 440 430 echo "You need to do a cvs update -d not just cvs update"; \ 441 431 exit 1; \ … … 513 503 fi 514 504 rm -f include/asterisk/build.h.tmp 515 505 $(CC) -c -o buildinfo.o $(CFLAGS) buildinfo.c 516 $(CC) $(DEBUG) $(ASTOBJ) $(ASTLINK) $(OBJS) buildinfo.o $(LIBEDIT) db1-ast/libdb1.a stdtime/libtime.a $( LIBS)506 $(CC) $(DEBUG) $(ASTOBJ) $(ASTLINK) $(OBJS) buildinfo.o $(LIBEDIT) db1-ast/libdb1.a stdtime/libtime.a $(EXTRA_LDFLAGS) $(LIBS) 517 507 518 508 muted: muted.o 519 509 $(CC) $(AUDIO_LIBS) -o muted muted.o
Note:
See TracBrowser
for help on using the repository browser.
