mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
makefile
This commit is contained in:
parent
1ebcb8b17d
commit
16672ee1f7
2 changed files with 10 additions and 4 deletions
|
@ -2,16 +2,18 @@ OPT = -O2
|
|||
DEBUG = 2
|
||||
CFLAGS = -I../include -Wall -std=c99 ${OPT}
|
||||
LDFLAGS = -L../lib
|
||||
LOADLIBES = -lpsyc -lm
|
||||
LOADLIBES_NET = ${LOADLIBES}
|
||||
TARGETS = testServer testParser testMatch testRender testText isRoutingVar getVarType
|
||||
WRAPPER =
|
||||
DIET = diet
|
||||
PORT = 4440
|
||||
NC = nc
|
||||
DIFF = diff
|
||||
|
||||
LOADLIBES = -lpsyc -lm
|
||||
ifeq ($(shell uname),SunOS)
|
||||
LOADLIBES_NET = ${LOADLIBES} -lsocket -lnsl
|
||||
else
|
||||
LOADLIBES_NET = ${LOADLIBES}
|
||||
LOADLIBES_NET := ${LOADLIBES_NET} -lsocket -lnsl
|
||||
DIFF = gdiff
|
||||
endif
|
||||
|
||||
all: ${TARGETS}
|
||||
|
|
|
@ -434,6 +434,10 @@ int main (int argc, char **argv)
|
|||
case PSYC_PARSE_ROUTING:
|
||||
case PSYC_PARSE_ENTITY:
|
||||
case PSYC_PARSE_ENTITY_END:
|
||||
oper = 0;
|
||||
name.length = 0;
|
||||
value.length = 0;
|
||||
|
||||
if (pname->length >= 5 && memcmp(pname->ptr, "_list", 5) == 0)
|
||||
{
|
||||
if (verbose >= 2)
|
||||
|
|
Loading…
Reference in a new issue