diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-04-01 21:22:54 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-04-01 21:22:54 +0000 |
commit | e72afe26be436ed8c2d4b794fb77430eec502d87 (patch) | |
tree | a2cc4d8469e5383640919cb7e9b92977ca238ddf /binutils/makefile.vms | |
parent | 0f8545578e93652a81f4fabd11c1cac733c77c7b (diff) | |
download | gdb-e72afe26be436ed8c2d4b794fb77430eec502d87.zip gdb-e72afe26be436ed8c2d4b794fb77430eec502d87.tar.gz gdb-e72afe26be436ed8c2d4b794fb77430eec502d87.tar.bz2 |
Tue Apr 1 16:21:44 1997 Klaus Kaempf <kkaempf@progis.de>
* configure.com: New file.
* config.h-vms: Remove file.
* makefile.vms: Update for new configure scheme.
Diffstat (limited to 'binutils/makefile.vms')
-rw-r--r-- | binutils/makefile.vms | 44 |
1 files changed, 36 insertions, 8 deletions
diff --git a/binutils/makefile.vms b/binutils/makefile.vms index cf869a6..5e9b2df 100644 --- a/binutils/makefile.vms +++ b/binutils/makefile.vms @@ -7,13 +7,19 @@ # # +# Distribution version, filled in by configure.com +VERSION= + +TARGET=""evax-alpha"" + ifeq ($(CC),gcc) -CFLAGS=/cc1="-fno-exceptions -g0"/include=([],[-.include],[-.bfd])$(DEFS) -DEFS= -LIBS=,GNU:[000000]LIBGCC2/lib,GNU:[000000]LIBGCCLIB/lib,sys$$library:vaxcrtl.olb/lib,GNU:[000000]crt0.obj +CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS) +DEFS=/define=("TARGET=$(TARGET)") +LIBS=,GNU:[000000]libgcc/lib,sys$$library:vaxcrtl.olb/lib,GNU:[000000]crt0.obj else CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)/warnings=disable=(missingreturn,implicitfunc) -DEFS=/define=("const=","unlink=remove",\ +DEFS=/define=("TARGET=$(TARGET)",\ +"const=","unlink=remove",\ "_bfd_generic_get_section_contents_in_window"="_bfd_generic_get_win_section_cont",\ "_bfd_elf_section_from_bfd_section"="_bfd_elf_sec_from_bfd_sec") LIBS=,sys$$library:vaxcrtl.olb/lib @@ -59,7 +65,29 @@ objdump.exe: $(OBJDUMPOBJS) version.obj: version.c - $(CC) $(CFLAGS)/define=(VERSION="""970202""") $< - -config.h: config.h-vms - $(CP) $< $@ + $(CC) $(CFLAGS)/define=(VERSION="""$(VERSION)""") $< + +config.h: + $$ @configure + $(MAKE) -f makefile.vms + +[-.bfd]libbfd.olb: + $(CD) [-.bfd] + $(MAKE) -f makefile.vms + $(CD) [-.binutils] + +[-.libiberty]libiberty.olb: + $(CD) [-.libiberty] + $(MAKE) -f makefile.vms + $(CD) [-.binutils] + +[-.opcodes]libopcodes.olb: + $(CD) [-.opcodes] + $(MAKE) -f makefile.vms + $(CD) [-.binutils] + +clean: + $$ purge + $(RM) *.obj; + $(RM) *.exe; + $(RM) config.h; |