1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
|
#error The Imakefile is broken, please use the plain Makefiles
#if 0
XCOMM
XCOMM Imakefile for XmHTML tools
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
#define ForTools
#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
EXTRA_INCLUDES = -I. -I$(BUILDINCTOP)/include
XCOMM dependency X libraries, required for reptype
XDEPLIB = $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
XCOMM default dependency libs.
DEPLIB =
XCOMM Default libraries
DEFAULT_LIBS =
XCOMM X libraries, required for reptype
LOCAL_LIBRARIES = $(XMLIB) $(XTOOLLIB) $(XLIB) $(DMALLOCLIB) $(DEFAULT_LIBS)
#if (IHaveZLIB)
SRCS = GetRepTypes.c WidgetSize.c gifinfo.c ImBuffer.c miniparse.c \
../src/parse.c gif2gzf.c ../src/LZWStream.c httpget.c
#else
SRCS = GetRepTypes.c WidgetSize.c gifinfo.c ImBuffer.c miniparse.c \
../src/parse.c httpget.c
#endif
OBJS1 = GetRepTypes.o
OBJS2 = WidgetSize.o
OBJS3 = gifinfo.o ImBuffer.o
OBJS4 = parse.o miniparse.o
OBJS5 = httpget.o
HTTPLIB= -L../http -lhttp
#if (IHaveZLIB)
OBJS6 = gif2gzf.o LZWStream.o ImBuffer.o
XCOMM
XCOMM list of all targets to make
XCOMM
AllTarget(reptype wsize gifinfo HTMLparse gif2gzf httpget)
#else
AllTarget(reptype wsize gifinfo HTMLparse httpget)
#endif
#if (IHaveZLIB)
XCOMM
XCOMM gif2gzf.c requires the path to the zlib includes
XCOMM
SpecialObjectRule(gif2gzf.o, gif2gzf.c, $(ZLIBINC))
XCOMM
XCOMM LZWStream.c needs a special define for standalone version
XCOMM
ObjectFromSpecialSource(LZWStream, ../src/LZWStream, -DNO_XmHTML)
#endif
XCOMM
XCOMM HTMLParse requires a special compilation rule
XCOMM
ObjectFromSpecialSource(parse, ../src/parse, -DMINIPARSE)
XCOMM
XCOMM Rules for all targets
XCOMM
NormalProgramTarget(reptype,$(OBJS1),$(XDEPLIB),$(LOCAL_LIBRARIES),)
NormalProgramTarget(wsize,$(OBJS2),$(DEPLIB),$(DEFAULT_LIBS),)
NormalProgramTarget(gifinfo,$(OBJS3),$(DEPLIB),$(DEFAULT_LIBS),)
NormalProgramTarget(HTMLparse,$(OBJS4),$(DEPLIB),$(DEFAULT_LIBS),)
NormalProgramTarget(httpget,$(OBJS5),$(DEPLIB),$(DEFAULT_LIBS) $(HTTPLIB),)
#if (IHaveZLIB)
XCOMM
XCOMM gif2gzf requires the zlib libraries.
XCOMM
NormalProgramTarget(gif2gzf,$(OBJS6),$(DEPLIB),$(DEFAULT_LIBS) $(ZLIBLIB),)
#else
XCOMM
XCOMM gif2gzf only available when zlib has been selected in the toplevel
XCOMM XmHTML.cf configuration file.
XCOMM
#endif
DEPEND_DEFINES = -DMINIPARSE -DNO_XmHTML
DependTarget()
XCOMM
XCOMM Special rules for creating a distribution with the barebone makefiles
XCOMM
distclean:: clean
$(RM) core *.out *.log make.world *.bak *.last *.auto *.rej *.orig
$(CP) Makefile.org Makefile
#endif
|