Makefile revision 1196
430N/A#
2362N/A# Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
430N/A#
430N/A# Permission is hereby granted, free of charge, to any person obtaining a
430N/A# copy of this software and associated documentation files (the "Software"),
430N/A# to deal in the Software without restriction, including without limitation
430N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
430N/A# and/or sell copies of the Software, and to permit persons to whom the
430N/A# Software is furnished to do so, subject to the following conditions:
430N/A#
430N/A# The above copyright notice and this permission notice (including the next
430N/A# paragraph) shall be included in all copies or substantial portions of the
430N/A# Software.
430N/A#
430N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
430N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
430N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
430N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2362N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2362N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2362N/A# DEALINGS IN THE SOFTWARE.
430N/A#
430N/A
430N/A
430N/ABIN = fbconfig
430N/AINSTALL_BIN_DIR = $(DESTDIR)/usr/sbin
430N/A
430N/AHEADERS =
430N/ACSOURCES=fbconfig.c
430N/AOBJECTS =$(CSOURCES:.c=.o)
430N/A
430N/AINCPATHS=-I../gfx_common/include
430N/ACFLAGS += $(INCPATHS)
430N/A
430N/ALIBPATHS=-lscf
430N/A
430N/Aall: $(BIN)
430N/A
430N/A$(BIN): $(OBJECTS)
430N/A $(CC) $^ $(LDFLAGS) $(LIBPATHS) -o $@
430N/A
430N/A%.o: %.c
430N/A $(CC) $(CFLAGS) -c $< -o $@
430N/A
430N/A%.lint: %.c
430N/A $(LINT.c) -DDEBUG_FB $(CFLAGS) $(LIBPATHS) $<
430N/A
430N/Aclean:
430N/A -rm -f $(OBJECTS)
430N/A
430N/Aclobber: clean
430N/A -rm -f $(BIN)
430N/A
430N/Ainstall: all
430N/A $(INSTALL) -m 0555 $(BIN) $(INSTALL_BIN_DIR)
430N/A $(INSTALL) -m 0444 exec_attr $(DESTDIR)/etc/security/exec_attr.d/fbconfig
430N/A
430N/A# End of Makefile
430N/A