merge from gcc

This commit is contained in:
DJ Delorie
2008-11-21 15:04:35 +00:00
parent ca30a76297
commit e2ce1e4a41
3 changed files with 18 additions and 23 deletions

View File

@@ -8,21 +8,18 @@
#
OBJS=bcopy.obj,bcmp.obj,getopt.obj,obstack.obj,xexit.obj,xmalloc.obj,hex.obj,\
getopt1.obj,cplus-dem.obj,cp-demangle.obj,cp-demint.obj,\
asprintf.obj vasprintf.obj,mkstemps.obj,\
concat.obj,getruntime.obj,getpagesize.obj,xstrerror.obj,\
xmemdup.obj,xstrdup.obj,xatexit.obj,choose-temp.obj,fnmatch.obj,\
objalloc.obj,safe-ctype.obj,hashtab.obj,lbasename.obj,argv.obj,\
lrealpath.obj,make-temp-file.obj,unlink-if-ordinary.obj
getopt1.obj,cplus-dem.obj,strncasecmp.obj,strcasecmp.obj,strdup.obj,\
concat.obj,getruntime.obj,getpagesize.obj,alloca.obj,xstrerror.obj,\
xmemdup.obj,xstrdup.obj,xatexit.obj,choose-temp.obj,fnmatch.obj,objalloc.obj
ifeq ($(CC),gcc)
CFLAGS=/include=([],[-.include])
else
# assume dec c
CFLAGS=/noopt/debug/include=([],[-.include])/warnings=disable=(missingreturn)/name=(as_is,shortened)/define=(HAVE_CONFIG_H=1)/prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))
CFLAGS=/noopt/debug/include=([],[-.include])/define=("const=")/warnings=disable=(missingreturn,implicitfunc)
endif
libiberty.olb: config.h $(OBJS)
libiberty.olb: config.h alloca-conf.h $(OBJS)
purge
lib/create libiberty *.obj