Makefile revision 50472
1# $FreeBSD: head/gnu/usr.bin/cc/c++filt/Makefile 50472 1999-08-27 23:37:10Z peter $ 2 3.include "../Makefile.inc" 4 5.PATH: ${GCCDIR} 6 7PROG= c++filt 8SRCS= cplus-dem.c getopt.c getopt1.c underscore.c 9BINDIR= /usr/libexec/${OBJFORMAT} 10NOMAN= 1 11CFLAGS+= -DMAIN -DIN_GCC -DVERSION=\"$(version)\" 12 13CLEANFILES= tmp-dum.c tmp-dum.s underscore.c 14 15underscore.c: 16 echo "int xxy_us_dummy;" >tmp-dum.c 17 ${CC} -S tmp-dum.c 18 echo '/*WARNING: This file is automatically generated!*/' >underscore.c 19 if grep _xxy_us_dummy tmp-dum.s > /dev/null ; then \ 20 echo "int prepends_underscore = 1;" >>underscore.c; \ 21 else \ 22 echo "int prepends_underscore = 0;" >>underscore.c; \ 23 fi 24 rm -f tmp-dum.c tmp-dum.s 25 26.include <bsd.prog.mk> 27