OSDN Git Service

fix ChangeLog entry to mention correct PR number
[pf3gnuchains/gcc-fork.git] / libiberty / makefile.vms
1 #
2 # Makefile for libiberty under openVMS/Alpha
3 #
4 # For use with gnu-make for vms
5 #
6 # Created by Klaus K"ampf, kkaempf@progis.de
7 #
8 #
9
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
14
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
21
22 libiberty.olb: config.h alloca-conf.h $(OBJS)
23         purge
24         lib/create libiberty *.obj
25
26 config.h: config.h-vms
27         $(CP) $< $@
28
29 clean:
30         $$ purge
31         $(RM) config.h;
32         $(RM) *.obj;
33         $(RM) libiberty.olb;