Get rid of "dtd_grammar.out" on a "make distclean".
Get rid of all the Flex-generated (and Lemon-generated) files on a "nmake -f Makefile.nmake distclean". svn path=/trunk/; revision=15770
This commit is contained in:
parent
019ed9005f
commit
75b9062c44
|
@ -69,10 +69,11 @@ CLEANFILES = \
|
|||
*~
|
||||
|
||||
DISTCLEANFILES = \
|
||||
dtd_grammar.c \
|
||||
dtd_grammar.h \
|
||||
dtd_grammar.out \
|
||||
dtd_grammar.c \
|
||||
dtd_grammar.h \
|
||||
dtd_parse.c \
|
||||
dtd_preparse.c \
|
||||
dtd_preparse.c \
|
||||
radius_dict.c
|
||||
|
||||
|
||||
|
|
|
@ -85,14 +85,18 @@ clean:
|
|||
cd ..
|
||||
|
||||
#
|
||||
# We remove "radius_dict.c" with "distclean" because it needs different
|
||||
# #includes for UN*X and Windows (UN*X versions of Flex make it include
|
||||
# <unistd.h>, but that's a UN*X-only header), so if you're going to build
|
||||
# from source, you need to build "radius_dict.c" from "radius_dict.l"
|
||||
# with Flex.
|
||||
# We remove the Flex-generated files with "distclean" because they need
|
||||
# different #includes for UN*X and Windows (UN*X versions of Flex make it
|
||||
# include <unistd.h>, but that's a UN*X-only header), so if you're going
|
||||
# to build from source, you need to build those scanners from the
|
||||
# corresponding ".l" files with Flex.
|
||||
# This might not be necessary for "dtd_grammar.{c,h}", but we handle them
|
||||
# the same for now.
|
||||
#
|
||||
distclean: clean
|
||||
rm -f config.h register.c mkstemp.c strptime.c radius_dict.c
|
||||
rm -f config.h register.c mkstemp.c strptime.c radius_dict.c \
|
||||
dtd_grammar.out dtd_grammar.c dtd_grammar.h dtd_parse.c \
|
||||
dtd_preparse.c
|
||||
cd ftypes
|
||||
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
|
||||
cd ../dfilter
|
||||
|
|
Loading…
Reference in New Issue