XCOMM  -*- makefile -*-  
XCOMM --------------------------------------------------------------------
XCOMM  copyright (c) 1995 thomas harrer
XCOMM --------------------------------------------------------------------
XCOMM
XCOMM  libhelp
XCOMM
XCOMM  a comprehensive hypertext help system for osf/motif(tm) applications. 
XCOMM  based on libhtmlw from ncsa mosaic version 2.4
XCOMM
XCOMM  written by thomas harrer
XCOMM  e-mail: Thomas.Harrer@rus.uni-stuttgart.de
XCOMM  
XCOMM -------------------------------------------------------------------- #
XCOMM  $Id: Imakefile,v 1.3 1995/06/17 11:52:04 thomas Exp $
XCOMM -------------------------------------------------------------------- #
XCOMM
XCOMM  module:		Imakefile
XCOMM
XCOMM  contents:	Imakefile for libhelp
XCOMM			the help subsystem for diana (and other motif
XCOMM			and probably non-motif applications).
XCOMM
XCOMM  interface:	xmkmf
XCOMM			make depend
XCOMM			make
XCOMM
XCOMM -------------------------------------------------------------------- #
XCOMM  license and copying issues:
XCOMM
XCOMM  this software is free; you can redistribute it and/or modify it 
XCOMM  under terms similar to the gnu general public license (version 1 
XCOMM  or any later version published by the free software foundation). 
XCOMM  see the file Licence for more details.
XCOMM
XCOMM  this program is distributed in the hope that it will be useful,
XCOMM  but without any warranty; without even the implied warranty of
XCOMM  merchantability or fitness for a particular purpose.  
XCOMM -------------------------------------------------------------------- #

           COPT = -O
           INCS = 
           DEFS = 

#if defined(SunArchitecture) 
#if OSMajorVersion > 4
        SUNINCS = -I/usr/ucbinclude
        SUNLIBS = 
#else
        SUNDEFS = -DNO_MEMMOVE
        SUNLIBS = 
#endif
#endif

#if defined(HPArchitecture)
             CC = c89
         HPDEFS = -D_HPUX_SOURCE
         HPINCS = 
#endif


         LIBINC = 
        SYSINCS = 
     PICINCLUDE = 
 ALLINCLUDEDIRS = -I./ $(INCS) $(SYSINCS) $(PICINCLUDE) $(LIBINC)
     SYSTEMDEFS = $(SUNDEFS) $(HPDEFS)
        DEFINES = $(COPT) $(DEFS) $(ALLINCLUDEDIRS) $(SYSTEMDEFS)

    CDEBUGFLAGS = 

           SRCS = client.c util.c path.c buffer.c

         HEADER = buffer.h helpp.h path.h util.h

      IMAKEFILE = Imakefile

           OBJS = client.o util.o path.o buffer.o

        LIBHELP = hlpclient
          DBOBJ = 
        TESTOBJ = chelp.o $(DBOBJ)

          HLIB = libhlpclient.a
      HELPLIBS = $(LIBSDIR) $(HLIB) 
       SYSLIBS = $(SUNLIBS)

   SYSTEM_LIBS = $(SYSLIBS) $(ADDLIBS) 

NormalLibraryTarget($(LIBHELP),$(OBJS))
NormalProgramTarget(chelp,$(TESTOBJ),$(HLIB),$(HELPLIBS),$(SYSTEM_LIBS))

