Missed ChangeLog entry in the previous commit.
[deliverable/binutils-gdb.git] / opcodes / makefile.vms
CommitLineData
252b5132 1#
e06ae0d4 2# Makefile for libopcodes under openVMS
252b5132
RH
3#
4# For use with gnu-make for vms
5#
6# Created by Klaus K"ampf, kkaempf@progis.de
7#
4b95cf5c 8# Copyright (C) 2012-2014 Free Software Foundation, Inc.
5bf135a7
NC
9#
10# This file is free software; you can redistribute it and/or modify
11# it under the terms of the GNU General Public License as published by
12# the Free Software Foundation; either version 3 of the License, or
13# (at your option) any later version.
14#
15# This program is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18# GNU General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License
21# along with this program; see the file COPYING3. If not see
22# <http://www.gnu.org/licenses/>.
252b5132 23#
e06ae0d4
TG
24
25ifeq ($(ARCH),IA64)
26OBJS=ia64-dis.obj,ia64-opc.obj
27ARCHDEF="ARCH_ia64"
28endif
d387240a 29ifeq ($(ARCH),ALPHA)
e06ae0d4 30OBJS=alpha-dis.obj,alpha-opc.obj
252b5132 31ARCHDEF="ARCH_alpha"
e06ae0d4
TG
32endif
33ifeq ($(ARCH),VAX)
34OBJS=vax-dis.obj
252b5132
RH
35ARCHDEF="ARCH_vax"
36endif
37
e06ae0d4
TG
38OBJS:=$(OBJS),dis-init.obj,dis-buf.obj,disassemble.obj
39
252b5132 40ifeq ($(CC),gcc)
e06ae0d4 41DEFS=/define=($(ARCHDEF))
252b5132
RH
42CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
43else
e06ae0d4 44DEFS=/define=($(ARCHDEF))
4f8318f8 45OPT=/noopt/debug
e06ae0d4 46CFLAGS=$(OPT)/include=([],"../include",[-.bfd])$(DEFS)\
4f8318f8 47 /name=(as_is,shortened)
252b5132
RH
48endif
49
e06ae0d4 50libopcodes.olb: $(OBJS)
252b5132
RH
51 purge
52 lib/create libopcodes *.obj
53
252b5132
RH
54clean:
55 $$ purge
56 $(RM) *.obj;
252b5132 57 $(RM) libopcodes.olb;
This page took 0.612899 seconds and 4 git commands to generate.