]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - libiberty/makefile.vms
19990502 sourceware import
[thirdparty/binutils-gdb.git] / libiberty / makefile.vms
CommitLineData
252b5132
RH
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
10OBJS=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 xstrdup.obj,xatexit.obj,choose-temp.obj,fnmatch.obj,objalloc.obj
14
15ifeq ($(CC),gcc)
16CFLAGS=/include=([],[-.include])
17else
18# assume dec c
19CFLAGS=/noopt/debug/include=([],[-.include])/define=("const=")/warnings=disable=(missingreturn,implicitfunc)
20endif
21
22libiberty.olb: config.h alloca-conf.h $(OBJS)
23 purge
24 lib/create libiberty *.obj
25
26config.h: config.h-vms
27 $(CP) $< $@
28
29clean:
30 $$ purge
31 $(RM) config.h;
32 $(RM) *.obj;
33 $(RM) libiberty.olb;