Makefile revision cee360d32efd8392f7e342dcaeda1de50a2c1bcf
# Makefile for diethotplug
#
# Copyright (C) 2000,2001 Greg Kroah-Hartman <greg@kroah.com>
#
# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# Set the following to `true' to make a debuggable build.
# Leave this set to `false' for production use.
DEBUG = true
VERSION = 0.2
# Comment out this line to build with something other
# than the local version of klibc
#KLIBC = true
# If you are running a cross compiler, you may want to set this
# to something more interesting, like "arm-linux-". I you want
# to compile vs uClibc, that can be done here as well.
# code taken from uClibc to determine the current arch
# code taken from uClibc to determine the gcc include dir
# code taken from uClibc to determine the libgcc.a filename
# use '-Os' optimization if available, else use -O2
then echo "-Os"; else echo "-O2" ; fi}
# Some nice architecture specific optimizations
else
# if DEBUG is enabled, then we do not strip or optimize
else
# If we are using our version of klibc, then we need to build and link it.
# Otherwise, use glibc and link statically.
# arch specific objects
ARCH_LIB_OBJS = \
else
LIBC =
$(ARCH_LIB_OBJS) :
# header files automatically generated
# Rules on how to create the generated header files
DISTFILES = $(shell find . \( -not -name '.' \) -print | grep -v CVS | grep -v "\.tar\.gz" | grep -v "\/\." | grep -v releases | grep -v BitKeeper | grep -v SCCS )
DISTDIR := $(RELEASE_NAME)
srcdir = .
# @echo $(DISTFILES)
if test -d $$file; then \
else \
fi; \
done