#
# Makefile for the "new" parallel IDE driver subsystem  (preliminary version)
#
#
# Use this definition VFLAG if you are compiling for a 2.1.?? system
# VFLAG	=	-DV21
# or leave VFLAG empty for 2.0.??
# VFLAG	=	
#
# Use this definition of MFLAGS if you are compiling for a kernel
# that uses MODVERSIONS
MFLAGS	=	-DMODVERSIONS\
		 -include /usr/src/linux/include/linux/modversions.h
# or leave MFLAGS empty for a non-versioned kernel
# MFLAGS =	
#

all:		drivers protocols base
drivers:	pf.o pd.o pcd.o
base:		paride.o
protocols:	bp.o epat.o kbic.o aten.o comm.o dstr.o frpw.o\
		epia.o on26.o on20.o

pf.o:		pseudo.h
pd.o:		pseudo.h
pcd.o:		pseudo.h

%.o:	%.c paride.h
	cc -D__KERNEL__ -DMODULE $(MFLAGS) $(VFLAG) -Wall -O2 -c $<

