SYMLINK = ln -s
BISON = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`
-# Comment these out if using lex.
-LEX_OPTIONS = -I -Cem
+LEX_OPTIONS =
LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
# Distribution version
INCLUDES = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR)
DEP = mkdep
-ALL_CFLAGS = $(INCLUDES) @HDEFINES@ $(CFLAGS)
+ALL_CFLAGS = -D_GNU_SOURCE $(INCLUDES) @HDEFINES@ $(CFLAGS)
HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h
###
mostlyclean:
- -rm -f *.o *~ \#* core binutils.?? binutils.??? y.output config.log
+ -rm -f *.o *~ \#* core binutils.?? binutils.??? y.output
-rm -rf tmpdir
clean: mostlyclean
-rm -f $(PROGS) $(DEMANGLER_PROG).1 stamp-under
k=`echo $$j | sed '$(program_transform_name)'`; \
ln $(bindir)/$$k $(tooldir)/bin/$$j >/dev/null 2>/dev/null \
|| $(INSTALL_PROGRAM) $$i $(tooldir)/bin/$$j; \
+ else true; \
fi; \
done
# Making a dist:
# cvs rtag binutils-x-yy ld+utils
# cvs co -r binutils-x-yy ld+utils
-# Sanitize
# cd {HERE}; make dist [-f Makefile.in]
dist: $(DIST_NAME).tar.z