#
#   Make file to build the Dynamic loadable shared object
#   Asynchronious disk I/O driver interface for ASE 11.0.3.3 ESD#6
#
#   The code below are small changes applied to the SGI Open Source
#   provided Async (KAIO) changes for Linux 2.2.13 and up.
#
#   Reason that ASE 11.0.3.3 comes with a dynamic loadable shared
#   object interface with an Open Source nature is to allow
#   end-users to maintain their Async disk I/O support.
#
#	Wim ten Have, <wtenhave@sybase.com>
#	Thu Mar 16 15:29:14 CET 2000
#

CFLAGS	= -O -O3 -D_REENTRANT -pipe
INCLUDE	= -I.

all: kaioasync.so

kaioasync.so: aiolib.c
	cc -shared -o kaioasync.so $(CFLAGS) $(INCLUDE) aiolib.c

install: kaioasync.so
	install -m 0755 kaioasync.so $(SYBASE)/lib

clean:
	rm -f kaioasync.so aiolib.o core
