2005-06-20 17:26:08 +00:00
|
|
|
#
|
|
|
|
|
# Asterisk -- A telephony toolkit for Linux.
|
|
|
|
|
#
|
|
|
|
|
# Various utilities
|
|
|
|
|
#
|
2006-04-24 17:11:45 +00:00
|
|
|
# Copyright (C) 1999-2006, Digium
|
2005-06-20 17:26:08 +00:00
|
|
|
#
|
|
|
|
|
# Mark Spencer <markster@digium.com>
|
|
|
|
|
#
|
|
|
|
|
# This program is free software, distributed under the terms of
|
|
|
|
|
# the GNU General Public License
|
|
|
|
|
#
|
|
|
|
|
|
2007-12-10 08:40:59 +00:00
|
|
|
ASTTOPDIR?=..
|
2007-12-09 21:29:37 +00:00
|
|
|
-include $(ASTTOPDIR)/menuselect.makeopts
|
2007-03-22 14:48:09 +00:00
|
|
|
|
2006-12-16 21:24:52 +00:00
|
|
|
.PHONY: clean all uninstall
|
2006-06-22 11:27:03 +00:00
|
|
|
|
2009-03-03 23:26:54 +00:00
|
|
|
# to get check_expr, add it to the ALL_UTILS list -- this is a somewhat old checking
|
|
|
|
|
# program that wants an ael file for input, and will check each $[] expr for
|
|
|
|
|
# possible (old) problems, like spacing around operators, which dates back to
|
|
|
|
|
# the 1.2 days. The neat part is that it will actually evaluate the expressions.
|
|
|
|
|
# Users could use this to quickly check expressions in their .ael file.
|
|
|
|
|
# to get check_expr2, add it to the ALL_UTILS list -- this is a program that will
|
|
|
|
|
# read in a file containing expressions (as if they were in $[ ]), one per line.
|
|
|
|
|
# It will, of course signal any syntax errors. Devs (like murf) should use this whenever
|
|
|
|
|
# changes are made to ast_expr2.y or ast_expr2.fl (or the corresponding .c files),
|
|
|
|
|
# as a regression test. Others (mere mortals?) need not bother, but they are
|
|
|
|
|
# more than welcome to play! The regression test itself is in expr2.testinput.
|
|
|
|
|
ALL_UTILS:=astman smsq stereorize streamplayer muted hashtest2 hashtest astcanary aelparse conf2ael
|
2006-09-29 22:48:43 +00:00
|
|
|
UTILS:=$(ALL_UTILS)
|
|
|
|
|
|
2009-03-03 23:26:54 +00:00
|
|
|
LIBS += $(BKTR_LIB) # astobj2 with devmode uses backtrace
|
2007-11-21 21:30:24 +00:00
|
|
|
|
2009-07-21 13:39:44 +00:00
|
|
|
_ASTCFLAGS+=-DSTANDALONE
|
|
|
|
|
|
2006-09-29 22:48:43 +00:00
|
|
|
include $(ASTTOPDIR)/Makefile.rules
|
2004-06-04 15:44:14 +00:00
|
|
|
|
2006-09-19 14:16:12 +00:00
|
|
|
ifeq ($(OSARCH),SunOS)
|
2006-09-15 17:16:00 +00:00
|
|
|
LIBS+=-lsocket -lnsl
|
2006-09-18 22:35:40 +00:00
|
|
|
UTILS:=$(filter-out muted,$(UTILS))
|
2005-08-30 02:54:02 +00:00
|
|
|
endif
|
|
|
|
|
|
2006-10-28 16:39:40 +00:00
|
|
|
ifeq ($(OSARCH),OpenBSD)
|
|
|
|
|
UTILS:=$(filter-out muted,$(UTILS))
|
|
|
|
|
endif
|
|
|
|
|
|
2007-11-17 10:54:52 +00:00
|
|
|
ifeq ($(OSARCH),cygwin)
|
|
|
|
|
UTILS:=$(filter-out muted,$(UTILS))
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
ifeq ($(OSARCH),mingw32)
|
|
|
|
|
UTILS:=
|
|
|
|
|
endif
|
|
|
|
|
|
2007-11-05 21:36:11 +00:00
|
|
|
ifneq ($(findstring darwin,$(OSARCH)),)
|
|
|
|
|
AUDIO_LIBS=-framework CoreAudio
|
|
|
|
|
endif
|
|
|
|
|
|
2006-04-24 17:11:45 +00:00
|
|
|
ifeq ($(POPT_LIB),)
|
|
|
|
|
UTILS:=$(filter-out smsq,$(UTILS))
|
2005-08-30 02:54:02 +00:00
|
|
|
endif
|
|
|
|
|
|
2006-04-24 17:11:45 +00:00
|
|
|
ifeq ($(NEWT_LIB),)
|
|
|
|
|
UTILS:=$(filter-out astman,$(UTILS))
|
2005-03-17 23:12:15 +00:00
|
|
|
endif
|
2004-12-11 22:36:27 +00:00
|
|
|
|
2006-06-05 20:46:27 +00:00
|
|
|
ifneq ($(filter pbx_ael,$(MENUSELECT_PBX)),)
|
2006-05-08 16:47:49 +00:00
|
|
|
UTILS:=$(filter-out aelparse,$(UTILS))
|
2007-08-15 19:21:27 +00:00
|
|
|
UTILS:=$(filter-out conf2ael,$(UTILS))
|
2006-05-08 16:47:49 +00:00
|
|
|
endif
|
|
|
|
|
|
2006-06-22 14:09:18 +00:00
|
|
|
all: $(UTILS)
|
2002-07-27 14:29:35 +00:00
|
|
|
|
|
|
|
|
install:
|
2006-04-24 17:11:45 +00:00
|
|
|
for x in $(UTILS); do \
|
2004-12-15 20:29:31 +00:00
|
|
|
if [ "$$x" != "none" ]; then \
|
2005-05-09 14:20:11 +00:00
|
|
|
$(INSTALL) -m 755 $$x $(DESTDIR)$(ASTSBINDIR)/$$x; \
|
2004-12-15 20:29:31 +00:00
|
|
|
fi; \
|
|
|
|
|
done
|
2002-07-27 14:29:35 +00:00
|
|
|
|
2006-02-01 18:39:41 +00:00
|
|
|
uninstall:
|
2006-09-29 22:48:43 +00:00
|
|
|
for x in $(ALL_UTILS); do rm -f $$x $(DESTDIR)$(ASTSBINDIR)/$$x; done
|
2006-02-01 18:39:41 +00:00
|
|
|
|
2006-12-16 21:24:52 +00:00
|
|
|
clean:
|
2006-09-29 22:48:43 +00:00
|
|
|
rm -f *.o $(ALL_UTILS) check_expr
|
2008-11-26 19:18:53 +00:00
|
|
|
rm -f .*.d
|
2007-10-29 22:24:44 +00:00
|
|
|
rm -f *.s *.i
|
2009-03-03 23:26:54 +00:00
|
|
|
rm -f md5.c strcompat.c ast_expr2.c ast_expr2.h ast_expr2f.c pbx_ael.c pval.c hashtab.c
|
2007-08-15 19:21:27 +00:00
|
|
|
rm -f aelparse.c aelbison.c conf2ael
|
This is the perhaps the biggest, boldest, most daring change I've ever committed to trunk. Forgive me in advance any disruption this may cause, and please, report any problems via the bugtracker. The upside is that this can speed up large dialplans by 20 times (or more). Context, extension, and priority matching are all fairly constant-time searches. I introduce here my hashtables (hashtabs), and a regression for them. I would have used the ast_obj2 tables, but mine are resizeable, and don't need the object destruction capability. The hashtab stuff is well tested and stable. I introduce a data structure, a trie, for extension pattern matching, in which knowledge of all patterns is accumulated, and all matches can be found via a single traversal of the tree. This is per-context. The trie is formed on the first lookup attempt, and stored in the context for future lookups. Destruction routines are in place for hashtabs and the pattern match trie. You can see the contents of the pattern match trie by using the 'dialplan show' cli command when 'core set debug' has been done to put it in debug mode. The pattern tree traversal only traverses those parts of the tree that are interesting. It uses a scoreboard sort of approach to find the best match. The speed of the traversal is more a function of the length of the pattern than the number of patterns in the tree. The tree also contains the CID matching patterns. See the source code comments for details on how everything works. I believe the approach general enough that any issues that might come up involving fine points in the pattern matching algorithm, can be solved by just tweaking things. We shall see. The current pattern matcher is fairly involved, and replicating every nuance of it is difficult. If you find and report problems, I will try to resolve than as quickly as I can. The trie and hashtabs are added to the existing context and exten structs, and none of the old machinery has been removed for the sake of the multitude of functions that use them. In the future, we can (maybe) weed out the linked lists and save some space.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-09 16:00:22 +00:00
|
|
|
rm -f utils.c threadstorage.c sha1.c astobj2.c hashtest2 hashtest
|
2006-09-29 22:48:43 +00:00
|
|
|
|
2007-12-10 08:40:59 +00:00
|
|
|
md5.c: $(ASTTOPDIR)/main/md5.c
|
2006-09-29 22:48:43 +00:00
|
|
|
@cp $< $@
|
2008-09-27 16:36:39 +00:00
|
|
|
|
2006-09-29 22:48:43 +00:00
|
|
|
astman: astman.o md5.o
|
2006-10-05 01:43:02 +00:00
|
|
|
astman: LIBS+=$(NEWT_LIB)
|
2009-07-21 13:39:44 +00:00
|
|
|
astman.o: _ASTCFLAGS+=-DNO_MALLOC_DEBUG
|
2003-05-06 00:00:20 +00:00
|
|
|
|
2006-09-29 22:48:43 +00:00
|
|
|
stereorize: stereorize.o frame.o
|
2006-07-15 16:40:05 +00:00
|
|
|
stereorize: LIBS+=-lm
|
2005-01-21 03:56:22 +00:00
|
|
|
|
2007-12-10 08:40:59 +00:00
|
|
|
hashtab.c: $(ASTTOPDIR)/main/hashtab.c
|
2008-10-06 00:23:03 +00:00
|
|
|
@cp "$<" "$@"
|
2007-12-10 08:40:59 +00:00
|
|
|
strcompat.c: $(ASTTOPDIR)/main/strcompat.c
|
2008-10-06 00:23:03 +00:00
|
|
|
@cp "$<" "$@"
|
2006-04-29 14:48:32 +00:00
|
|
|
|
2007-12-10 08:40:59 +00:00
|
|
|
pval.c: $(ASTTOPDIR)/res/ael/pval.c
|
2008-10-06 00:23:03 +00:00
|
|
|
@cp "$<" "$@"
|
2007-08-15 19:21:27 +00:00
|
|
|
|
2007-12-10 08:40:59 +00:00
|
|
|
ast_expr2.c: $(ASTTOPDIR)/main/ast_expr2.c
|
2008-10-06 00:23:03 +00:00
|
|
|
@cp "$<" "$@"
|
2005-08-29 22:03:37 +00:00
|
|
|
|
2009-03-03 23:26:54 +00:00
|
|
|
ast_expr2.h: $(ASTTOPDIR)/main/ast_expr2.h
|
|
|
|
|
$(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@"
|
|
|
|
|
$(CMD_PREFIX) cp "$<" "$@"
|
|
|
|
|
|
2007-12-10 08:40:59 +00:00
|
|
|
ast_expr2f.c: $(ASTTOPDIR)/main/ast_expr2f.c
|
2008-10-06 00:23:03 +00:00
|
|
|
@cp "$<" "$@"
|
2009-07-21 13:39:44 +00:00
|
|
|
ast_expr2f.o: _ASTCFLAGS+=-I$(ASTTOPDIR)/main -Wno-unused
|
2007-08-15 19:21:27 +00:00
|
|
|
|
2007-11-12 20:16:13 +00:00
|
|
|
check_expr: check_expr.o ast_expr2.o ast_expr2f.o strcompat.o threadstorage.o clicompat.o
|
2006-05-19 19:46:10 +00:00
|
|
|
|
2007-12-10 08:40:59 +00:00
|
|
|
aelbison.c: $(ASTTOPDIR)/res/ael/ael.tab.c
|
2008-10-06 00:23:03 +00:00
|
|
|
@cp "$<" "$@"
|
2009-07-21 13:39:44 +00:00
|
|
|
aelbison.o: _ASTCFLAGS+=-I$(ASTTOPDIR)/res/ael -DYYENABLE_NLS=0
|
2006-05-19 19:46:10 +00:00
|
|
|
|
2007-12-10 08:40:59 +00:00
|
|
|
pbx_ael.c: $(ASTTOPDIR)/pbx/pbx_ael.c
|
2008-10-06 00:23:03 +00:00
|
|
|
@cp "$<" "$@"
|
2006-09-29 22:48:43 +00:00
|
|
|
|
2007-12-10 08:40:59 +00:00
|
|
|
aelparse.c: $(ASTTOPDIR)/res/ael/ael_lex.c
|
2008-10-06 00:23:03 +00:00
|
|
|
@cp "$<" "$@"
|
2007-10-29 22:44:49 +00:00
|
|
|
|
2009-07-21 13:39:44 +00:00
|
|
|
aelparse.o: _ASTCFLAGS+=-I$(ASTTOPDIR)/res -Wno-unused
|
2009-03-03 23:26:54 +00:00
|
|
|
aelparse: LIBS+=-lm
|
Merged revisions 130145 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
Merging this rev from trunk to 1.6.0 was not
simple. Why? Because we've enhanced trunk to
do a [fast] merge-and-delete operation which
also solved problems with contexts having
entries from different registrars.
Fast as in the amount of time the contexts
are locked down. That *is* fast, but traversing
the entire dialplan looking for priorities to
delete takes more time overall.
This particular fix involved pulling in those
enhancements from trunk, along with all the
various fixes and refinements made along the
way.
Merging all this from trunk into 1.6 involved:
a. mergetrunk6 in the stuff from 130145;
b. revert all but the prop changes
c. catalog all revisions to pbx.c since 1.6.0 was forked
(at rev 105596).
d. catalog all revisions to pbx.c in trunk since 1.6.0
was forked, making special note of all revs that
were not merged into 1.6.0.
e. study each rev in trunk not applied to 1.6.0, and
determine if it was involved in the merge_and_delete
enhancements in trunk. 25 commits were done in 1.6.0,
all but one (106306) was a merge from trunk.
Trunk had 22 additional changes, of which 7 were
involved in the merge_and_delete enhancements:
106757
108894
109169
116461
123358
130145
130297
f. Go to trunk and collect patches, one by one,
of the changes made by each rev across the
entire source tree, using svn diff -c <num> > pfile
g. Apply each patch in order to 1.6.0, and
resolve all failures and compilation problems
before proceding to the next patch.
h. test the stuff.
i. profit!
........
r130145 | murf | 2008-07-11 12:24:31 -0600 (Fri, 11 Jul 2008) | 40 lines
(closes issue #13041)
Reported by: eliel
Tested by: murf
(closes issue #12960)
Reported by: mnicholson
In this 'omnibus' fix, I **think** I solved both
the problem in 13041, where unloading pbx_ael.so
caused crashes, or incomplete removal of previous
registrar'ed entries. And I added code to completely
remove all includes, switches, and ignorepats that
had a matching registrar entry, which should
appease 12960.
I also added a lot of seemingly useless brackets
around single statement if's, which helped debug
so much that I'm leaving them there.
I added a routine to check the correlation between
the extension tree lists and the hashtab
tables. It can be amazingly helpful when you have
lots of dialplan stuff, and need to narrow
down where a problem is occurring. It's ifdef'd
out by default.
I cleaned up the code around the new CIDmatch code.
It was leaving hanging extens with bad ptrs, getting confused
over which objects to remove, etc. I tightened
up the code and changed the call to remove_exten
in the merge_and_delete code.
I added more conditions to check for empty context
worthy of deletion. It's not empty if there are
any includes, switches, or ignorepats present.
If I've missed anything, please re-open this bug,
and be prepared to supply example dialplan code.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-15 13:14:07 +00:00
|
|
|
aelparse: aelparse.o aelbison.o pbx_ael.o hashtab.o ael_main.o ast_expr2f.o ast_expr2.o strcompat.o pval.o extconf.o
|
2007-08-15 19:21:27 +00:00
|
|
|
|
2009-03-25 01:48:17 +00:00
|
|
|
poll.c: $(ASTTOPDIR)/main/poll.c
|
|
|
|
|
@cp "$<" "$@"
|
|
|
|
|
poll.o: ASTCFLAGS+=-DSTANDALONE
|
|
|
|
|
|
2007-12-10 08:40:59 +00:00
|
|
|
astobj2.c: $(ASTTOPDIR)/main/astobj2.c
|
2008-10-06 00:23:03 +00:00
|
|
|
@cp "$<" "$@"
|
2007-09-10 16:59:18 +00:00
|
|
|
|
2007-12-10 08:40:59 +00:00
|
|
|
utils.c: $(ASTTOPDIR)/main/utils.c
|
2008-10-06 00:23:03 +00:00
|
|
|
@cp "$<" "$@"
|
2007-09-10 16:59:18 +00:00
|
|
|
|
2007-12-10 08:40:59 +00:00
|
|
|
sha1.c: $(ASTTOPDIR)/main/sha1.c
|
2008-10-06 00:23:03 +00:00
|
|
|
@cp "$<" "$@"
|
2007-09-10 16:59:18 +00:00
|
|
|
|
2007-12-10 08:40:59 +00:00
|
|
|
threadstorage.c: $(ASTTOPDIR)/main/threadstorage.c
|
2008-10-06 00:23:03 +00:00
|
|
|
@cp "$<" "$@"
|
2007-09-10 16:59:18 +00:00
|
|
|
|
2009-07-21 13:39:44 +00:00
|
|
|
hashtest2.o: _ASTCFLAGS+=-O0
|
2009-03-25 01:48:17 +00:00
|
|
|
hashtest2: hashtest2.o md5.o utils.o astobj2.o sha1.o strcompat.o threadstorage.o clicompat.o poll.o
|
2007-09-10 16:59:18 +00:00
|
|
|
|
2009-03-25 01:48:17 +00:00
|
|
|
hashtest: hashtest.o md5.o hashtab.o utils.o sha1.o strcompat.o threadstorage.o clicompat.o poll.o
|
2009-07-21 13:39:44 +00:00
|
|
|
hashtest.o: _ASTCFLAGS+=-O0
|
This is the perhaps the biggest, boldest, most daring change I've ever committed to trunk. Forgive me in advance any disruption this may cause, and please, report any problems via the bugtracker. The upside is that this can speed up large dialplans by 20 times (or more). Context, extension, and priority matching are all fairly constant-time searches. I introduce here my hashtables (hashtabs), and a regression for them. I would have used the ast_obj2 tables, but mine are resizeable, and don't need the object destruction capability. The hashtab stuff is well tested and stable. I introduce a data structure, a trie, for extension pattern matching, in which knowledge of all patterns is accumulated, and all matches can be found via a single traversal of the tree. This is per-context. The trie is formed on the first lookup attempt, and stored in the context for future lookups. Destruction routines are in place for hashtabs and the pattern match trie. You can see the contents of the pattern match trie by using the 'dialplan show' cli command when 'core set debug' has been done to put it in debug mode. The pattern tree traversal only traverses those parts of the tree that are interesting. It uses a scoreboard sort of approach to find the best match. The speed of the traversal is more a function of the length of the pattern than the number of patterns in the tree. The tree also contains the CID matching patterns. See the source code comments for details on how everything works. I believe the approach general enough that any issues that might come up involving fine points in the pattern matching algorithm, can be solved by just tweaking things. We shall see. The current pattern matcher is fairly involved, and replicating every nuance of it is difficult. If you find and report problems, I will try to resolve than as quickly as I can. The trie and hashtabs are added to the existing context and exten structs, and none of the old machinery has been removed for the sake of the multitude of functions that use them. In the future, we can (maybe) weed out the linked lists and save some space.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-09 16:00:22 +00:00
|
|
|
|
2007-11-29 13:38:11 +00:00
|
|
|
extconf.o: extconf.c
|
2007-08-15 19:21:27 +00:00
|
|
|
|
Merged revisions 130145 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
Merging this rev from trunk to 1.6.0 was not
simple. Why? Because we've enhanced trunk to
do a [fast] merge-and-delete operation which
also solved problems with contexts having
entries from different registrars.
Fast as in the amount of time the contexts
are locked down. That *is* fast, but traversing
the entire dialplan looking for priorities to
delete takes more time overall.
This particular fix involved pulling in those
enhancements from trunk, along with all the
various fixes and refinements made along the
way.
Merging all this from trunk into 1.6 involved:
a. mergetrunk6 in the stuff from 130145;
b. revert all but the prop changes
c. catalog all revisions to pbx.c since 1.6.0 was forked
(at rev 105596).
d. catalog all revisions to pbx.c in trunk since 1.6.0
was forked, making special note of all revs that
were not merged into 1.6.0.
e. study each rev in trunk not applied to 1.6.0, and
determine if it was involved in the merge_and_delete
enhancements in trunk. 25 commits were done in 1.6.0,
all but one (106306) was a merge from trunk.
Trunk had 22 additional changes, of which 7 were
involved in the merge_and_delete enhancements:
106757
108894
109169
116461
123358
130145
130297
f. Go to trunk and collect patches, one by one,
of the changes made by each rev across the
entire source tree, using svn diff -c <num> > pfile
g. Apply each patch in order to 1.6.0, and
resolve all failures and compilation problems
before proceding to the next patch.
h. test the stuff.
i. profit!
........
r130145 | murf | 2008-07-11 12:24:31 -0600 (Fri, 11 Jul 2008) | 40 lines
(closes issue #13041)
Reported by: eliel
Tested by: murf
(closes issue #12960)
Reported by: mnicholson
In this 'omnibus' fix, I **think** I solved both
the problem in 13041, where unloading pbx_ael.so
caused crashes, or incomplete removal of previous
registrar'ed entries. And I added code to completely
remove all includes, switches, and ignorepats that
had a matching registrar entry, which should
appease 12960.
I also added a lot of seemingly useless brackets
around single statement if's, which helped debug
so much that I'm leaving them there.
I added a routine to check the correlation between
the extension tree lists and the hashtab
tables. It can be amazingly helpful when you have
lots of dialplan stuff, and need to narrow
down where a problem is occurring. It's ifdef'd
out by default.
I cleaned up the code around the new CIDmatch code.
It was leaving hanging extens with bad ptrs, getting confused
over which objects to remove, etc. I tightened
up the code and changed the call to remove_exten
in the merge_and_delete code.
I added more conditions to check for empty context
worthy of deletion. It's not empty if there are
any includes, switches, or ignorepats present.
If I've missed anything, please re-open this bug,
and be prepared to supply example dialplan code.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-15 13:14:07 +00:00
|
|
|
conf2ael: conf2ael.o ast_expr2f.o ast_expr2.o hashtab.o aelbison.o aelparse.o pbx_ael.o pval.o extconf.o strcompat.o
|
2006-04-24 17:41:27 +00:00
|
|
|
|
2009-03-03 23:26:54 +00:00
|
|
|
check_expr2: $(ASTTOPDIR)/main/ast_expr2f.c $(ASTTOPDIR)/main/ast_expr2.c $(ASTTOPDIR)/main/ast_expr2.h
|
|
|
|
|
$(ECHO_PREFIX) echo " [CC] ast_expr2f.c -> ast_expr2fz.o"
|
|
|
|
|
$(CC) -g -c -I$(ASTTOPDIR)/include -DSTANDALONE $(ASTTOPDIR)/main/ast_expr2f.c -o ast_expr2fz.o
|
|
|
|
|
$(ECHO_PREFIX) echo " [CC] ast_expr2.c -> ast_expr2z.o"
|
|
|
|
|
$(CC) -g -c -I$(ASTTOPDIR)/include -DSTANDALONE2 $(ASTTOPDIR)/main/ast_expr2.c -o ast_expr2z.o
|
|
|
|
|
$(ECHO_PREFIX) echo " [LD] ast_expr2fz.o ast_expr2z.o -> check_expr2"
|
|
|
|
|
$(CC) -g -o check_expr2 ast_expr2fz.o ast_expr2z.o -lm
|
|
|
|
|
$(ECHO_PREFIX) echo " [RM] ast_expr2fz.o ast_expr2z.o"
|
|
|
|
|
rm ast_expr2z.o ast_expr2fz.o
|
|
|
|
|
./check_expr2 expr2.testinput
|
2006-04-24 17:41:27 +00:00
|
|
|
|
2006-09-15 17:16:00 +00:00
|
|
|
smsq: smsq.o strcompat.o
|
2006-08-21 02:11:39 +00:00
|
|
|
smsq: LIBS+=$(POPT_LIB)
|
2004-12-11 22:36:27 +00:00
|
|
|
|
2005-08-22 19:29:29 +00:00
|
|
|
streamplayer: streamplayer.o
|
|
|
|
|
|
2006-08-21 02:11:39 +00:00
|
|
|
muted: muted.o
|
|
|
|
|
muted: LIBS+=$(AUDIO_LIBS)
|
|
|
|
|
|
2006-12-16 21:24:52 +00:00
|
|
|
ifneq ($(wildcard .*.d),)
|
|
|
|
|
include .*.d
|
2006-09-09 03:27:21 +00:00
|
|
|
endif
|