source: CMT/v1r19/mgr/fragments/nmake/yacc_library @ 1

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

Import all tags

File size: 798 bytes
Line 
1#-- start of yacc_library ------
2
3$(bin)${CONSTITUENT}/${NAME}${CONSTITUENTSUFFIX}.obj : $(${NAME}_${FILESUFFIX}_dependencies)
4        $(yacc_echo) $@
5        $(yacc_silent) $(yacc) ${FILENAME}
6        sed -e 's/yy/${NAME}YY/g' -e 's/ParseYY/YY/g' y.tab.c > y.tab.c.tmp
7        $(cmtexe) check_files y.tab.c.tmp ${NAME}.c
8        sed -e 's/yy/${NAME}YY/g' -e 's/ParseYY/YY/g' y.tab.h > y.tab.h.tmp
9        $(cmtexe) check_files y.tab.h.tmp ${NAME}.h
10        del y.tab.[ch]
11        $(yacc_silent) $(ccomp) /Fo"$(bin)${CONSTITUENT}\${NAME}${CONSTITUENTSUFFIX}.obj" $(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.