1999-04-20 04:10:26 +08:00
|
|
|
## Process this file with automake to produce Makefile.in -*- makefile -*-
|
1999-05-30 02:13:14 +08:00
|
|
|
|
1999-07-04 03:37:55 +08:00
|
|
|
#CLEANFILES = zend-parser.c zend-parser.h zend-scanner.c zend-parser.output
|
1999-05-30 02:13:14 +08:00
|
|
|
|
1999-04-20 04:10:26 +08:00
|
|
|
AUTOMAKE_OPTIONS=foreign
|
2000-06-14 01:58:33 +08:00
|
|
|
EXTRA_LTLIBRARIES=libZend_cc.la libZend_c.la libZend_gcc.la
|
|
|
|
noinst_LTLIBRARIES=$(ZEND_SCANNER) $(ZEND_GCC) libZend.la
|
1999-10-04 23:20:12 +08:00
|
|
|
|
1999-12-20 05:02:54 +08:00
|
|
|
libZend_cc_la_SOURCES=zend-scanner-cc.cc
|
|
|
|
libZend_c_la_SOURCES=zend-scanner.c
|
1999-10-04 23:20:12 +08:00
|
|
|
|
2000-06-14 01:58:33 +08:00
|
|
|
libZend_gcc_la_SOURCES=zend_gcc_inline.c
|
|
|
|
|
1999-12-20 05:02:54 +08:00
|
|
|
libZend_la_SOURCES=\
|
1999-10-04 23:20:12 +08:00
|
|
|
zend-parser.y \
|
2000-02-18 08:14:23 +08:00
|
|
|
zend_alloc.c zend_compile.c zend_constants.c zend_dynamic_array.c \
|
1999-04-20 04:10:26 +08:00
|
|
|
zend_execute.c zend_execute_API.c zend_highlight.c zend_llist.c \
|
|
|
|
zend_opcode.c zend_operators.c zend_ptr_stack.c zend_stack.c \
|
1999-04-22 04:30:37 +08:00
|
|
|
zend_variables.c zend.c zend_API.c zend_extensions.c zend_hash.c \
|
1999-12-19 09:50:10 +08:00
|
|
|
zend_list.c zend_indent.c zend_builtin_functions.c zend_sprintf.c
|
1999-04-20 04:10:26 +08:00
|
|
|
|
2000-06-14 01:58:33 +08:00
|
|
|
libZend_la_LIBADD = $(ZEND_SCANNER) $(ZEND_GCC)
|
1999-12-20 05:02:54 +08:00
|
|
|
libZend_la_LDFLAGS = @EXTRA_LIBS@
|
|
|
|
libZend_la_DEPENDENCIES = $(ZEND_SCANNER)
|
1999-12-23 21:29:26 +08:00
|
|
|
|
1999-04-20 04:10:26 +08:00
|
|
|
# automake isn't too clever about "non-standard" use of lex and yacc
|
|
|
|
|
2000-05-12 17:05:05 +08:00
|
|
|
$(libZend_la_OBJECTS) zend-scanner.lo zend-scanner-cc.lo: zend-parser.h
|
1999-10-04 23:35:16 +08:00
|
|
|
|
2000-03-30 08:59:47 +08:00
|
|
|
zend-scanner.c: $(srcdir)/zend-scanner.l
|
1999-10-15 01:20:25 +08:00
|
|
|
$(LEX) -Pzend -o$@ -i $(srcdir)/zend-scanner.l
|
1999-04-20 04:10:26 +08:00
|
|
|
|
2000-03-30 08:59:47 +08:00
|
|
|
zend-scanner-cc.cc: $(srcdir)/zend-scanner.l
|
1999-10-15 01:20:25 +08:00
|
|
|
$(LEX) -+ -B -i -S$(srcdir)/flex.skl -Pzend -o$@ $(srcdir)/zend-scanner.l
|
1999-04-24 17:01:30 +08:00
|
|
|
|
1999-04-20 04:10:26 +08:00
|
|
|
zend-parser.h: zend-parser.c
|
2000-03-30 08:59:47 +08:00
|
|
|
zend-parser.c: $(srcdir)/zend-parser.y
|
1999-05-30 02:13:14 +08:00
|
|
|
$(YACC) -p zend -v -d $(srcdir)/zend-parser.y -o zend-parser.c
|
1999-04-20 09:12:53 +08:00
|
|
|
|
1999-12-27 05:45:53 +08:00
|
|
|
depend:
|
|
|
|
|
1999-12-23 21:29:26 +08:00
|
|
|
zend_execute.lo: $(srcdir)/zend_execute.c
|
|
|
|
$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(INLINE_CFLAGS) -c $(srcdir)/zend_execute.c
|