1 # $FreeBSD: src/gnu/usr.bin/cc/c++filt/Makefile,v 1.11 1999/11/04 04:45:59 obrien Exp $
3 .include "../Makefile.inc"
8 SRCS= cplus-dem.c getopt.c getopt1.c underscore.c
9 BINDIR= /usr/libexec/${OBJFORMAT}
12 CFLAGS+= -DMAIN -DIN_GCC -DVERSION=\"$(version)\"
14 CLEANFILES= tmp-dum.c tmp-dum.s underscore.c
17 echo "int xxy_us_dummy;" >tmp-dum.c
19 echo '/*WARNING: This file is automatically generated!*/' >underscore.c
20 if grep _xxy_us_dummy tmp-dum.s > /dev/null ; then \
21 echo "int prepends_underscore = 1;" >>underscore.c; \
23 echo "int prepends_underscore = 0;" >>underscore.c; \
25 rm -f tmp-dum.c tmp-dum.s
27 .include <bsd.prog.mk>