1 # $FreeBSD: src/gnu/usr.bin/cc/c++filt/Makefile,v 1.11 1999/11/04 04:45:59 obrien Exp $
2 # $DragonFly: src/gnu/usr.bin/cc/c++filt/Attic/Makefile,v 1.3 2004/01/16 07:45:21 dillon Exp $
4 .include "../Makefile.inc"
9 SRCS= cplus-dem.c getopt.c getopt1.c underscore.c
10 BINDIR= /usr/libexec/gcc2/${OBJFORMAT}
13 CFLAGS+= -DMAIN -DIN_GCC -DVERSION=\"$(version)\"
15 CLEANFILES= tmp-dum.c tmp-dum.s underscore.c
18 echo "int xxy_us_dummy;" >tmp-dum.c
20 echo '/*WARNING: This file is automatically generated!*/' >underscore.c
21 if grep _xxy_us_dummy tmp-dum.s > /dev/null ; then \
22 echo "int prepends_underscore = 1;" >>underscore.c; \
24 echo "int prepends_underscore = 0;" >>underscore.c; \
26 rm -f tmp-dum.c tmp-dum.s
28 .include <bsd.prog.mk>