#error The Imakefile is broken, please use the plain Makefiles

#if 0

XCOMM
XCOMM Imakefile for XmHTML book examples
XCOMM
XCOMM (C)Copyright 1995-1997 Ripley Software Development
XCOMM All Rights Reserved
XCOMM
XCOMM This file is part of the XmHTML Widget Library.
XCOMM
XCOMM See the file LICENSE for the full copyright statement.
XCOMM

XCOMM Include the XmHTML configuration file
#include "../XmHTML.cf"

XCOMM On some systems, imake automatically includes Motif.tmpl, on others
XCOMM it doesn't.
XCOMM
#ifndef MotifDefines
#include <Motif.tmpl>
#endif

XCOMM
XCOMM Use DebugLibXmHTML if it exists, else use static lib.
XCOMM

#if DebugLibXmHTML
   XMHTMLLIB = $(BUILDINCTOP)/src/libXmHTML_d.a
#else
#if SharedLibXmHTML
   XMHTMLLIB = -L$(BUILDINCTOP)/src -lXmHTML
#else
   XMHTMLLIB = $(BUILDINCTOP)/src/libXmHTML.a
#endif
#endif
XCOMM    INCLUDES = -I$(BUILDINCTOP)/src $(DMALLOCINC)
     DEPLIBS = $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)

XCOMM required libraries
LOCAL_LIBRARIES = $(XMHTMLLIB) $(XMLIB) $(XTOOLLIB) $(XLIB) $(DMALLOCLIB)

SRCS = simple_html.c simple_html2.c autosize_html.c forced_html.c html.c

OBJS1 = simple_html.o
OBJS2 = simple_html2.o
OBJS3 = autosize_html.o
OBJS4 = forced_html.o
OBJS5 = html.o

AllTarget(simple_html simple_html2 autosize_html forced_html html)

NormalProgramTarget(simple_html,$(OBJS1),$(DEPLIB),$(LOCAL_LIBRARIES),)
NormalProgramTarget(simple_html2,$(OBJS2),$(DEPLIB),$(LOCAL_LIBRARIES),)
NormalProgramTarget(autosize_html,$(OBJS3),$(DEPLIB),$(LOCAL_LIBRARIES),)
NormalProgramTarget(forced_html,$(OBJS4),$(DEPLIB),$(LOCAL_LIBRARIES),)
NormalProgramTarget(html,$(OBJS5),$(DEPLIB),$(LOCAL_LIBRARIES),)
DependTarget()

XCOMM
XCOMM Special rules for creating a distribution with the barebone makefiles
XCOMM
distclean:: clean 
	$(RM) core *.out make.world *.bak *.last *.auto stamp-includes
	$(CP) Makefile.org Makefile

#endif
