source: CMT/v1r19/mgr/fragments/yacc_library

Last change on this file was 196, checked in by garonne, 18 years ago

add the STRUCTURED_OUTPUT support on linux +mac

  • Property svn:eol-style set to native
File size: 815 bytes
Line 
1#-- start of yacc_library ------
2
3$(bin)$(binobj)${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 $(binobj)${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.