php-src/Zend/Makefile.am

42 lines
1.4 KiB
Makefile
Raw Normal View History

1999-04-20 04:10:26 +08:00
## Process this file with automake to produce Makefile.in -*- makefile -*-
1999-07-04 03:37:55 +08:00
#CLEANFILES = zend-parser.c zend-parser.h zend-scanner.c zend-parser.output
1999-04-20 04:10:26 +08:00
AUTOMAKE_OPTIONS=foreign
1999-12-20 05:02:54 +08:00
EXTRA_LTLIBRARIES=libZend_cc.la libZend_c.la
noinst_LTLIBRARIES=$(ZEND_SCANNER) 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
1999-12-20 05:02:54 +08:00
libZend_la_SOURCES=\
1999-10-04 23:20:12 +08:00
zend-parser.y \
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 \
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
1999-12-20 05:02:54 +08:00
libZend_la_LIBADD = $(ZEND_SCANNER)
libZend_la_LDFLAGS = @EXTRA_LIBS@
libZend_la_DEPENDENCIES = $(ZEND_SCANNER)
1999-04-20 04:10:26 +08:00
# automake isn't too clever about "non-standard" use of lex and yacc
2000-05-01 13:46:02 +08:00
zend-scanner.lo zend-scanner-cc.lo: zend-parser.h
1999-10-04 23:35:16 +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
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
zend-parser.c: $(srcdir)/zend-parser.y
$(YACC) -p zend -v -d $(srcdir)/zend-parser.y -o zend-parser.c
depend:
zend_execute.lo: $(srcdir)/zend_execute.c
$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(INLINE_CFLAGS) -c $(srcdir)/zend_execute.c