makefile.vms 1016 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #
  2. # Makefile for libiberty under openVMS
  3. #
  4. # For use with gnu-make for vms
  5. #
  6. # Created by Klaus K"ampf, kkaempf@progis.de
  7. #
  8. #
  9. OBJS=getopt.obj,obstack.obj,xexit.obj,xmalloc.obj,hex.obj,\
  10. getopt1.obj,cplus-dem.obj,cp-demangle.obj,cp-demint.obj,\
  11. asprintf.obj vasprintf.obj,mkstemps.obj,filename_cmp.obj,\
  12. concat.obj,getruntime.obj,getpagesize.obj,getpwd.obj,xstrerror.obj,\
  13. xmemdup.obj,xstrdup.obj,xatexit.obj,choose-temp.obj,fnmatch.obj,\
  14. objalloc.obj,safe-ctype.obj,hashtab.obj,lbasename.obj,argv.obj,\
  15. lrealpath.obj,make-temp-file.obj,stpcpy.obj,unlink-if-ordinary.obj,\
  16. dwarfnames.obj
  17. ifeq ($(CC),gcc)
  18. CFLAGS=/include=([],[-.include])
  19. else
  20. # assume dec c
  21. OPT=/noopt/debug/warnings=disable=(missingreturn)
  22. CFLAGS=$(OPT)/include=([],[-.include])/name=(as_is,shortened)\
  23. /define=(HAVE_CONFIG_H=1)\
  24. /prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))
  25. endif
  26. libiberty.olb: $(OBJS)
  27. purge
  28. lib/create libiberty *.obj
  29. clean:
  30. $$ purge
  31. $(RM) *.obj;
  32. $(RM) libiberty.olb;