2 # Makefile for libopcodes under openVMS
4 # For use with gnu-make for vms
6 # Created by Klaus K"ampf, kkaempf@progis.de
8 # Copyright (C) 2012-2018 Free Software Foundation, Inc.
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.
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.
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/>.
26 OBJS=ia64-dis.obj,ia64-opc.obj
30 OBJS=alpha-dis.obj,alpha-opc.obj
38 OBJS:=$(OBJS),dis-init.obj,dis-buf.obj,disassemble.obj
41 DEFS=/define=($(ARCHDEF))
42 CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
44 DEFS=/define=($(ARCHDEF))
46 CFLAGS=$(OPT)/include=([],"../include",[-.bfd])$(DEFS)\
47 /name=(as_is,shortened)
50 libopcodes.olb: $(OBJS)
52 lib/create libopcodes *.obj