]>
Commit | Line | Data |
---|---|---|
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, [email protected] | |
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,\ | |
e2eaf477 | 13 | xmemdup.obj,xstrdup.obj,xatexit.obj,choose-temp.obj,fnmatch.obj,objalloc.obj |
252b5132 RH |
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; |