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
|
|
|
|
2000-10-29 22:56:16 +08:00
|
|
|
#CLEANFILES = zend_language_parser.c zend_language_parser.h zend_language_scanner.c zend_language_parser.output zend_ini_parser.c zend_ini_parser.h zend_ini_scanner.c zend_ini_parser.output
|
1999-05-30 02:13:14 +08:00
|
|
|
|
1999-04-20 04:10:26 +08:00
|
|
|
AUTOMAKE_OPTIONS=foreign
|
2001-08-06 21:48:51 +08:00
|
|
|
noinst_LTLIBRARIES=libZend.la
|
1999-10-04 23:20:12 +08:00
|
|
|
|
1999-12-20 05:02:54 +08:00
|
|
|
libZend_la_SOURCES=\
|
2001-08-06 21:48:51 +08:00
|
|
|
zend_language_parser.y zend_language_scanner.l \
|
|
|
|
zend_ini_parser.y zend_ini_scanner.l \
|
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 \
|
2000-10-29 19:38:26 +08:00
|
|
|
zend_list.c zend_indent.c zend_builtin_functions.c zend_sprintf.c \
|
2002-05-31 20:09:19 +08:00
|
|
|
zend_ini.c zend_qsort.c zend_objects.c zend_object_handlers.c \
|
2006-12-05 16:07:57 +08:00
|
|
|
zend_objects_API.c zend_ts_hash.c zend_stream.c \
|
2005-12-01 05:46:26 +08:00
|
|
|
zend_default_classes.c \
|
2004-11-04 08:13:08 +08:00
|
|
|
zend_iterators.c zend_interfaces.c zend_exceptions.c \
|
2009-03-18 18:18:10 +08:00
|
|
|
zend_strtod.c zend_closures.c zend_float.c
|
1999-04-20 04:10:26 +08:00
|
|
|
|
2002-02-04 04:42:10 +08:00
|
|
|
libZend_la_LDFLAGS =
|
|
|
|
libZend_la_LIBADD = @ZEND_EXTRA_LIBS@
|
2000-09-04 12:02:17 +08:00
|
|
|
|
1999-04-20 04:10:26 +08:00
|
|
|
# automake isn't too clever about "non-standard" use of lex and yacc
|
|
|
|
|
2001-08-06 21:48:51 +08:00
|
|
|
$(libZend_la_OBJECTS): zend_language_parser.h
|
1999-10-04 23:35:16 +08:00
|
|
|
|
2001-08-06 21:48:51 +08:00
|
|
|
zend_ini_scanner.lo: zend_ini_parser.h
|
2000-10-30 23:27:32 +08:00
|
|
|
|
2000-10-29 22:56:16 +08:00
|
|
|
# Language parser/scanner rules
|
|
|
|
|
2000-10-29 22:35:34 +08:00
|
|
|
zend_language_scanner.c: $(srcdir)/zend_language_scanner.l
|
2008-03-17 05:06:55 +08:00
|
|
|
$(RE2C) $(RE2C_FLAGS) --case-inverted -cbdFt $(srcdir)/zend_language_scanner_defs.h -o$@ $(srcdir)/zend_language_scanner.l
|
1999-04-24 17:01:30 +08:00
|
|
|
|
2000-10-29 22:35:34 +08:00
|
|
|
zend_language_parser.h: zend_language_parser.c
|
|
|
|
zend_language_parser.c: $(srcdir)/zend_language_parser.y
|
|
|
|
$(YACC) -p zend -v -d $(srcdir)/zend_language_parser.y -o zend_language_parser.c
|
1999-04-20 09:12:53 +08:00
|
|
|
|
2000-10-29 22:56:16 +08:00
|
|
|
# INI parser/scanner rules
|
|
|
|
|
|
|
|
zend_ini_parser.c: $(srcdir)/zend_ini_parser.y
|
2000-10-30 02:23:51 +08:00
|
|
|
$(YACC) -p ini_ -v -d $(srcdir)/zend_ini_parser.y -o zend_ini_parser.c
|
2000-10-29 22:56:16 +08:00
|
|
|
|
|
|
|
zend_ini_scanner.c: $(srcdir)/zend_ini_scanner.l
|
2008-03-17 05:06:55 +08:00
|
|
|
$(RE2C) $(RE2C_FLAGS) --case-inverted -cbdFt $(srcdir)/zend_ini_scanner_defs.h -o$@ $(srcdir)/zend_ini_scanner.l
|
2000-10-29 22:56:16 +08:00
|
|
|
|
2000-11-03 08:52:20 +08:00
|
|
|
zend_ini_parser.h: zend_ini_parser.c
|
2000-10-29 22:56:16 +08:00
|
|
|
|
1999-12-27 05:45:53 +08:00
|
|
|
depend:
|
2000-09-04 12:02:17 +08:00
|
|
|
|
1999-12-23 21:29:26 +08:00
|
|
|
zend_execute.lo: $(srcdir)/zend_execute.c
|
2001-09-19 18:41:35 +08:00
|
|
|
$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(INLINE_CFLAGS) -c $(srcdir)/zend_execute.c
|
2000-10-29 22:56:16 +08:00
|
|
|
|