/*
   Imakefile for WWW tools for Harmony (source release)

   $Id: Imakefile,v 1.2.1.1 1995/11/06 10:47:12 mgais Exp $

*/
CCSUFFIX = c
CCDRIVER = gcc

#if defined(SunArchitecture) && OSMajorVersion >= 5
WWW_MACH = sun4-sol2
ASIS_MACH = sun-4
APP_CCFLAGS = -D__svr4__ -Dd_namlen=d_reclen -DNO_GETWD -DHAS_GETCWD -DPOSIXWAIT 
LFLAGS = -lresolv -lnsl -lsocket -ldl # -Bstatic
#endif 
#if defined(SunArchitecture) && OSMajorVersion <= 4
WWW_MACH = sun4
APP_CCFLAGS = 
#endif
#ifdef HPArchitecture
WWW_MACH = snake
ASIS_MACH = hp-700/hpux-8.0
APP_CCFLAGS = 
#endif
#ifdef SGIArchitecture
WWW_MACH = sgi
ASIS_MACH = sgi/iris-3.5
APP_CCFLAGS = -DDEBUG
#endif
#ifdef UltrixArchitecture
ASIS_MACH = dec-station/ultrix-4.2
WWW_MACH = decstation
APP_CCFLAGS =  -Ddecstation
#endif
#ifdef AlphaArchitecture
APP_CCFLAGS = 
#endif
#ifdef IBMArchitecture
APP_CCFLAGS = 
#endif

#ifdef InObjectCodeDir

OBJS = \
	HTParse.o\
	HTString.o

MakeHgLibrary(HgWWWTools,1.0)
AllTarget(libHgWWWTools.a)

DependTarget()

MakeObjectFromSrc(HTParse)
MakeObjectFromSrc(HTString)

#else

MakeInObjectCodeDir()

#ifdef SunArchitecture
SpecialTargets(noyp,-DUseNoYP)
SpecialTargets(sysshared,-DUseSysShared)
#endif

InstallHgInclude(HTParse.h,WWW)
InstallHgInclude(HTUtils.h,WWW)
InstallHgInclude(HTString.h,WWW)

#endif
