source: CMT/v1r18p20041201/mgr/fragments/yacc_library @ 1

Last change on this file since 1 was 1, checked in by arnault, 19 years ago

Import all tags

File size: 810 bytes
Line 
1#-- start of yacc_library ------
2
3$(bin)${NAME}${CONSTITUENTSUFFIX}.o : $(${NAME}_${FILESUFFIX}_dependencies)
4        $(yacc_echo) $@
5        $(yacc_silent) cd $(src); \
6          $(yacc) ${FILENAME}; \
7          sed -e 's/yy/${NAME}YY/g' -e 's/ParseYY/YY/g' y.tab.c > y.tab.c.tmp; \
8          $(cmtexe) check_files y.tab.c.tmp ${NAME}.c; \
9          sed -e 's/yy/${NAME}YY/g' -e 's/ParseYY/YY/g' y.tab.h > y.tab.h.tmp; \
10          $(cmtexe) check_files y.tab.h.tmp ${NAME}.h; /bin/rm -f y.tab.[ch]
11        $(yacc_silent) cd $(bin); $(ccomp) -o ${NAME}${CONSTITUENTSUFFIX}.o $(use_pp_cflags) $(${CONSTITUENT}_pp_cflags) $(lib_${CONSTITUENT}_pp_cflags) $(${NAME}_pp_cflags) $(use_cflags) $(${CONSTITUENT}_cflags) $(lib_${CONSTITUENT}_cflags) $(${NAME}_cflags) $(${NAME}_${FILESUFFIX}_cflags) ${ADDINCLUDE} $(src)${NAME}.c
12
13#-- end of yacc_library ------
Note: See TracBrowser for help on using the repository browser.