#**********************************************************************
# Copyright (c) 2000, 2007 Hewlett-Packard Development Company and others.
# All rights reserved. This program and the accompanying materials 
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#********************************************************************** 
# Contributors:
#      Hewlett-Packard Development Company - added "-Iinclude" and "*.sl" 
#**********************************************************************
# makefile for PA_RISC liblocalfile.sl

CORE.C = ../localfile.c
CORE.O = localfile.o
LIB_NAME = liblocalfile.sl
LIB_NAME_FULL = liblocalfile_1_0_0.sl

core :
	cc +z -c +O3 +DD32 +DS2.0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -I$(JDK_INCLUDE)/hp-ux -I$(JDK_INCLUDE) $(CORE.C) -o $(CORE.O)
	ld -b -o $(LIB_NAME_FULL) $(CORE.O) -lc

clean :
	rm *.o *.sl
