#
|
#
|
# Makefile for utils/amd-udi/mondfe
|
# Makefile for utils/amd-udi/mondfe
|
# Copyright (C) 1993 Free Software Foundation
|
# Copyright (C) 1993 Free Software Foundation
|
#
|
#
|
# This file is free software; you can redistribute it and/or modify
|
# This file is free software; you can redistribute it and/or modify
|
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
# the Free Software Foundation; either version 2 of the License, or
|
# the Free Software Foundation; either version 2 of the License, or
|
# (at your option) any later version.
|
# (at your option) any later version.
|
#
|
#
|
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
#
|
#
|
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
#
|
#
|
# $Id: Makefile.in,v 1.1.1.1 2001-05-18 11:27:35 markom Exp $
|
# $Id: Makefile.in,v 1.1.1.1 2001-05-18 11:27:35 markom Exp $
|
#
|
#
|
# Written by Jeffrey Wheat (cassidy@cygnus.com)
|
# Written by Jeffrey Wheat (cassidy@cygnus.com)
|
#
|
#
|
|
|
#### Start of system configuration section. ####
|
#### Start of system configuration section. ####
|
|
|
srcdir = @srcdir@
|
srcdir = @srcdir@
|
VPATH = @srcdir@
|
VPATH = @srcdir@
|
|
|
CC = @CC@
|
CC = @CC@
|
|
|
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
DEFS = @DEFS@
|
DEFS = @DEFS@
|
LIBS = @LIBS@
|
LIBS = @LIBS@
|
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
|
|
AR = ar
|
AR = ar
|
AR_FLAGS = cq
|
AR_FLAGS = cq
|
|
|
CFLAGS = -g
|
CFLAGS = -g
|
|
|
LD = ld
|
LD = ld
|
LDFLAGS = -g
|
LDFLAGS = -g
|
|
|
MV = mv
|
MV = mv
|
RM = rm
|
RM = rm
|
|
|
prefix = /usr/local
|
prefix = /usr/local
|
exec_prefix = $(prefix)
|
exec_prefix = $(prefix)
|
|
|
bindir = $(exec_prefix)/bin
|
bindir = $(exec_prefix)/bin
|
libdir = $(exec_prefix)/lib
|
libdir = $(exec_prefix)/lib
|
|
|
mandir = $(prefix)/man
|
mandir = $(prefix)/man
|
man1dir = $(mandir)/man1
|
man1dir = $(mandir)/man1
|
man2dir = $(mandir)/man2
|
man2dir = $(mandir)/man2
|
man3dir = $(mandir)/man3
|
man3dir = $(mandir)/man3
|
man4dir = $(mandir)/man4
|
man4dir = $(mandir)/man4
|
man5dir = $(mandir)/man5
|
man5dir = $(mandir)/man5
|
man6dir = $(mandir)/man6
|
man6dir = $(mandir)/man6
|
man7dir = $(mandir)/man7
|
man7dir = $(mandir)/man7
|
man8dir = $(mandir)/man8
|
man8dir = $(mandir)/man8
|
|
|
SHELL = /bin/sh
|
SHELL = /bin/sh
|
|
|
INSTALL = install -c
|
INSTALL = install -c
|
INSTALL_DATA = $(INSTALL)
|
INSTALL_DATA = $(INSTALL)
|
INSTALL_PROGRAM = $(INSTALL)
|
INSTALL_PROGRAM = $(INSTALL)
|
|
|
#### End of system configuration section. ####
|
#### End of system configuration section. ####
|
|
|
OBJS = main.o monitor.o error.o help.o commands.o asm.o \
|
OBJS = main.o monitor.o error.o help.o commands.o asm.o \
|
opcodes.o regs.o bkpt.o dasm.o fill.o move.o \
|
opcodes.o regs.o bkpt.o dasm.o fill.o move.o \
|
set.o xcmd.o yank.o dump.o getdata.o io.o icmd.o mini2udi.o
|
set.o xcmd.o yank.o dump.o getdata.o io.o icmd.o mini2udi.o
|
|
|
LIBDFE = ../udi/libdfe.a
|
LIBDFE = ../udi/libdfe.a
|
|
|
INCLUDE = -I$(srcdir)/../udi -I$(srcdir)/../include
|
INCLUDE = -I$(srcdir)/../udi -I$(srcdir)/../include
|
|
|
.c.o:
|
.c.o:
|
$(CC) $(INCLUDE) $(DEFS) $(CFLAGS) -c $<
|
$(CC) $(INCLUDE) $(DEFS) $(CFLAGS) -c $<
|
|
|
all: mondfe
|
all: mondfe
|
|
|
mondfe: $(LIBUDIDFE) $(OBJS)
|
mondfe: $(LIBUDIDFE) $(OBJS)
|
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBDFE) $(LIBIBERTY)
|
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBDFE) $(LIBIBERTY)
|
|
|
install: all
|
install: all
|
|
|
mostlyclean clean:
|
mostlyclean clean:
|
$(RM) -f *.o mondfe
|
$(RM) -f *.o mondfe
|
|
|
distclean maintainer-clean realclean: clean
|
distclean maintainer-clean realclean: clean
|
$(RM) -f Makefile config.status
|
$(RM) -f Makefile config.status
|
|
|
.PHONY: check installcheck info install-info clean-info dvi
|
.PHONY: check installcheck info install-info clean-info dvi
|
|
|
check installcheck:
|
check installcheck:
|
|
|
info install-info clean-info dvi:
|
info install-info clean-info dvi:
|
|
|
# with the gnu make, this is done automatically.
|
# with the gnu make, this is done automatically.
|
|
|
Makefile: Makefile.in
|
Makefile: Makefile.in
|
$(SHELL) ./config.status
|
$(SHELL) ./config.status
|
|
|
config.status: configure
|
config.status: configure
|
$(srcdir)/configure --no-create
|
$(srcdir)/configure --no-create
|
|
|
configure: configure.in
|
configure: configure.in
|
autoconf
|
autoconf
|
|
|
# Prevent GNU make v3 from overflowing arg limit on SysV.
|
# Prevent GNU make v3 from overflowing arg limit on SysV.
|
.NOEXPORT:
|
.NOEXPORT:
|
|
|