2005-12-29 Paul Brook <paul@codesourcery.com>
[official-gcc.git] / libiberty / makefile.vms
blob6a7dd45718ee8c8b55357a716d690dbefacc0890
2 # Makefile for libiberty under openVMS/Alpha
4 # For use with gnu-make for vms
6 # Created by Klaus K"ampf, kkaempf@progis.de
10 OBJS=bcopy.obj,bcmp.obj,getopt.obj,obstack.obj,xexit.obj,xmalloc.obj,hex.obj,\
11    getopt1.obj,cplus-dem.obj,strncasecmp.obj,strcasecmp.obj,strdup.obj,\
12    concat.obj,getruntime.obj,getpagesize.obj,alloca.obj,xstrerror.obj,\
13    xmemdup.obj,xstrdup.obj,xatexit.obj,choose-temp.obj,fnmatch.obj,objalloc.obj
15 ifeq ($(CC),gcc)
16 CFLAGS=/include=([],[-.include])
17 else
18 # assume dec c
19 CFLAGS=/noopt/debug/include=([],[-.include])/define=("const=")/warnings=disable=(missingreturn,implicitfunc)
20 endif
22 libiberty.olb: config.h alloca-conf.h $(OBJS)
23         purge
24         lib/create libiberty *.obj
26 config.h: config.h-vms
27         $(CP) $< $@
29 clean:
30         $$ purge
31         $(RM) config.h;
32         $(RM) *.obj;
33         $(RM) libiberty.olb;