programs/: remove Imakefiles for completed modules
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/4 1996/04/21 19:29:26 drk $
|
||||
#define IHaveSubdirs
|
||||
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
|
||||
|
||||
SUBDIRS = parser dthelpview dthelpdemo dthelpgen dthelpprint
|
||||
|
||||
MakeSubdirs($(SUBDIRS))
|
||||
DependSubdirs($(SUBDIRS))
|
||||
LintSubdirs($(SUBDIRS))
|
||||
@@ -1,24 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/7 1996/09/14 15:26:24 drk $
|
||||
/**
|
||||
** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994
|
||||
** Hewlett-Packard Company
|
||||
** (c) Copyright 1993, 1994 International Business Machines Corp.
|
||||
** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
|
||||
** (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of
|
||||
** Novell, Inc.
|
||||
**/
|
||||
|
||||
PROGRAMS = dthelpdemo
|
||||
|
||||
DEPEND_DEFINES = $(DEPENDDEFINES)
|
||||
DEFINES = -D_BMS
|
||||
INCLUDES = -I.
|
||||
|
||||
DEPLIBS = $(DEPDTHELPLIB) $(DEPDTSVCLIB) $(DEPTTLIB) $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
|
||||
LOCAL_LIBRARIES = $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB)
|
||||
SYS_LIBRARIES = DtClientSysLibs $(CXXLIB)
|
||||
|
||||
SRCS = Main.c HourGlass.c HelpCache.c
|
||||
OBJS = Main.o HourGlass.o HelpCache.o
|
||||
|
||||
ComplexProgramTarget($(PROGRAMS))
|
||||
@@ -1,17 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/6 1996/04/21 19:29:32 drk $
|
||||
PROGRAMS = dthelpgen
|
||||
|
||||
DEFINES = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
|
||||
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
|
||||
INCLUDES = -I.
|
||||
|
||||
DEPLIBS = $(DEPDTHELPLIB) $(DEPDTSVCLIB) $(DEPTTLIB) $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
|
||||
LOCAL_LIBRARIES = $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB)
|
||||
SYS_LIBRARIES = DtClientSysLibs $(CXXLIB)
|
||||
|
||||
EXTRA_INCLUDES = -I$(DTHELPSRC)
|
||||
|
||||
SRCS = helpgen.c
|
||||
OBJS = helpgen.o
|
||||
|
||||
ComplexProgramTarget($(PROGRAMS))
|
||||
@@ -1,22 +0,0 @@
|
||||
XCOMM $TOG: Imakefile /main/11 1997/05/02 12:24:38 samborn $
|
||||
PROGRAMS = dthelpprint
|
||||
|
||||
INCLUDES = -I. -I$(DTHELPSRC)
|
||||
DEFINES = -DDTLIB $(ICONV_INBUF_DEFINE) \
|
||||
-DCDE_CONFIGURATION_TOP='"$(CDE_CONFIGURATION_TOP)"' \
|
||||
-DCDE_INSTALLATION_TOP='"$(CDE_INSTALLATION_TOP)"'
|
||||
|
||||
DEPLIBS = $(DEPDTHELPLIB) $(DEPDTSVCLIB) $(DEPTTLIB) $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
|
||||
LOCAL_LIBRARIES = $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB)
|
||||
|
||||
/* Sun needs the widechar library */
|
||||
#ifdef SunArchitecture
|
||||
SYS_LIBRARIES = DtClientSysLibs -lw $(CXXLIB)
|
||||
#else
|
||||
SYS_LIBRARIES = DtClientSysLibs $(CXXLIB)
|
||||
#endif
|
||||
|
||||
SRCS = Main.c Initialize.c PrintUtil.c PrintTopics.c PrintManStrFile.c
|
||||
OBJS = Main.o Initialize.o PrintUtil.o PrintTopics.o PrintManStrFile.o
|
||||
|
||||
ComplexProgramTarget($(PROGRAMS))
|
||||
@@ -1,15 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/7 1996/09/14 15:26:44 drk $
|
||||
PROGRAMS = dthelpview
|
||||
|
||||
DEPEND_DEFINES = $(DEPENDDEFINES)
|
||||
DEFINES = -D_BMS
|
||||
INCLUDES = -I.
|
||||
|
||||
DEPLIBS = $(DEPDTHELPLIB) $(DEPDTSVCLIB) $(DEPTTLIB) $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
|
||||
LOCAL_LIBRARIES = $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB)
|
||||
SYS_LIBRARIES = DtClientSysLibs $(CXXLIB)
|
||||
|
||||
SRCS = Main.c ManPage.c Util.c
|
||||
OBJS = Main.o ManPage.o Util.o
|
||||
|
||||
ComplexProgramTarget($(PROGRAMS))
|
||||
@@ -1,9 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/4 1996/04/21 19:29:56 drk $
|
||||
#define IHaveSubdirs
|
||||
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
|
||||
|
||||
SUBDIRS = pass1 canon1 pass2 helptag misc dtds
|
||||
|
||||
MakeSubdirs($(SUBDIRS))
|
||||
DependSubdirs($(SUBDIRS))
|
||||
LintSubdirs($(SUBDIRS))
|
||||
@@ -1,16 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/3 1995/11/08 09:24:17 rswiston $
|
||||
#define IHaveSubdirs
|
||||
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)'
|
||||
|
||||
#if !UseCCMakeDepend
|
||||
MDEP_DIR = makedepend
|
||||
#endif
|
||||
|
||||
#ifdef SunArchitecture
|
||||
.NO_PARALLEL:
|
||||
#endif
|
||||
|
||||
SUBDIRS = util build eltdef helptag parser
|
||||
|
||||
MakeSubdirs($(SUBDIRS))
|
||||
DependSubdirs($(SUBDIRS))
|
||||
@@ -1,86 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/3 1995/11/08 09:24:32 rswiston $
|
||||
/* build Imakefile */
|
||||
|
||||
ARCCMD = arc u
|
||||
UNARCCMD = arc x
|
||||
ARCDELCMD = arc d
|
||||
|
||||
HELPTAG = ..
|
||||
HELPTAGSRC = $(HELPTAG)/helptag
|
||||
HELPPARSERSRC = $(HELPTAG)/parser
|
||||
HELPELTDEFSRC = $(HELPTAG)/eltdef
|
||||
HELPDTDFILE = $(HELPTAGSRC)/hptag.dtd
|
||||
HELPUTILSRC = $(HELPTAG)/util
|
||||
HELPBUILDSRC = $(HELPTAG)/build
|
||||
HELPUTILLIB = $(HELPTAG)/util/libutil.a
|
||||
|
||||
INCLUDES = -I. -I$(HELPUTILSRC)
|
||||
|
||||
SRCS = \
|
||||
build.c buildutl.c eltree.c except.c fsa.c out.c param.c \
|
||||
scan.c sref.c tree.c
|
||||
|
||||
OBJS = \
|
||||
build.o buildutl.o eltree.o except.o fsa.o out.o param.o \
|
||||
scan.o sref.o tree.o
|
||||
|
||||
CHPRODS = context.h delim.h
|
||||
CCPRODS = case.c
|
||||
|
||||
BHPRODS = arc.h dtd.h entity.h
|
||||
BCPRODS =
|
||||
|
||||
CTRASH = error delim.dat
|
||||
BTRASH = error template
|
||||
|
||||
CPRODS = $(CHPRODS) $(CCPRODS)
|
||||
BPRODS = $(BHPRODS) $(BCPRODS)
|
||||
TRASH = error delim.dat template
|
||||
|
||||
PRODUCTS = $(CPRODS) $(BPRODS)
|
||||
|
||||
LOCAL_LIBRARIES = $(HELPUTILLIB)
|
||||
|
||||
/* Don't use shared libs for hp */
|
||||
#ifdef HPArchitecture
|
||||
#if OSMajorVersion > 7
|
||||
EXTRA_LOAD_FLAGS = -Wl,-a archive
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef SunArchitecture
|
||||
.NO_PARALLEL:
|
||||
#endif
|
||||
|
||||
all:: $(PRODUCTS)
|
||||
|
||||
$(BPRODS): build $(HELPDTDFILE)
|
||||
$(RM) $(BPRODS) $(BTRASH)
|
||||
./build -m < $(HELPDTDFILE)
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
NormalProgramTarget(build,$(OBJS),delim.h $(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),)
|
||||
|
||||
$(CPRODS): $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.bld context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
$(CP) $(HELPTAGSRC)/delim.bld delim.dat /* appl.-specific delim.dat */
|
||||
$(HELPUTILSRC)/context sparse
|
||||
|
||||
$(HELPUTILSRC)/context:
|
||||
cd $(HELPUTILSRC); make context
|
||||
|
||||
|
||||
arc package :
|
||||
if exist util.arc $(CP) build.arc old.arc
|
||||
$(ARCCMD) util.arc *.c *.h makefile
|
||||
|
||||
unarc dearc :
|
||||
$(UNARCCMD) util.arc
|
||||
|
||||
clean::
|
||||
$(RM) $(PRODUCTS) $(TRASH)
|
||||
|
||||
depend:: $(SRCS)
|
||||
DependTarget()
|
||||
|
||||
includes:: $(PRODUCTS)
|
||||
@@ -1,85 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/3 1995/11/08 09:27:14 rswiston $
|
||||
/* eltdef Imakefile */
|
||||
|
||||
ARCCMD = arc u
|
||||
UNARCCMD = arc x
|
||||
ARCDELCMD = arc d
|
||||
|
||||
HELPTAG = ..
|
||||
HELPTAGSRC = $(HELPTAG)/helptag
|
||||
HELPPARSERSRC = $(HELPTAG)/parser
|
||||
HELPELTDEFSRC = $(HELPTAG)/eltdef
|
||||
HELPDTDFILE = $(HELPTAGSRC)/hptag.dtd
|
||||
HELPUTILSRC = $(HELPTAG)/util
|
||||
HELPBUILDSRC = $(HELPTAG)/build
|
||||
HELPUTILLIB = $(HELPTAG)/util/libutil.a
|
||||
HELPIFFILE = $(HELPTAGSRC)/help.if
|
||||
HELPTSSFILE = $(HELPTAGSRC)/htag.tss
|
||||
|
||||
INCLUDES = -I. -I$(HELPUTILSRC) -I$(HELPBUILDSRC)
|
||||
|
||||
SRCS = eltdef.c eltutil.c entity.c scan.c
|
||||
|
||||
OBJS = eltdef.o eltutil.o entity.o scan.o
|
||||
|
||||
CCPRODS = case.c
|
||||
ECPRODS = efile.c entfile.c pfile.c sfile.c stfile.c tfile.c
|
||||
|
||||
CHPRODS = context.h delim.h
|
||||
EHPRODS = entity2.h globdec.h globdef.h if.h pval.h signon.h signonx.h
|
||||
|
||||
CPRODS = $(CCPRODS) $(CHPRODS)
|
||||
EPRODS = $(ECPRODS) $(EHPRODS)
|
||||
|
||||
CTRASH = delim.dat error
|
||||
ETRASH = estring.h error
|
||||
TRASH = delim.dat estring.h error
|
||||
|
||||
PRODUCTS = $(CPRODS) $(EPRODS)
|
||||
|
||||
LOCAL_LIBRARIES = $(HELPUTILLIB)
|
||||
|
||||
/* Don't use shared libs for hp */
|
||||
#ifdef HPArchitecture
|
||||
#if OSMajorVersion > 7
|
||||
EXTRA_LOAD_FLAGS = -Wl,-a archive
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef SunArchitecture
|
||||
.NO_PARALLEL:
|
||||
#endif
|
||||
|
||||
all:: $(PRODUCTS)
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
NormalProgramTarget(eltdef,$(OBJS),delim.h $(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),)
|
||||
|
||||
$(EPRODS): eltdef $(HELPIFFILE) $(HELPTSSFILE)
|
||||
$(RM) $(EPRODS) $(ETRASH)
|
||||
./eltdef $(HELPIFFILE)
|
||||
|
||||
$(CPRODS): $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.elt context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
$(CP) $(HELPTAGSRC)/delim.elt delim.dat /* appl.-specific delim.dat */
|
||||
$(HELPUTILSRC)/context
|
||||
|
||||
$(HELPUTILSRC)/context:
|
||||
cd $(HELPUTILSRC); make context
|
||||
|
||||
|
||||
arc package :
|
||||
if exist util.arc $(CP) build.arc old.arc
|
||||
$(ARCCMD) util.arc *.c *.h makefile
|
||||
|
||||
unarc dearc :
|
||||
$(UNARCCMD) util.arc
|
||||
|
||||
clean::
|
||||
$(RM) $(PRODUCTS) $(TRASH)
|
||||
|
||||
depend::
|
||||
|
||||
includes:: $(PRODUCTS)
|
||||
|
||||
DependTarget()
|
||||
@@ -1,96 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/9 1996/10/09 14:04:41 drk $
|
||||
/* helptag Imakefile */
|
||||
|
||||
ARCCMD = arc u
|
||||
UNARCCMD = arc x
|
||||
ARCDELCMD = arc d
|
||||
|
||||
.SUFFIXES : .e .arc .c .h
|
||||
|
||||
HELPTAG = ..
|
||||
HELPTAGSRC = $(HELPTAG)/helptag
|
||||
HELPPARSERSRC = $(HELPTAG)/parser
|
||||
HELPELTDEFSRC = $(HELPTAG)/eltdef
|
||||
HELPDTDFILE = $(HELPTAGSRC)/hptag.dtd
|
||||
HELPUTILSRC = $(HELPTAG)/util
|
||||
HELPBUILDSRC = $(HELPTAG)/build
|
||||
HELPUTILLIB = $(HELPTAG)/util/libutil.a
|
||||
HELPIFFILE = $(HELPTAGSRC)/help.if
|
||||
HELPTSSFILE = $(HELPTAGSRC)/htag.tss
|
||||
|
||||
XLATESRC = $(DTHELPSRC)
|
||||
XLATEHDRS = $(XLATESRC)/XlationSvc.h $(XLATESRC)/LocaleXlate.h
|
||||
XLATESRCS = LocaleXlate.c XlationSvc.c
|
||||
XLATEOBJS = LocaleXlate.o XlationSvc.o
|
||||
|
||||
INCLUDES = -I. -I$(HELPUTILSRC) -I$(HELPPARSERSRC) \
|
||||
-I$(HELPELTDEFSRC) -I$(XLATESRC)
|
||||
DEFINES = -DOSMAJORVERSION=OSMajorVersion \
|
||||
-DOSMINORVERSION=OSMinorVersion
|
||||
|
||||
|
||||
ELTHDRS = $(HELPUTILSRC)/entdef.h $(HELPUTILSRC)/entext.h
|
||||
|
||||
XCOMM PARSEHDRS are header files used by many parser routines
|
||||
PARSEHDRS = $(HELPUTILSRC)/basic.h $(HELPUTILSRC)/trie.h \
|
||||
$(HELPUTILSRC)/common.h $(HELPUTILSRC)/dtddef.h \
|
||||
$(HELPUTILSRC)/dtdext.h $(HELPUTILSRC)/sparse.h \
|
||||
parser.h proto.h
|
||||
|
||||
APPLHDRS = $(PARSEHDRS) $(ELTHDRS) \
|
||||
$(HELPUTILSRC)/version.h \
|
||||
$(HELPTAGSRC)/global.h $(HELPTAGSRC)/charconv.h \
|
||||
$(HELPTAGSRC)/roman8.h $(HELPTAGSRC)/fproto.h \
|
||||
../parser/pval.h ../parser/globdec.h ../parser/signonx.h \
|
||||
../parser/userinc.h
|
||||
|
||||
SRCS = custom.c default.c global.c help.c make.c option.c out.c special.c xref.c \
|
||||
$(XLATESRCS)
|
||||
|
||||
OBJS = custom.o default.o global.o help.o make.o option.o out.o special.o xref.o \
|
||||
$(XLATEOBJS)
|
||||
|
||||
LOCAL_LIBRARIES = $(HELPUTILLIB)
|
||||
|
||||
/* Don't use shared libs for hp */
|
||||
#ifdef HPArchitecture
|
||||
#if OSMajorVersion > 7
|
||||
EXTRA_LOAD_FLAGS = -Wl,-a archive
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined (SunArchitecture)
|
||||
SYS_LIBRARIES = -lm -ldl -lgen
|
||||
#endif /* SunArchitecture */
|
||||
|
||||
all:: $(OBJS)
|
||||
|
||||
LinkSourceFile(LocaleXlate.c,$(DTSVCSRC)/DtUtil2)
|
||||
LinkSourceFile(XlationSvc.c,$(DTSVCSRC)/DtUtil2)
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
|
||||
dthelp_ctag1: $(HELPPARSERSRC)/parser
|
||||
$(RM) dthelp_ctag1
|
||||
$(CP) $(HELPPARSERSRC)/parser dthelp_ctag1
|
||||
|
||||
clean::
|
||||
$(RM) dthelp_ctag1
|
||||
$(RM) $(XLATESRCS)
|
||||
|
||||
|
||||
DependTarget()
|
||||
|
||||
arcappl archptag :
|
||||
if exist hptag.arc $(CP) hptag.arc hptag.old
|
||||
$(ARCCMD) hptag.arc *.c *.h linkcmd.dos linkcmd.unx $(HELPDTDFILE) \
|
||||
tex.if makefile makefile.doc make.ini delim.*
|
||||
|
||||
unarcappl unarchptag :
|
||||
$(UNARCCMD) hptag.arc
|
||||
|
||||
tags ::
|
||||
etags -t *.c *.h *.if
|
||||
|
||||
etags ::
|
||||
etags -t *.c *.h *.if
|
||||
@@ -1,129 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/10 1996/10/09 14:04:51 drk $
|
||||
/* parser Imakefile */
|
||||
|
||||
ARCCMD = arc u
|
||||
UNARCCMD = arc x
|
||||
ARCDELCMD = arc d
|
||||
|
||||
HELPTAG = ..
|
||||
HELPTAGSRC = $(HELPTAG)/helptag
|
||||
HELPPARSERSRC = $(HELPTAG)/parser
|
||||
HELPELTDEFSRC = $(HELPTAG)/eltdef
|
||||
HELPDTDFILE = $(HELPTAGSRC)/hptag.dtd
|
||||
HELPUTILSRC = $(HELPTAG)/util
|
||||
HELPBUILDSRC = $(HELPTAG)/build
|
||||
HELPUTILLIB = $(HELPTAG)/util/libutil.a
|
||||
|
||||
INCLUDES = -I. -I$(HELPUTILSRC) -I$(HELPTAGSRC) -I$(HELPBUILDSRC) \
|
||||
-I$(HELPELTDEFSRC)
|
||||
|
||||
SRCS = parser.c actutil.c \
|
||||
closent.c code.c cyclent.c dcurelt.c \
|
||||
end.c entity.c \
|
||||
error.c getsign.c \
|
||||
input.c level.c lookent.c \
|
||||
minim.c optstrg.c param.c parent.c \
|
||||
parutil.c pi.c \
|
||||
scan.c setpar.c start.c string.c struct.c \
|
||||
text.c
|
||||
XCOMM parvalok.c parname.c ifdata.c findpar.c
|
||||
|
||||
OBJS = parser.o actutil.o \
|
||||
closent.o code.o cyclent.o dcurelt.o \
|
||||
end.o entity.o \
|
||||
error.o getsign.o \
|
||||
input.o level.o lookent.o \
|
||||
minim.o optstrg.o param.o parent.o \
|
||||
parutil.o pi.o \
|
||||
scan.o setpar.o start.o string.o struct.o \
|
||||
text.o
|
||||
XCOMM parvalok.o parname.o ifdata.o findpar.o
|
||||
|
||||
XLATEOBJECTS = $(HELPTAGSRC)/LocaleXlate.o $(HELPTAGSRC)/XlationSvc.o
|
||||
|
||||
APPLOBJECTS = \
|
||||
$(HELPTAGSRC)/custom.o \
|
||||
$(HELPTAGSRC)/default.o \
|
||||
$(HELPTAGSRC)/global.o \
|
||||
$(HELPTAGSRC)/help.o \
|
||||
$(HELPTAGSRC)/make.o \
|
||||
$(HELPTAGSRC)/option.o \
|
||||
$(HELPTAGSRC)/out.o \
|
||||
$(HELPTAGSRC)/xref.o \
|
||||
$(XLATEOBJECTS)
|
||||
|
||||
ELT_H = \
|
||||
$(HELPELTDEFSRC)/entity2.h \
|
||||
$(HELPELTDEFSRC)/globdec.h \
|
||||
$(HELPELTDEFSRC)/globdef.h \
|
||||
$(HELPELTDEFSRC)/if.h \
|
||||
$(HELPELTDEFSRC)/pval.h \
|
||||
$(HELPELTDEFSRC)/signon.h \
|
||||
$(HELPELTDEFSRC)/signonx.h
|
||||
|
||||
ELT_C = \
|
||||
$(HELPELTDEFSRC)/efile.c \
|
||||
$(HELPELTDEFSRC)/entfile.c \
|
||||
$(HELPELTDEFSRC)/pfile.c \
|
||||
$(HELPELTDEFSRC)/sfile.c \
|
||||
$(HELPELTDEFSRC)/stfile.c \
|
||||
$(HELPELTDEFSRC)/tfile.c
|
||||
|
||||
ELT_DEFS = $(ELT_H) $(ELT_C)
|
||||
|
||||
#ifdef SunArchitecture
|
||||
.NO_PARALLEL:
|
||||
#endif
|
||||
|
||||
LOCAL_LIBRARIES = $(HELPUTILLIB)
|
||||
SYS_LIBRARIES = $(XLIB) DtClientSysLibs
|
||||
|
||||
#if defined (SunArchitecture)
|
||||
SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen
|
||||
#endif /* SunArchitecture */
|
||||
|
||||
all:: $(HELPTAGSRC)/dthelp_ctag1
|
||||
|
||||
other_dirs:
|
||||
cd $(HELPELTDEFSRC); make
|
||||
cd $(HELPTAGSRC); make
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
NormalProgramTarget(parser,$(OBJS) $(APPLOBJECTS),delim.h $(LOCAL_LIBRARIES) other_dirs,$(LOCAL_LIBRARIES),)
|
||||
|
||||
CPRODS = case.c context.h delim.h
|
||||
CTRASH = error delim.dat
|
||||
|
||||
$(HELPTAGSRC)/dthelp_ctag1: parser
|
||||
$(RM) $(HELPTAGSRC)/dthelp_ctag1
|
||||
$(CP) parser $(HELPTAGSRC)/dthelp_ctag1
|
||||
|
||||
$(CPRODS): $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.par context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
$(CP) $(HELPTAGSRC)/delim.par delim.dat /* appl.-specific delim.dat */
|
||||
$(HELPUTILSRC)/context
|
||||
|
||||
$(HELPUTILSRC)/context:
|
||||
cd $(HELPUTILSRC); make context
|
||||
|
||||
$(APPLOBJECTS):
|
||||
cd $(HELPTAGSRC); make $(APPLOBJECTS)
|
||||
|
||||
$(ELT_DEFS):
|
||||
cd $(HELPELTDEFSRC); make $(ELT_DEFS)
|
||||
|
||||
arc package :
|
||||
if exist util.arc $(CP) build.arc old.arc
|
||||
$(ARCCMD) util.arc *.c *.h makefile
|
||||
|
||||
unarc dearc :
|
||||
$(UNARCCMD) util.arc
|
||||
|
||||
clean::
|
||||
$(RM) $(CPRODS) $(CTRASH) parser *.o
|
||||
|
||||
depend:: $(SRCS)
|
||||
|
||||
includes:: $(CPRODS)
|
||||
|
||||
DependTarget()
|
||||
@@ -1,60 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/4 1996/05/09 17:30:58 drk $
|
||||
/* Util Imakefile */
|
||||
ARCCMD = arc u
|
||||
UNARCCMD = arc x
|
||||
ARCDELCMD = arc d
|
||||
|
||||
INCLUDES = -I.
|
||||
|
||||
LIBSRCS = \
|
||||
allwhite.c inctest.c letter.c triedump.c triepdmp.c \
|
||||
trieplk.c trierset.c upcmp8.c upstrcmp.c wchar.c
|
||||
CTXSRCS = \
|
||||
conutil.c error.c exit.c itoa.c lower.c malloc.c openchk.c \
|
||||
trie.c triecnt.c upper.c whitesp.c
|
||||
OTHERSRCS = \
|
||||
context.c emptyfil.c fclndir.c
|
||||
SRCS = $(LIBSRCS) $(CTXSRCS) $(OTHERSRCS)
|
||||
|
||||
|
||||
LIBOBJS = \
|
||||
allwhite.o inctest.o letter.o triedump.o triepdmp.o \
|
||||
trieplk.o trierset.o upcmp8.o upstrcmp.o wchar.o
|
||||
CTXOBJS = \
|
||||
conutil.o error.o exit.o itoa.o lower.o malloc.o openchk.o \
|
||||
trie.o triecnt.o upper.o whitesp.o
|
||||
OTHEROBJS = \
|
||||
context.o fclndir.o emptyfil.o
|
||||
|
||||
LOCAL_LIBRARIES = libutil.a
|
||||
|
||||
/* Don't use shared libs for hp */
|
||||
#ifdef HPArchitecture
|
||||
#if OSMajorVersion > 7
|
||||
EXTRA_LOAD_FLAGS = -Wl,-a archive
|
||||
#endif
|
||||
#endif
|
||||
|
||||
all::
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
NormalLibraryTarget(util,$(LIBOBJS) $(CTXOBJS))
|
||||
|
||||
all:: context fclndir
|
||||
|
||||
NormalProgramTarget(context,context.o,$(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),)
|
||||
NormalProgramTarget(fclndir,fclndir.o,$(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),)
|
||||
|
||||
|
||||
XCOMM arc generates an arc file containing all the source files
|
||||
XCOMM in this directory
|
||||
arc package :
|
||||
if exist util.arc $(CP) util.arc old.arc
|
||||
$(ARCCMD) util.arc *.c *.h makefile
|
||||
|
||||
unarc dearc :
|
||||
$(UNARCCMD) util.arc
|
||||
|
||||
DependTarget()
|
||||
|
||||
depend:: $(SRCS)
|
||||
@@ -1,5 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/4 1996/04/21 19:52:37 drk $
|
||||
|
||||
DTDFILES = helptag.dtd sdl.dtd
|
||||
|
||||
all::
|
||||
@@ -1,7 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/4 1996/04/21 19:30:06 drk $
|
||||
|
||||
ICONS = cauticon.pm noteicon.pm warnicon.pm
|
||||
|
||||
CppScriptTarget(dthelptag,helptag.cpp,$(LOCAL_CPP_DEFINES),)
|
||||
|
||||
AllTarget(dthelptag)
|
||||
@@ -1,6 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/4 1996/04/21 19:52:41 drk $
|
||||
|
||||
ENTFILES = helpchar.ent helpicon.ent helplang.ent
|
||||
OPTFILES = helptag.opt
|
||||
|
||||
all::
|
||||
@@ -1,8 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/4 1996/04/21 19:30:13 drk $
|
||||
#define IHaveSubdirs
|
||||
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)'
|
||||
|
||||
SUBDIRS = util build eltdef helptag parser
|
||||
|
||||
MakeSubdirs($(SUBDIRS))
|
||||
DependSubdirs($(SUBDIRS))
|
||||
@@ -1,86 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/3 1995/11/08 09:59:53 rswiston $
|
||||
/* build Imakefile */
|
||||
|
||||
ARCCMD = arc u
|
||||
UNARCCMD = arc x
|
||||
ARCDELCMD = arc d
|
||||
|
||||
HELPTAG = ..
|
||||
HELPTAGSRC = $(HELPTAG)/helptag
|
||||
HELPPARSERSRC = $(HELPTAG)/parser
|
||||
HELPELTDEFSRC = $(HELPTAG)/eltdef
|
||||
HELPDTDFILE = $(HELPTAGSRC)/hptag.dtd
|
||||
HELPUTILSRC = $(HELPTAG)/util
|
||||
HELPBUILDSRC = $(HELPTAG)/build
|
||||
HELPUTILLIB = $(HELPTAG)/util/libutil.a
|
||||
|
||||
INCLUDES = -I. -I$(HELPUTILSRC)
|
||||
|
||||
SRCS = \
|
||||
build.c buildutl.c eltree.c except.c fsa.c out.c param.c \
|
||||
scan.c sref.c tree.c
|
||||
|
||||
OBJS = \
|
||||
build.o buildutl.o eltree.o except.o fsa.o out.o param.o \
|
||||
scan.o sref.o tree.o
|
||||
|
||||
CHPRODS = context.h delim.h
|
||||
CCPRODS = case.c
|
||||
|
||||
BHPRODS = arc.h dtd.h entity.h
|
||||
BCPRODS =
|
||||
|
||||
CTRASH = error delim.dat
|
||||
BTRASH = error template
|
||||
|
||||
CPRODS = $(CHPRODS) $(CCPRODS)
|
||||
BPRODS = $(BHPRODS) $(BCPRODS)
|
||||
TRASH = error delim.dat template
|
||||
|
||||
PRODUCTS = $(CPRODS) $(BPRODS)
|
||||
|
||||
LOCAL_LIBRARIES = $(HELPUTILLIB)
|
||||
|
||||
/* Don't use shared libs for hp */
|
||||
#ifdef HPArchitecture
|
||||
#if OSMajorVersion > 7
|
||||
EXTRA_LOAD_FLAGS = -Wl,-a archive
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef SunArchitecture
|
||||
.NO_PARALLEL:
|
||||
#endif
|
||||
|
||||
all:: $(PRODUCTS)
|
||||
|
||||
$(BPRODS): build $(HELPDTDFILE)
|
||||
$(RM) $(BPRODS) $(BTRASH)
|
||||
./build < $(HELPDTDFILE)
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
NormalProgramTarget(build,$(OBJS),delim.h $(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),)
|
||||
|
||||
$(CPRODS): $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.bld context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
$(CP) $(HELPTAGSRC)/delim.bld delim.dat /* appl.-specific delim.dat */
|
||||
$(HELPUTILSRC)/context sparse
|
||||
|
||||
$(HELPUTILSRC)/context:
|
||||
cd $(HELPUTILSRC); make context
|
||||
|
||||
|
||||
arc package :
|
||||
if exist util.arc $(CP) build.arc old.arc
|
||||
$(ARCCMD) util.arc *.c *.h makefile
|
||||
|
||||
unarc dearc :
|
||||
$(UNARCCMD) util.arc
|
||||
|
||||
clean::
|
||||
$(RM) $(PRODUCTS) $(TRASH)
|
||||
|
||||
depend:: $(SRCS)
|
||||
DependTarget()
|
||||
|
||||
includes:: $(PRODUCTS)
|
||||
@@ -1,85 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/3 1995/11/08 10:04:07 rswiston $
|
||||
/* eltdef Imakefile */
|
||||
|
||||
ARCCMD = arc u
|
||||
UNARCCMD = arc x
|
||||
ARCDELCMD = arc d
|
||||
|
||||
HELPTAG = ..
|
||||
HELPTAGSRC = $(HELPTAG)/helptag
|
||||
HELPPARSERSRC = $(HELPTAG)/parser
|
||||
HELPELTDEFSRC = $(HELPTAG)/eltdef
|
||||
HELPDTDFILE = $(HELPTAGSRC)/hptag.dtd
|
||||
HELPUTILSRC = $(HELPTAG)/util
|
||||
HELPBUILDSRC = $(HELPTAG)/build
|
||||
HELPUTILLIB = $(HELPTAG)/util/libutil.a
|
||||
HELPIFFILE = $(HELPTAGSRC)/help.if
|
||||
HELPTSSFILE = $(HELPTAGSRC)/htag.tss
|
||||
|
||||
INCLUDES = -I. -I$(HELPUTILSRC) -I$(HELPBUILDSRC)
|
||||
|
||||
SRCS = eltdef.c eltutil.c entity.c scan.c
|
||||
|
||||
OBJS = eltdef.o eltutil.o entity.o scan.o
|
||||
|
||||
CCPRODS = case.c
|
||||
ECPRODS = efile.c entfile.c pfile.c sfile.c stfile.c tfile.c
|
||||
|
||||
CHPRODS = context.h delim.h
|
||||
EHPRODS = entity2.h globdec.h globdef.h if.h pval.h signon.h signonx.h
|
||||
|
||||
CPRODS = $(CCPRODS) $(CHPRODS)
|
||||
EPRODS = $(ECPRODS) $(EHPRODS)
|
||||
|
||||
CTRASH = delim.dat error
|
||||
ETRASH = estring.h error
|
||||
TRASH = delim.dat estring.h error
|
||||
|
||||
PRODUCTS = $(CPRODS) $(EPRODS)
|
||||
|
||||
LOCAL_LIBRARIES = $(HELPUTILLIB)
|
||||
|
||||
/* Don't use shared libs for hp */
|
||||
#ifdef HPArchitecture
|
||||
#if OSMajorVersion > 7
|
||||
EXTRA_LOAD_FLAGS = -Wl,-a archive
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef SunArchitecture
|
||||
.NO_PARALLEL:
|
||||
#endif
|
||||
|
||||
all:: $(PRODUCTS)
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
NormalProgramTarget(eltdef,$(OBJS),delim.h $(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),)
|
||||
|
||||
$(EPRODS): eltdef $(HELPIFFILE) $(HELPTSSFILE)
|
||||
$(RM) $(EPRODS) $(ETRASH)
|
||||
./eltdef $(HELPIFFILE)
|
||||
|
||||
$(CPRODS): $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.elt context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
$(CP) $(HELPTAGSRC)/delim.elt delim.dat /* appl.-specific delim.dat */
|
||||
$(HELPUTILSRC)/context
|
||||
|
||||
$(HELPUTILSRC)/context:
|
||||
cd $(HELPUTILSRC); make context
|
||||
|
||||
|
||||
arc package :
|
||||
if exist util.arc $(CP) build.arc old.arc
|
||||
$(ARCCMD) util.arc *.c *.h makefile
|
||||
|
||||
unarc dearc :
|
||||
$(UNARCCMD) util.arc
|
||||
|
||||
clean::
|
||||
$(RM) $(PRODUCTS) $(TRASH)
|
||||
|
||||
depend::
|
||||
|
||||
includes:: $(PRODUCTS)
|
||||
|
||||
DependTarget()
|
||||
@@ -1,96 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/9 1996/10/09 14:04:59 drk $
|
||||
/* helptag Imakefile */
|
||||
|
||||
ARCCMD = arc u
|
||||
UNARCCMD = arc x
|
||||
ARCDELCMD = arc d
|
||||
|
||||
.SUFFIXES : .e .arc .c .h
|
||||
|
||||
HELPTAG = ..
|
||||
HELPTAGSRC = $(HELPTAG)/helptag
|
||||
HELPPARSERSRC = $(HELPTAG)/parser
|
||||
HELPELTDEFSRC = $(HELPTAG)/eltdef
|
||||
HELPDTDFILE = $(HELPTAGSRC)/hptag.dtd
|
||||
HELPUTILSRC = $(HELPTAG)/util
|
||||
HELPBUILDSRC = $(HELPTAG)/build
|
||||
HELPUTILLIB = $(HELPTAG)/util/libutil.a
|
||||
HELPIFFILE = $(HELPTAGSRC)/help.if
|
||||
HELPTSSFILE = $(HELPTAGSRC)/htag.tss
|
||||
|
||||
XLATESRC = $(DTHELPSRC)
|
||||
XLATEHDRS = $(XLATESRC)/XlationSvc.h $(XLATESRC)/LocaleXlate.h
|
||||
XLATESRCS = LocaleXlate.c XlationSvc.c
|
||||
XLATEOBJS = LocaleXlate.o XlationSvc.o
|
||||
|
||||
INCLUDES = -I. -I$(HELPUTILSRC) -I$(HELPPARSERSRC) \
|
||||
-I$(HELPELTDEFSRC) -I$(XLATESRC)
|
||||
DEFINES = -DOSMAJORVERSION=OSMajorVersion \
|
||||
-DOSMINORVERSION=OSMinorVersion
|
||||
|
||||
|
||||
ELTHDRS = $(HELPUTILSRC)/entdef.h $(HELPUTILSRC)/entext.h
|
||||
|
||||
XCOMM PARSEHDRS are header files used by many parser routines
|
||||
PARSEHDRS = $(HELPUTILSRC)/basic.h $(HELPUTILSRC)/trie.h \
|
||||
$(HELPUTILSRC)/common.h $(HELPUTILSRC)/dtddef.h \
|
||||
$(HELPUTILSRC)/dtdext.h $(HELPUTILSRC)/sparse.h \
|
||||
parser.h proto.h
|
||||
|
||||
APPLHDRS = $(PARSEHDRS) $(ELTHDRS) \
|
||||
$(HELPUTILSRC)/version.h \
|
||||
$(HELPTAGSRC)/global.h $(HELPTAGSRC)/charconv.h \
|
||||
$(HELPTAGSRC)/roman8.h $(HELPTAGSRC)/fproto.h \
|
||||
../parser/pval.h ../parser/globdec.h ../parser/signonx.h \
|
||||
../parser/userinc.h
|
||||
|
||||
SRCS = custom.c default.c global.c help.c make.c option.c out.c special.c xref.c \
|
||||
$(XLATESRCS)
|
||||
|
||||
OBJS = custom.o default.o global.o help.o make.o option.o out.o special.o xref.o \
|
||||
$(XLATEOBJS)
|
||||
|
||||
LOCAL_LIBRARIES = $(HELPUTILLIB)
|
||||
|
||||
/* Don't use shared libs for hp */
|
||||
#ifdef HPArchitecture
|
||||
#if OSMajorVersion > 7
|
||||
EXTRA_LOAD_FLAGS = -Wl,-a archive
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined (SunArchitecture)
|
||||
SYS_LIBRARIES = -lm -ldl -lgen
|
||||
#endif /* SunArchitecture */
|
||||
|
||||
all:: $(OBJS)
|
||||
|
||||
LinkSourceFile(LocaleXlate.c,$(DTSVCSRC)/DtUtil2)
|
||||
LinkSourceFile(XlationSvc.c,$(DTSVCSRC)/DtUtil2)
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
|
||||
dthelp_htag1: $(HELPPARSERSRC)/parser
|
||||
$(RM) dthelp_htag1
|
||||
$(CP) $(HELPPARSERSRC)/parser dthelp_htag1
|
||||
|
||||
clean::
|
||||
$(RM) dthelp_htag1
|
||||
$(RM) $(XLATESRCS)
|
||||
|
||||
|
||||
DependTarget()
|
||||
|
||||
arcappl archptag :
|
||||
if exist hptag.arc $(CP) hptag.arc hptag.old
|
||||
$(ARCCMD) hptag.arc *.c *.h linkcmd.dos linkcmd.unx $(HELPDTDFILE) \
|
||||
tex.if makefile makefile.doc make.ini delim.*
|
||||
|
||||
unarcappl unarchptag :
|
||||
$(UNARCCMD) hptag.arc
|
||||
|
||||
tags ::
|
||||
etags -t *.c *.h *.if
|
||||
|
||||
etags ::
|
||||
etags -t *.c *.h *.if
|
||||
@@ -1,129 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/10 1996/10/09 14:05:07 drk $
|
||||
/* parser Imakefile */
|
||||
|
||||
ARCCMD = arc u
|
||||
UNARCCMD = arc x
|
||||
ARCDELCMD = arc d
|
||||
|
||||
HELPTAG = ..
|
||||
HELPTAGSRC = $(HELPTAG)/helptag
|
||||
HELPPARSERSRC = $(HELPTAG)/parser
|
||||
HELPELTDEFSRC = $(HELPTAG)/eltdef
|
||||
HELPDTDFILE = $(HELPTAGSRC)/hptag.dtd
|
||||
HELPUTILSRC = $(HELPTAG)/util
|
||||
HELPBUILDSRC = $(HELPTAG)/build
|
||||
HELPUTILLIB = $(HELPTAG)/util/libutil.a
|
||||
|
||||
INCLUDES = -I. -I$(HELPUTILSRC) -I$(HELPTAGSRC) -I$(HELPBUILDSRC) \
|
||||
-I$(HELPELTDEFSRC)
|
||||
|
||||
SRCS = parser.c actutil.c \
|
||||
closent.c code.c cyclent.c dcurelt.c \
|
||||
end.c entity.c \
|
||||
error.c getsign.c \
|
||||
input.c level.c lookent.c \
|
||||
minim.c optstrg.c param.c parent.c \
|
||||
parutil.c pi.c \
|
||||
scan.c setpar.c start.c string.c struct.c \
|
||||
text.c
|
||||
XCOMM parvalok.c parname.c ifdata.c findpar.c
|
||||
|
||||
OBJS = parser.o actutil.o \
|
||||
closent.o code.o cyclent.o dcurelt.o \
|
||||
end.o entity.o \
|
||||
error.o getsign.o \
|
||||
input.o level.o lookent.o \
|
||||
minim.o optstrg.o param.o parent.o \
|
||||
parutil.o pi.o \
|
||||
scan.o setpar.o start.o string.o struct.o \
|
||||
text.o
|
||||
XCOMM parvalok.o parname.o ifdata.o findpar.o
|
||||
|
||||
XLATEOBJECTS = $(HELPTAGSRC)/LocaleXlate.o $(HELPTAGSRC)/XlationSvc.o
|
||||
|
||||
APPLOBJECTS = \
|
||||
$(HELPTAGSRC)/custom.o \
|
||||
$(HELPTAGSRC)/default.o \
|
||||
$(HELPTAGSRC)/global.o \
|
||||
$(HELPTAGSRC)/help.o \
|
||||
$(HELPTAGSRC)/make.o \
|
||||
$(HELPTAGSRC)/option.o \
|
||||
$(HELPTAGSRC)/out.o \
|
||||
$(HELPTAGSRC)/xref.o \
|
||||
$(XLATEOBJECTS)
|
||||
|
||||
ELT_H = \
|
||||
$(HELPELTDEFSRC)/entity2.h \
|
||||
$(HELPELTDEFSRC)/globdec.h \
|
||||
$(HELPELTDEFSRC)/globdef.h \
|
||||
$(HELPELTDEFSRC)/if.h \
|
||||
$(HELPELTDEFSRC)/pval.h \
|
||||
$(HELPELTDEFSRC)/signon.h \
|
||||
$(HELPELTDEFSRC)/signonx.h
|
||||
|
||||
ELT_C = \
|
||||
$(HELPELTDEFSRC)/efile.c \
|
||||
$(HELPELTDEFSRC)/entfile.c \
|
||||
$(HELPELTDEFSRC)/pfile.c \
|
||||
$(HELPELTDEFSRC)/sfile.c \
|
||||
$(HELPELTDEFSRC)/stfile.c \
|
||||
$(HELPELTDEFSRC)/tfile.c
|
||||
|
||||
ELT_DEFS = $(ELT_H) $(ELT_C)
|
||||
|
||||
#ifdef SunArchitecture
|
||||
.NO_PARALLEL:
|
||||
#endif
|
||||
|
||||
LOCAL_LIBRARIES = $(HELPUTILLIB)
|
||||
SYS_LIBRARIES = $(XLIB) DtClientSysLibs
|
||||
|
||||
#if defined (SunArchitecture)
|
||||
SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen
|
||||
#endif /* SunArchitecture */
|
||||
|
||||
all:: $(HELPTAGSRC)/dthelp_htag1
|
||||
|
||||
other_dirs:
|
||||
cd $(HELPELTDEFSRC); make
|
||||
cd $(HELPTAGSRC); make
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
NormalProgramTarget(parser,$(OBJS) $(APPLOBJECTS),delim.h $(LOCAL_LIBRARIES) other_dirs,$(LOCAL_LIBRARIES),)
|
||||
|
||||
CPRODS = case.c context.h delim.h
|
||||
CTRASH = error delim.dat
|
||||
|
||||
$(HELPTAGSRC)/dthelp_htag1: parser
|
||||
$(RM) $(HELPTAGSRC)/dthelp_htag1
|
||||
$(CP) parser $(HELPTAGSRC)/dthelp_htag1
|
||||
|
||||
$(CPRODS): $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.par context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
$(CP) $(HELPTAGSRC)/delim.par delim.dat /* appl.-specific delim.dat */
|
||||
$(HELPUTILSRC)/context
|
||||
|
||||
$(HELPUTILSRC)/context:
|
||||
cd $(HELPUTILSRC); make context
|
||||
|
||||
$(APPLOBJECTS):
|
||||
cd $(HELPTAGSRC); make $(APPLOBJECTS)
|
||||
|
||||
$(ELT_DEFS):
|
||||
cd $(HELPELTDEFSRC); make $(ELT_DEFS)
|
||||
|
||||
arc package :
|
||||
if exist util.arc $(CP) build.arc old.arc
|
||||
$(ARCCMD) util.arc *.c *.h makefile
|
||||
|
||||
unarc dearc :
|
||||
$(UNARCCMD) util.arc
|
||||
|
||||
clean::
|
||||
$(RM) $(CPRODS) $(CTRASH) parser *.o
|
||||
|
||||
depend:: $(SRCS)
|
||||
|
||||
includes:: $(CPRODS)
|
||||
|
||||
DependTarget()
|
||||
@@ -1,60 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/4 1996/05/09 17:31:32 drk $
|
||||
/* Util Imakefile */
|
||||
ARCCMD = arc u
|
||||
UNARCCMD = arc x
|
||||
ARCDELCMD = arc d
|
||||
|
||||
INCLUDES = -I.
|
||||
|
||||
LIBSRCS = \
|
||||
allwhite.c inctest.c letter.c triedump.c triepdmp.c \
|
||||
trieplk.c trierset.c upcmp8.c upstrcmp.c wchar.c
|
||||
CTXSRCS = \
|
||||
conutil.c error.c exit.c itoa.c lower.c malloc.c openchk.c \
|
||||
trie.c triecnt.c upper.c whitesp.c
|
||||
OTHERSRCS = \
|
||||
context.c emptyfil.c fclndir.c
|
||||
SRCS = $(LIBSRCS) $(CTXSRCS) $(OTHERSRCS)
|
||||
|
||||
|
||||
LIBOBJS = \
|
||||
allwhite.o inctest.o letter.o triedump.o triepdmp.o \
|
||||
trieplk.o trierset.o upcmp8.o upstrcmp.o wchar.o
|
||||
CTXOBJS = \
|
||||
conutil.o error.o exit.o itoa.o lower.o malloc.o openchk.o \
|
||||
trie.o triecnt.o upper.o whitesp.o
|
||||
OTHEROBJS = \
|
||||
context.o fclndir.o emptyfil.o
|
||||
|
||||
LOCAL_LIBRARIES = libutil.a
|
||||
|
||||
/* Don't use shared libs for hp */
|
||||
#ifdef HPArchitecture
|
||||
#if OSMajorVersion > 7
|
||||
EXTRA_LOAD_FLAGS = -Wl,-a archive
|
||||
#endif
|
||||
#endif
|
||||
|
||||
all::
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
NormalLibraryTarget(util,$(LIBOBJS) $(CTXOBJS))
|
||||
|
||||
all:: context fclndir
|
||||
|
||||
NormalProgramTarget(context,context.o,$(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),)
|
||||
NormalProgramTarget(fclndir,fclndir.o,$(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),)
|
||||
|
||||
|
||||
XCOMM arc generates an arc file containing all the source files
|
||||
XCOMM in this directory
|
||||
arc package :
|
||||
if exist util.arc $(CP) util.arc old.arc
|
||||
$(ARCCMD) util.arc *.c *.h makefile
|
||||
|
||||
unarc dearc :
|
||||
$(UNARCCMD) util.arc
|
||||
|
||||
DependTarget()
|
||||
|
||||
depend:: $(SRCS)
|
||||
@@ -1,12 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/3 1995/11/08 10:40:52 rswiston $
|
||||
#define IHaveSubdirs
|
||||
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)'
|
||||
|
||||
#if !UseCCMakeDepend
|
||||
MDEP_DIR = makedepend
|
||||
#endif
|
||||
|
||||
SUBDIRS = util build eltdef htag2 parser
|
||||
|
||||
MakeSubdirs($(SUBDIRS))
|
||||
DependSubdirs($(SUBDIRS))
|
||||
@@ -1,74 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/3 1995/11/08 10:41:11 rswiston $
|
||||
/* build Imakefile */
|
||||
|
||||
HTAG2 = ..
|
||||
HTAG2SRC = $(HTAG2)/htag2
|
||||
SDLPARSERSRC = $(HTAG2)/parser
|
||||
SDLELTDEFSRC = $(HTAG2)/eltdef
|
||||
SDLDTDFILE = $(HTAG2SRC)/sdl.dtd
|
||||
SDLUTILSRC = $(HTAG2)/util
|
||||
SDLBUILDSRC = $(HTAG2)/build
|
||||
SDLUTILLIB = $(HTAG2)/util/libutil.a
|
||||
|
||||
INCLUDES = -I. -I$(SDLUTILSRC)
|
||||
|
||||
SRCS = \
|
||||
build.c buildutl.c eltree.c except.c fsa.c out.c param.c \
|
||||
scan.c sref.c tree.c
|
||||
|
||||
OBJS = \
|
||||
build.o buildutl.o eltree.o except.o fsa.o out.o param.o \
|
||||
scan.o sref.o tree.o
|
||||
|
||||
CHPRODS = context.h delim.h
|
||||
CCPRODS = case.c
|
||||
|
||||
BHPRODS = dtd.h entity.h arc.h
|
||||
BCPRODS =
|
||||
|
||||
CTRASH = error delim.dat
|
||||
BTRASH = error template
|
||||
|
||||
CPRODS = $(CHPRODS) $(CCPRODS)
|
||||
BPRODS = $(BHPRODS) $(BCPRODS)
|
||||
TRASH = error delim.dat template
|
||||
|
||||
PRODUCTS = $(CPRODS) $(BPRODS)
|
||||
|
||||
LOCAL_LIBRARIES = $(SDLUTILLIB)
|
||||
|
||||
/* Don't use shared libs for hp */
|
||||
#ifdef HPArchitecture
|
||||
#if OSMajorVersion > 7
|
||||
EXTRA_LOAD_FLAGS = -Wl,-a archive
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef SunArchitecture
|
||||
.NO_PARALLEL:
|
||||
#endif
|
||||
|
||||
all:: $(PRODUCTS)
|
||||
|
||||
$(BPRODS): build $(SDLDTDFILE)
|
||||
$(RM) $(BPRODS) $(BTRASH)
|
||||
./build < $(SDLDTDFILE)
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
NormalProgramTarget(build,$(OBJS),delim.h $(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),)
|
||||
|
||||
$(CPRODS): $(SDLUTILSRC)/context $(HTAG2SRC)/delim.bld context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
$(CP) $(HTAG2SRC)/delim.bld delim.dat /* appl.-specific delim.dat */
|
||||
$(SDLUTILSRC)/context sparse
|
||||
|
||||
$(SDLUTILSRC)/context:
|
||||
cd $(SDLUTILSRC); make context
|
||||
|
||||
clean::
|
||||
$(RM) $(PRODUCTS) $(TRASH)
|
||||
|
||||
depend:: $(SRCS)
|
||||
DependTarget()
|
||||
|
||||
includes:: $(PRODUCTS)
|
||||
@@ -1,74 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/3 1995/11/08 10:44:32 rswiston $
|
||||
/* eltdef Imakefile */
|
||||
|
||||
HTAG2 = ..
|
||||
HTAG2SRC = $(HTAG2)/htag2
|
||||
SDLPARSERSRC = $(HTAG2)/parser
|
||||
SDLELTDEFSRC = $(HTAG2)/eltdef
|
||||
SDLDTDFILE = $(HTAG2SRC)/sdl.dtd
|
||||
SDLUTILSRC = $(HTAG2)/util
|
||||
SDLBUILDSRC = $(HTAG2)/build
|
||||
SDLUTILLIB = $(HTAG2)/util/libutil.a
|
||||
SDLIFFILE = $(HTAG2SRC)/sdl.if
|
||||
|
||||
INCLUDES = -I. -I$(SDLUTILSRC) -I$(SDLBUILDSRC)
|
||||
|
||||
SRCS = eltdef.c eltutil.c entity.c scan.c
|
||||
|
||||
OBJS = eltdef.o eltutil.o entity.o scan.o
|
||||
|
||||
CCPRODS = case.c
|
||||
ECPRODS = efile.c entfile.c pfile.c sfile.c stfile.c tfile.c
|
||||
|
||||
CHPRODS = context.h delim.h
|
||||
EHPRODS = entity2.h globdec.h globdef.h if.h pval.h signon.h signonx.h
|
||||
|
||||
CPRODS = $(CCPRODS) $(CHPRODS)
|
||||
EPRODS = $(ECPRODS) $(EHPRODS)
|
||||
|
||||
CTRASH = delim.dat error
|
||||
ETRASH = estring.h error
|
||||
TRASH = delim.dat estring.h error
|
||||
|
||||
PRODUCTS = $(CPRODS) $(EPRODS)
|
||||
|
||||
LOCAL_LIBRARIES = $(SDLUTILLIB)
|
||||
LOCAL_INCLUDES = -I$(SDLUTILSRC)
|
||||
|
||||
/* Don't use shared libs for hp */
|
||||
#ifdef HPArchitecture
|
||||
#if OSMajorVersion > 7
|
||||
EXTRA_LOAD_FLAGS = -Wl,-a archive
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef SunArchitecture
|
||||
.NO_PARALLEL:
|
||||
#endif
|
||||
|
||||
all:: $(PRODUCTS)
|
||||
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
NormalProgramTarget(eltdef,$(OBJS),delim.h $(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),)
|
||||
|
||||
$(EPRODS): eltdef $(SDLIFFILE)
|
||||
$(RM) $(EPRODS) $(ETRASH)
|
||||
./eltdef $(SDLIFFILE)
|
||||
|
||||
$(CPRODS): $(SDLUTILSRC)/context $(HTAG2SRC)/delim.elt context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
$(CP) $(HTAG2SRC)/delim.elt delim.dat /* appl.-specific delim.dat */
|
||||
$(SDLUTILSRC)/context
|
||||
|
||||
$(SDLUTILSRC)/context:
|
||||
cd $(SDLUTILSRC); make context
|
||||
|
||||
clean::
|
||||
$(RM) $(PRODUCTS) $(TRASH)
|
||||
|
||||
depend::
|
||||
|
||||
includes:: $(PRODUCTS)
|
||||
|
||||
DependTarget()
|
||||
@@ -1,80 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/9 1996/10/09 14:05:16 drk $
|
||||
/* htag2 Imakefile */
|
||||
|
||||
.SUFFIXES : .e .c .h
|
||||
|
||||
HTAG2 = ..
|
||||
HTAG2SRC = $(HTAG2)/htag2
|
||||
SDLPARSERSRC = $(HTAG2)/parser
|
||||
SDLELTDEFSRC = $(HTAG2)/eltdef
|
||||
SDLDTDFILE = $(HTAG2SRC)/sdl.dtd
|
||||
SDLUTILSRC = $(HTAG2)/util
|
||||
SDLBUILDSRC = $(HTAG2)/build
|
||||
SDLUTILLIB = $(HTAG2)/util/libutil.a
|
||||
SDLIFFILE = $(HTAG2SRC)/sdl.if
|
||||
|
||||
XLATESRC = $(DTHELPSRC)
|
||||
XLATEHDRS = $(XLATESRC)/XlationSvc.h $(XLATESRC)/LocaleXlate.h
|
||||
XLATESRCS = LocaleXlate.c XlationSvc.c
|
||||
XLATEOBJS = LocaleXlate.o XlationSvc.o
|
||||
|
||||
INCLUDES = -I. -I$(SDLUTILSRC) -I$(SDLPARSERSRC) \
|
||||
-I$(SDLELTDEFSRC) -I$(XLATESRC)
|
||||
DEFINES = -DOSMAJORVERSION=OSMajorVersion \
|
||||
-DOSMINORVERSION=OSMinorVersion
|
||||
|
||||
ELTHDRS = $(SDLUTILSRC)/entdef.h $(SDLUTILSRC)/entext.h
|
||||
|
||||
XCOMM PARSEHDRS are header files used by many parser routines
|
||||
PARSEHDRS = $(SDLUTILSRC)/basic.h $(SDLUTILSRC)/trie.h \
|
||||
$(SDLUTILSRC)/common.h $(SDLUTILSRC)/dtddef.h \
|
||||
$(SDLUTILSRC)/dtdext.h $(SDLUTILSRC)/sparse.h \
|
||||
parser.h proto.h
|
||||
|
||||
APPLHDRS = $(PARSEHDRS) $(ELTHDRS) \
|
||||
$(SDLUTILSRC)/version.h \
|
||||
$(HTAG2SRC)/global.h \
|
||||
$(HTAG2SRC)/fproto.h \
|
||||
../parser/pval.h ../parser/globdec.h ../parser/signonx.h \
|
||||
../parser/userinc.h
|
||||
|
||||
SRCS = custom.c global.c sdl.c option.c out.c $(XLATESRCS)
|
||||
|
||||
OBJS = custom.o global.o sdl.o option.o out.o $(XLATEOBJS)
|
||||
|
||||
LOCAL_LIBRARIES = $(SDLUTILLIB)
|
||||
|
||||
/* Don't use shared libs for hp */
|
||||
#ifdef HPArchitecture
|
||||
#if OSMajorVersion > 7
|
||||
EXTRA_LOAD_FLAGS = -Wl,-a archive
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined (SunArchitecture)
|
||||
SYS_LIBRARIES = -lm -ldl -lgen
|
||||
#endif /* SunArchitecture */
|
||||
|
||||
all:: $(OBJS)
|
||||
|
||||
LinkSourceFile(LocaleXlate.c,$(DTSVCSRC)/DtUtil2)
|
||||
LinkSourceFile(XlationSvc.c,$(DTSVCSRC)/DtUtil2)
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
|
||||
dthelp_htag2: $(SDLPARSERSRC)/parser
|
||||
$(RM) dthelp_htag2
|
||||
$(CP) (SDLPARSERSRC)/parser dthelp_htag2
|
||||
|
||||
clean::
|
||||
$(RM) dthelp_htag2
|
||||
$(RM) $(XLATESRCS)
|
||||
|
||||
|
||||
DependTarget()
|
||||
|
||||
tags ::
|
||||
etags -t *.c *.h *.if
|
||||
|
||||
etags ::
|
||||
etags -t *.c *.h *.if
|
||||
@@ -1,113 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/10 1996/10/09 14:05:24 drk $
|
||||
/* parser Imakefile */
|
||||
|
||||
HTAG2 = ..
|
||||
HTAG2SRC = $(HTAG2)/htag2
|
||||
SDLPARSERSRC = $(HTAG2)/parser
|
||||
SDLELTDEFSRC = $(HTAG2)/eltdef
|
||||
SDLDTDFILE = $(HTAG2SRC)/sdl.dtd
|
||||
SDLUTILSRC = $(HTAG2)/util
|
||||
SDLBUILDSRC = $(HTAG2)/build
|
||||
SDLUTILLIB = $(HTAG2)/util/libutil.a
|
||||
|
||||
INCLUDES = -I. -I$(SDLUTILSRC) -I$(HTAG2SRC) -I$(SDLBUILDSRC) \
|
||||
-I$(SDLELTDEFSRC)
|
||||
|
||||
SRCS = parser.c actutil.c \
|
||||
closent.c code.c cyclent.c dcurelt.c \
|
||||
end.c entity.c \
|
||||
error.c getsign.c \
|
||||
input.c level.c lookent.c \
|
||||
minim.c optstrg.c param.c parent.c \
|
||||
parutil.c pi.c \
|
||||
scan.c setpar.c start.c string.c struct.c \
|
||||
text.c
|
||||
|
||||
OBJS = parser.o actutil.o \
|
||||
closent.o code.o cyclent.o dcurelt.o \
|
||||
end.o entity.o \
|
||||
error.o getsign.o \
|
||||
input.o level.o lookent.o \
|
||||
minim.o optstrg.o param.o parent.o \
|
||||
parutil.o pi.o \
|
||||
scan.o setpar.o start.o string.o struct.o \
|
||||
text.o
|
||||
|
||||
XLATEOBJECTS = $(HTAG2SRC)/LocaleXlate.o $(HTAG2SRC)/XlationSvc.o
|
||||
|
||||
APPLOBJECTS = \
|
||||
$(HTAG2SRC)/custom.o \
|
||||
$(HTAG2SRC)/global.o \
|
||||
$(HTAG2SRC)/sdl.o \
|
||||
$(HTAG2SRC)/option.o \
|
||||
$(HTAG2SRC)/out.o \
|
||||
$(XLATEOBJECTS)
|
||||
|
||||
ELT_H = \
|
||||
$(SDLELTDEFSRC)/entity2.h \
|
||||
$(SDLELTDEFSRC)/globdec.h \
|
||||
$(SDLELTDEFSRC)/globdef.h \
|
||||
$(SDLELTDEFSRC)/if.h \
|
||||
$(SDLELTDEFSRC)/pval.h \
|
||||
$(SDLELTDEFSRC)/signon.h \
|
||||
$(SDLELTDEFSRC)/signonx.h
|
||||
|
||||
ELT_C = \
|
||||
$(SDLELTDEFSRC)/efile.c \
|
||||
$(SDLELTDEFSRC)/entfile.c \
|
||||
$(SDLELTDEFSRC)/pfile.c \
|
||||
$(SDLELTDEFSRC)/sfile.c \
|
||||
$(SDLELTDEFSRC)/stfile.c \
|
||||
$(SDLELTDEFSRC)/tfile.c
|
||||
|
||||
ELT_DEFS = $(ELT_H) $(ELT_C)
|
||||
|
||||
#ifdef SunArchitecture
|
||||
.NO_PARALLEL:
|
||||
#endif
|
||||
|
||||
LOCAL_LIBRARIES = $(SDLUTILLIB)
|
||||
SYS_LIBRARIES = $(XLIB) DtClientSysLibs
|
||||
|
||||
#if defined (SunArchitecture)
|
||||
SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen
|
||||
#endif /* SunArchitecture */
|
||||
|
||||
all:: $(HTAG2SRC)/dthelp_htag2
|
||||
|
||||
other_dirs:
|
||||
cd $(SDLELTDEFSRC); make
|
||||
cd $(HTAG2SRC); make
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
NormalProgramTarget(parser,$(OBJS) $(APPLOBJECTS),delim.h $(LOCAL_LIBRARIES) other_dirs,$(LOCAL_LIBRARIES),)
|
||||
|
||||
CPRODS = case.c context.h delim.h
|
||||
CTRASH = error delim.dat
|
||||
|
||||
$(HTAG2SRC)/dthelp_htag2: parser
|
||||
$(RM) $(HTAG2SRC)/dthelp_htag2
|
||||
$(CP) parser $(HTAG2SRC)/dthelp_htag2
|
||||
|
||||
$(CPRODS): $(SDLUTILSRC)/context $(HTAG2SRC)/delim.par context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
$(CP) $(HTAG2SRC)/delim.par delim.dat /* appl.-specific delim.dat */
|
||||
$(SDLUTILSRC)/context
|
||||
|
||||
$(SDLUTILSRC)/context:
|
||||
cd $(SDLUTILSRC); make context
|
||||
|
||||
$(APPLOBJECTS):
|
||||
cd $(HTAG2SRC); make
|
||||
|
||||
$(ELT_DEFS):
|
||||
cd $(SDLELTDEFSRC); make
|
||||
|
||||
clean::
|
||||
$(RM) $(CPRODS) $(CTRASH) parser *.o
|
||||
|
||||
depend:: $(SRCS)
|
||||
|
||||
includes:: $(CPRODS)
|
||||
|
||||
DependTarget()
|
||||
@@ -1,47 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/3 1995/11/08 11:01:32 rswiston $
|
||||
/* Util Imakefile */
|
||||
|
||||
INCLUDES = -I.
|
||||
|
||||
LIBSRCS = \
|
||||
allwhite.c inctest.c letter.c triedump.c triepdmp.c \
|
||||
trieplk.c trierset.c upcmp8.c upstrcmp.c wchar.c
|
||||
CTXSRCS = \
|
||||
conutil.c error.c exit.c itoa.c lower.c malloc.c openchk.c \
|
||||
trie.c triecnt.c upper.c whitesp.c
|
||||
OTHERSRCS = \
|
||||
context.c emptyfil.c fclndir.c
|
||||
SRCS = $(LIBSRCS) $(CTXSRCS) $(OTHERSRCS)
|
||||
|
||||
|
||||
LIBOBJS = \
|
||||
allwhite.o inctest.o letter.o triedump.o triepdmp.o \
|
||||
trieplk.o trierset.o upcmp8.o upstrcmp.o wchar.o
|
||||
CTXOBJS = \
|
||||
conutil.o error.o exit.o itoa.o lower.o malloc.o openchk.o \
|
||||
trie.o triecnt.o upper.o whitesp.o
|
||||
OTHEROBJS = \
|
||||
context.o fclndir.o emptyfil.o
|
||||
|
||||
LOCAL_LIBRARIES = libutil.a
|
||||
|
||||
/* Don't use shared libs for hp */
|
||||
#ifdef HPArchitecture
|
||||
#if OSMajorVersion > 7
|
||||
EXTRA_LOAD_FLAGS = -Wl,-a archive
|
||||
#endif
|
||||
#endif
|
||||
|
||||
all::
|
||||
|
||||
NormalLibraryObjectRule()
|
||||
NormalLibraryTarget(util,$(LIBOBJS) $(CTXOBJS))
|
||||
|
||||
all:: context fclndir
|
||||
|
||||
NormalProgramTarget(context,context.o,$(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),)
|
||||
NormalProgramTarget(fclndir,fclndir.o,$(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),)
|
||||
|
||||
DependTarget()
|
||||
|
||||
depend:: $(SRCS)
|
||||
Reference in New Issue
Block a user