Makefile 639 Bytes
#!smake
# $Revision: 1.1.1.1 $

DEPTH?=..
include $(ROOT)/usr/include/make/kcommondefs

KPATH=$(TOP)/u64
.PATH:$(KPATH)

include $(ROOT)/usr/include/make/releasedefs

KCINCS=-I$(ROOT)/PR/kern/sys
KCDEFS=-DRELEASE_MAJOR=$(RELEASE_MAJOR)

#if defined(PRODUCT) && !empty(PRODUCT)

#if $(CPUBOARD) == "IP22"
NDEV_NAME=u64.o
NDEV_CSRCS=u64.c
SUBDIRS=
#endif

#else
SUBDIRS=
#endif

TARGETS=$(NDEV_NAME)

LINTNAME=u64
CFILES=$(NDEV_CSRCS)

#
# Rules
#
include $(ROOT)/usr/include/make/kcommonrules

$(KCOMMONPREF)default:$(TARGETS)
	${KLINKINSTALL} ${TARGETS}

$(KCOMMONPREF)install: $(KCOMMONPREF)default
	${KINSTALL} ${LBOOTPOSTOP} ${TARGETS}