	/*
 * Sample Imakefile for xhtml
 *
 * Use the Following Commands to create the Makefile and build the 
 * program
 * 
 *     Step 1)  xmkmf
 *     Step 2)  make depend
 *     Step 3)  make all
 *
 *  Step 1 needs to be done every time you change platforms you are working
 *  on, or change the Imakefile
 *
 *  Step 2 needs to be done every time you do step 1, or every time you 
 *  change any of the source or header files involved
 *
 *  Step 3 results in the desired binary if all is well.
 *
 */

/* This is a list of programs to build. */

TARGETS = xhtml
 
/*  The sources for this Program. */
SRCS =  xfile.c \
	xheader.c \
	xhtml.c \
	xmarkup.c \
	xstyles.c \
	xviewer.c \
	xform.c \
	xgif.c \
	xbitmap.c \
	xcci.c \
	xurl.c 


	
 
/* The object files that will be generated */
OBJS =  $(SRCS:.c=.o) 
 
/*
 * Specify this line if you want the program to be compiled with Debugging.	* 
 *
 */

CDEBUGFLAGS = -g -Wall 

CC = gcc

/*
 * Change the name of the compiler here. The default version is 
 * 'gcc'. (the Motif libraries needed to be built with it.)
 * If you are changing the compiler to 'cc', you may also need to 
 * redefine the EXTRA_LOAD_FLAGS envariable
 *
 * Uncomment this section if GCC is not the compiler.
 *
 * CC=gcc 
 *
 *  EXTRA_LOAD_FLAGS=
 * 
 */

/*
 * This section tells it which Client library to use.
 * Use 'XawClientLibs' and 'XawClientDepLibs' for the Athena Widget set.
 * Use 'XmClientLibs'  and 'XmClientDepLibs'  for the Motif  widget set.
 * LCL_LIB = XawClientLibs 
 * DEPLIBS = XawClientDepLibs 
 */


/* 
 * This is the Directory of the HTML Widget Library. (Please change it)
 *
 */
LCL_LIB = -L/fs5/grads12/puninj/HTML/libhtmlw-2.7b4 \
	 -L/fs5/grads12/puninj/HTML/CCI/libcci

	
/* 
 * This is the Directory of the HTML Widget Include Files (Please change it)
 *
 */
INCLUDES = -I/fs5/grads12/puninj/HTML/libhtmlw-2.7b4 \
	-I/fs5/grads12/puninj/HTML/CCI/libcci


# These libraries are necessary for Solaris :  
#                      -lsocket -lresolv -L/usr/ucblib -lucb -lnsl

EXTRA_LIBRARIES = -lcci -lhtmlw -lXm -lXaw -lXmu -lXt -lXext -lX11 -lXpm -lm


#
# This is what is built when you say 'make all'
AllTarget($(TARGETS))
 
NormalProgramTarget( $(TARGETS), $(OBJS), $(DEPLIBS), $(LCL_LIB), $(SYS_LIB))
 
DependTarget()




















