#
# Makefile - makefile for i386 lib for netboot
#
# Copyright (C) 2002-2003 Gero Kuhlmann <gero@gkminix.han.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# $Id: Makefile,v 1.2 2003/03/30 21:04:21 gkminix Exp $
#
# Include makefile configuration
include ../make.config
include ../make.rules
# Source and object files for the target system
SSRCS86 = nbentry.S86 ldrec.S86 bootp.S86 scnio.S86 kbdio.S86 \
string.S86 memory.S86 timer.S86
OBJS86 = $(SSRCS86:.S86=.o86)
TARGET = libi386.a
INSTLIB = $(TARGET)
# Rules to generate the target on the host system
all: $(TARGET)-$(GNU16BIT)
$(TARGET)-gnu: $(TARGET)
$(TARGET)-nognu:
$(TARGET): $(OBJS86)
# distrib generates all files which are not removed by distclean
distrib: $(TARGET)-gnu
clean: clean-general
rm -f *.s86
distclean: clean
realclean: distclean
syntax highlighted by Code2HTML, v. 0.9.1