Skip to content

Commit

Permalink
convert to automake
Browse files Browse the repository at this point in the history
  • Loading branch information
stigsb committed Apr 19, 1999
1 parent 5033ee7 commit b227e38
Show file tree
Hide file tree
Showing 8 changed files with 533 additions and 629 deletions.
21 changes: 21 additions & 0 deletions Zend/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Process this file with automake to produce Makefile.in -*- makefile -*-
AUTOMAKE_OPTIONS=foreign
noinst_LIBRARIES=libzend.a
libzend_a_SOURCES=zend_alloc.c zend_compile.c zend_constants.c \
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-parser.c zend-scanner.c zend.c zend_API.c \
zend_extensions.c zend_hash.c zend_list.c zend_indent.c \
zend-parser.y zend-scanner.l

# automake isn't too clever about "non-standard" use of lex and yacc

zend-scanner.c: zend-scanner.l
$(LEX) -Pzend -ozend-scanner.c -i zend-scanner.l

zend-parser.h: zend-parser.c
zend-parser.c: zend-parser.y
$(YACC) -p zend -v -d zend-parser.y -o zend-parser.c

clean:
-rm -f zend-parser.c zend-parser.h zend-scanner.c
Loading

0 comments on commit b227e38

Please sign in to comment.