#
#       $Id: yMakefile,v 1.7 2005-05-06 16:52:12 haley Exp $
#

#define IHaveSubdirs

SUBDIRS = gridpack

INCLUDES = ngmath.h

PartialLibraryRoot(libngmath.a,$(SUBDIRS))
BuildSharedFromArch(libNGmath,libngmath.a,1,0,NullArgument)
InstallTarget($(INCLUDES),$(INSTALL_INC),$(NCARGINCPATH))
includes-local:: ngmath.h
BuildIncludes($(INCLUDES),ncarg,..)

ngmath.h: ngmath.h.sed Makefile
	@sed \
	-e 's+SED_NGCALLF+$(NGCALLF)+' \
	<ngmath.h.sed >ngmath.h

CleanFilesTarget(ngmath.h)

