X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=util%2Fk8resdump%2FMakefile;h=21084a33326c5bad00305402cce487f9aa2af811;hb=bb41f502444b2d0295809cc882b829d768962990;hp=7cf039036e3ba69938fb2249fea412f0e25f3d65;hpb=f32325ed8a186efdc379c1890036a511e30069e9;p=coreboot.git diff --git a/util/k8resdump/Makefile b/util/k8resdump/Makefile index 7cf039036..21084a333 100644 --- a/util/k8resdump/Makefile +++ b/util/k8resdump/Makefile @@ -1,8 +1,21 @@ -# -# Makefile for k8redump utility -# -# Original from Stefan Reinauer -# +## +## Makefile for k8resdump utility +## +## (C) 2005 coresystems GmbH +## +## 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; version 2 of the License. +## +## 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## PROGRAM = k8resdump @@ -14,9 +27,9 @@ PREFIX = /usr/local CFLAGS = -Os -Wall -Werror OS_ARCH = $(shell uname) ifeq ($(OS_ARCH), SunOS) -LDFLAGS = -lpci +LDFLAGS = -lpci else -LDFLAGS = -lpci -lz -static +LDFLAGS = -lpci -lz -static STRIP_ARGS = -s endif @@ -33,7 +46,7 @@ clean: distclean: clean rm -f $(PROGRAM) .dependencies - + dep: @$(CC) -MM *.c > .dependencies