#
# Copyright 1987, 1988, 1989, 1990 Apple Computer, Inc.
# All Rights Reserved.
#
# THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF APPLE COMPUTER, INC.
# The copyright notice above does not evidence any actual or
# intended publication of such source code.
#

#* @(#)makefile

# Virtual Interface (vif) module Makefile

#### PREFIXES, so that things happen to a specified "target" path:

VERBOSE=
ZFLAGS=	
LDFLAGS=
LINTFLAGS=	-bn
DEFINES= -DKERNEL -Uvax -Usun -Dm68k -Dmc68020 -Dmc68881 \
    -DINET -DETHERLINK -DSTREAMS -UQUOTA -DPAGING -DNFS -DBSD=43 \
    -DAUTOCONFIG -DPASS_MAJOR -DPOSIX -DSIG43 -DBARRACUDA \
    -Zn -F -A2 
CFLAGS=		$(DEFINES) $(INCDIRS) $(VERBOSE) $(ZFLAGS)

# where to get "unshared.ld"
USRLIB =	/usr/lib

# where to install "novif" script
UNINSDIR =	$(DEST)/etc/uninstall.d

# where to install "vif" script
INSDIR =	$(DEST)/etc/install.d

#### end of prefixes

CFILES =	if_vif.c
OFILES =	if_vif.o

ALLFILES = 	$(HFILES) $(CFILES)

# Make rules
SHELL = /bin/sh


all	:	vif

vif	:	$(OFILES) 
		ld -o vif -x -r $(OFILES) $(USRLIB)/unshared.ld

.c.o:
		${CC} -c $(CFLAGS) $*.c

