@ -32,6 +32,8 @@ UTILS:=$(ALL_UTILS)
LIBS += $( BKTR_LIB) # astobj2 with devmode uses backtrace
LIBS += $( BKTR_LIB) # astobj2 with devmode uses backtrace
_ASTCFLAGS += -DSTANDALONE
i n c l u d e $( ASTTOPDIR ) / M a k e f i l e . r u l e s
i n c l u d e $( ASTTOPDIR ) / M a k e f i l e . r u l e s
i f e q ( $( OSARCH ) , S u n O S )
i f e q ( $( OSARCH ) , S u n O S )
@ -91,11 +93,10 @@ clean:
md5.c : $( ASTTOPDIR ) /main /md 5.c
md5.c : $( ASTTOPDIR ) /main /md 5.c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
md5.o : ASTCFLAGS +=-DSTANDALONE
astman : astman .o md 5.o
astman : astman .o md 5.o
astman : LIBS +=$( NEWT_LIB )
astman : LIBS +=$( NEWT_LIB )
astman.o : ASTCFLAGS+=-DNO_MALLOC_DEBUG -DSTANDALONE
astman.o : _ ASTCFLAGS+=-DNO_MALLOC_DEBUG
stereorize : stereorize .o frame .o
stereorize : stereorize .o frame .o
stereorize : LIBS +=-lm
stereorize : LIBS +=-lm
@ -104,22 +105,17 @@ hashtab.c: $(ASTTOPDIR)/main/hashtab.c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
hashtab.o : ASTCFLAGS +=-DSTANDALONE
strcompat.c : $( ASTTOPDIR ) /main /strcompat .c
strcompat.c : $( ASTTOPDIR ) /main /strcompat .c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
strcompat.o : ASTCFLAGS +=-DSTANDALONE
pval.c : $( ASTTOPDIR ) /res /ael /pval .c
pval.c : $( ASTTOPDIR ) /res /ael /pval .c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
pval.o : ASTCFLAGS +=-DSTANDALONE
ast_expr2.c : $( ASTTOPDIR ) /main /ast_expr 2.c
ast_expr2.c : $( ASTTOPDIR ) /main /ast_expr 2.c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
ast_expr2.o : ASTCFLAGS +=-DSTANDALONE
ast_expr2.h : $( ASTTOPDIR ) /main /ast_expr 2.h
ast_expr2.h : $( ASTTOPDIR ) /main /ast_expr 2.h
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
@ -128,74 +124,61 @@ ast_expr2.h: $(ASTTOPDIR)/main/ast_expr2.h
ast_expr2f.c : $( ASTTOPDIR ) /main /ast_expr 2f .c
ast_expr2f.c : $( ASTTOPDIR ) /main /ast_expr 2f .c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
ast_expr2f.o : ASTCFLAGS+=-DSTANDALONE -I $( ASTTOPDIR ) /main -Wno -unused
ast_expr2f.o : _ ASTCFLAGS+=-I $( ASTTOPDIR ) /main -Wno -unused
check_expr : check_expr .o ast_expr 2.o ast_expr 2f .o strcompat .o threadstorage .o clicompat .o
check_expr : check_expr .o ast_expr 2.o ast_expr 2f .o strcompat .o threadstorage .o clicompat .o
check_expr.o : ASTCFLAGS +=-DSTANDALONE
aelbison.c : $( ASTTOPDIR ) /res /ael /ael .tab .c
aelbison.c : $( ASTTOPDIR ) /res /ael /ael .tab .c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
aelbison.o : ASTCFLAGS+=-I $( ASTTOPDIR ) /res /ael -DYYENABLE_NLS =0 -DSTANDALONE
aelbison.o : _ ASTCFLAGS+=-I $( ASTTOPDIR ) /res /ael -DYYENABLE_NLS =0
pbx_ael.c : $( ASTTOPDIR ) /pbx /pbx_ael .c
pbx_ael.c : $( ASTTOPDIR ) /pbx /pbx_ael .c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
pbx_ael.o : ASTCFLAGS +=-DSTANDALONE
aelparse.c : $( ASTTOPDIR ) /res /ael /ael_lex .c
aelparse.c : $( ASTTOPDIR ) /res /ael /ael_lex .c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
ael_main.o : ASTCFLAGS +=-DSTANDALONE
aelparse.o : _ASTCFLAGS +=-I $( ASTTOPDIR ) /res -Wno -unused
aelparse.o : ASTCFLAGS +=-I $( ASTTOPDIR ) /res -DSTANDALONE -Wno -unused
aelparse : LIBS +=-lm
aelparse : LIBS +=-lm
aelparse : aelparse .o aelbison .o pbx_ael .o hashtab .o ael_main .o ast_expr 2f .o ast_expr 2.o strcompat .o pval .o extconf .o
aelparse : aelparse .o aelbison .o pbx_ael .o hashtab .o ael_main .o ast_expr 2f .o ast_expr 2.o strcompat .o pval .o extconf .o
astobj2.c : $( ASTTOPDIR ) /main /astobj 2.c
astobj2.c : $( ASTTOPDIR ) /main /astobj 2.c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
astobj2.o : ASTCFLAGS +=-DSTANDALONE
utils.c : $( ASTTOPDIR ) /main /utils .c
utils.c : $( ASTTOPDIR ) /main /utils .c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
utils.o : ASTCFLAGS +=-DSTANDALONE
poll.c : $( ASTTOPDIR ) /main /poll .c
poll.c : $( ASTTOPDIR ) /main /poll .c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
poll.o : ASTCFLAGS +=-DSTANDALONE
strings.c : $( ASTTOPDIR ) /main /strings .c
strings.c : $( ASTTOPDIR ) /main /strings .c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
strings.o : ASTCFLAGS +=-DSTANDALONE
sha1.c : $( ASTTOPDIR ) /main /sha 1.c
sha1.c : $( ASTTOPDIR ) /main /sha 1.c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
sha1.o : ASTCFLAGS +=-DSTANDALONE
threadstorage.c : $( ASTTOPDIR ) /main /threadstorage .c
threadstorage.c : $( ASTTOPDIR ) /main /threadstorage .c
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( ECHO_PREFIX) echo " [CP] $( subst $( ASTTOPDIR) /,,$<) -> $@ "
$( CMD_PREFIX) cp " $< " " $@ "
$( CMD_PREFIX) cp " $< " " $@ "
threadstorage.o : ASTCFLAGS +=-DSTANDALONE
hashtest2.o : ASTCFLAGS+=-O 0 -DSTANDALONE
hashtest2.o : _ ASTCFLAGS+=-O 0
hashtest2 : hashtest 2.o md 5.o utils .o strings .o astobj 2.o sha 1.o strcompat .o threadstorage .o clicompat .o poll .o
hashtest2 : hashtest 2.o md 5.o utils .o strings .o astobj 2.o sha 1.o strcompat .o threadstorage .o clicompat .o poll .o
hashtest : hashtest .o md 5.o hashtab .o utils .o strings .o sha 1.o strcompat .o threadstorage .o clicompat .o poll .o
hashtest : hashtest .o md 5.o hashtab .o utils .o strings .o sha 1.o strcompat .o threadstorage .o clicompat .o poll .o
hashtest.o : ASTCFLAGS+=-O 0 -DSTANDALONE
hashtest.o : _ ASTCFLAGS+=-O 0
refcounter : refcounter .o md 5.o hashtab .o utils .o strings .o sha 1.o strcompat .o threadstorage .o clicompat .o poll .o
refcounter : refcounter .o md 5.o hashtab .o utils .o strings .o sha 1.o strcompat .o threadstorage .o clicompat .o poll .o
refcounter.o : ASTCFLAGS+=-O 0 -DSTANDALONE
refcounter.o : _ ASTCFLAGS+=-O 0
extconf.o : extconf .c
extconf.o : extconf .c
extconf.o : ASTCFLAGS +=-DSTANDALONE
conf2ael.o : ASTCFLAGS +=-DSTANDALONE
conf2ael : conf 2ael .o ast_expr 2f .o ast_expr 2.o hashtab .o aelbison .o aelparse .o pbx_ael .o pval .o extconf .o strcompat .o
conf2ael : conf 2ael .o ast_expr 2f .o ast_expr 2.o hashtab .o aelbison .o aelparse .o pbx_ael .o pval .o extconf .o strcompat .o
@ -210,8 +193,6 @@ check_expr2: $(ASTTOPDIR)/main/ast_expr2f.c $(ASTTOPDIR)/main/ast_expr2.c $(ASTT
rm ast_expr2z.o ast_expr2fz.o
rm ast_expr2z.o ast_expr2fz.o
./check_expr2 expr2.testinput
./check_expr2 expr2.testinput
smsq.o : ASTCFLAGS +=-DSTANDALONE
smsq : smsq .o strcompat .o
smsq : smsq .o strcompat .o
smsq : LIBS +=$( POPT_LIB )
smsq : LIBS +=$( POPT_LIB )