# $Id: Makefile 752 2012-06-25 05:25:09Z elkner $
# DYNLIB is not yet defined
#CFLAGS64 += -xarch=sse2a
# devfsadm is a 32bit app - so force 32bit
# avoid libpci stuff for kernel stuff (if libpci stuff is in a none-std dir)
CLOBBERDIRS += pics
# for the lazy people ;-)
# need Admin privileges to be able to install kernel modules
# UNcomment for TESTing
#/tmp/$(KMODULE): $(KMODULE)
# $(CP) $(KMODULE) $@
#
#$(ROOTUSRKDRVMACH)/$(KMODULE): /tmp/$(KMODULE)
# $(RM) $@
# $(SYMLINK) /tmp/$(KMODULE) $@
# Comment OUT the following 2 lines for TESTing
$(ROOTUSRKDRVMACH)/%: $(ROOTUSRKDRVMACH) %
$(INS.file)
if [ $$? -eq 0 ]; then \
print -u2 '\nWARNING: Skipping "pci1022,1103" - already configured!' ; \
print -u2 'Remove the driver (rem_drv amd64_gart) if not needed and do' ;\
print -u2 'a update_drv -a -i \'"pci1022,1103"\' k10sensor .\n' ; \
else $(ECHO) '_ALL' ; fi
$(UPDATE_DRV) $(KMODULE)
################
# PACKAGE stuff
################
CLOBBERDIRS += pkg
.PARALLEL: