]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - libiberty/makefile.vms
(Chunk I forgot to commit on 2008-11-14).
[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,\
3c9ab205
TG
11 getopt1.obj,cplus-dem.obj,cp-demangle.obj,cp-demint.obj,\
12 asprintf.obj vasprintf.obj,mkstemps.obj,\
13 concat.obj,getruntime.obj,getpagesize.obj,xstrerror.obj,\
14 xmemdup.obj,xstrdup.obj,xatexit.obj,choose-temp.obj,fnmatch.obj,\
15 objalloc.obj,safe-ctype.obj,hashtab.obj,lbasename.obj,argv.obj,\
16 lrealpath.obj,make-temp-file.obj,unlink-if-ordinary.obj
252b5132
RH
17
18ifeq ($(CC),gcc)
19CFLAGS=/include=([],[-.include])
20else
21# assume dec c
3c9ab205 22CFLAGS=/noopt/debug/include=([],[-.include])/warnings=disable=(missingreturn)/name=(as_is,shortened)/define=(HAVE_CONFIG_H=1)/prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))
252b5132
RH
23endif
24
3c9ab205 25libiberty.olb: config.h $(OBJS)
252b5132
RH
26 purge
27 lib/create libiberty *.obj
28
29config.h: config.h-vms
30 $(CP) $< $@
31
32clean:
33 $$ purge
34 $(RM) config.h;
35 $(RM) *.obj;
36 $(RM) libiberty.olb;