Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Creation of 4.1.5 on SCO OpenServer 5.0.5



I've just downloaded 4.1.5 and am trying to build it for OpenServer
5.0.5.

After fixing the gotcha in the config.site file about Skunkware tiff
configure runs cleanly.

I run make and get the message:

Must be a separator on rules line 68 (bu39).

Not being a C programmer I'm a bit (ok, a lot) lost.

I tried to copy the rules file into the Makefile and the error line
points to line 265 (the end of the rules directives).

What is a separator?

I've attached both the Makefile and the rules file.

Any help would be greatly appreciated, even a rtfm if you point me to
the appropriate manual.

Thank you.

--

Regards

Frank S. Bernhardt
b.c.s.i.
14 Halton Court
Markham, ON.
L3P 6R3

905-471-1691 Voice
905-471-3016 FAX

frank@bcsi.ca

#	$Id: rules.in,v 1.1.1.1 1998/10/12 20:47:47 root Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1988-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics
# 
# Permission to use, copy, modify, distribute, and sell this software and 
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
# 
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
# 
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
# OF THIS SOFTWARE.

#
# Warning, this file was automatically created by the HylaFAX configure script
#
# VERSION:	4.1.5
# DATE:		Wed Oct 23 20:56:21 EDT 2002
# TARGET:	i686-pc-sco3.2v5.0.5
# CCOMPILER:	/usr/local/bin/gcc
# CXXCOMPILER:	/usr/local/bin/g++
#

#
# Common makefile rules.
#
# - After including defs, a makefile should say
#   ``include ${COMMONRULES}'' to get this file.
# - It is up to the including makefile to define a default rule before
#   including ${COMMONRULES}.
# - This file defines the following lists: SOURCES, enumerating all
#   source files; OBJECTS, the .o files derived from compilable source;
#   and DIRT, which lists intermediates and temporary files to be
#   removed by clean.
# - The including (parent) makefile may define source file lists for each
#   standard suffix: CFILES for .c, etc.  This file combines all such
#   lists into SOURCES.
# - The parent makefile must define TARGETS in order for clobber to work.
#
SOURCES= ${HFILES} ${C++FILES} ${CFILES} ${SHFILES}
OBJECTS= ${C++FILES:.c++=.o} ${CFILES:.c=.o}

#
# C++ inference rules.
#
.SUFFIXES: .c++ .yuk

.c++:
	${C++F} ${C++FILE} $< ${LDFLAGS} -o $@
.c++.o:
	${C++F} ${C++FILE} -c $<
.c++.s:
	${C++F} ${C++FILE} -S $<
.c++.i:
	${C++F} ${C++FILE} -E $< > $*.i
.c++.yuk:
	${C++F} ${C++FILE} -Fc -.yuk $<

#
# Rather than removing ${OBJECTS}, clean removes ${CLEANOBJECTS} which we
# set to *.[ou] by default, to remove obsolete objects and -O3 ucode files
# after source has been reorganized.  If files ending in .[ou] should not
# be removed by clean, this definition can be overridden after the include
# of commonrules to define CLEANOBJECTS=${OBJECTS}.
#
CLEANOBJECTS= *.[ou]

#
# What gets cleaned, apart from objects.
#
DIRT= ${GDIRT} ${VDIRT} ${LDIRT}
GDIRT= a.out core ${_FORCE}

#
# An always-unsatisfied target.
#
_FORCE= ${COMMONPREF}_force
${_FORCE}:

#
# File removal rules: there are three.
#	- clean removes intermediates and dirt
#	- clobber removes targets as well as intermediates and dirt
#	- rmtargets removes targets only
# If you use incdepend (see below), then 'make clobber' will remove the
# .*dependtime marker files used by incdepend to find modified ${DEPFILES}.
#
.PRECIOUS: .sdependtime .c++dependtime .cdependtime

${COMMONPREF}clobber: ${COMMONPREF}clean ${COMMONPREF}rmtargets ${_FORCE}
	-${RM} -rf Makefile ${MKDEPFILE} .*dependtime .*incdepend so_locations
${COMMONPREF}distclean: ${COMMONPREF}clobber
${COMMONPREF}clean: ${_FORCE}
	-${RM} -rf ${CLEANOBJECTS} ${DIRT}
${COMMONPREF}rmtargets: ${_FORCE}
	-${RM} -rf ${TARGETS}

#
# Automated header dependency inference.  Most makefiles need only set the
# CFILES, etc. lists and include commonrules.
#
${COMMONPREF}depend: ${_FORCE}
	@Clist="${C++DEPFILES}" clist="${CDEPFILES}"; \
	case "$$Clist" in \
	  *.*) \
	    ${ECHO} "${MKDEPENDC++} ${MKDEPFILE} $$Clist"; \
	    ${MKDEPENDC++} ${MKDEPFILE} $$Clist; \
	    touch .c++dependtime; \
	esac; \
	case "$$clist" in \
	  *.*) \
	    ${ECHO} "${MKDEPENDC} ${MKDEPFILE} $$clist"; \
	    ${MKDEPENDC} ${MKDEPFILE} $$clist; \
	    touch .cdependtime; \
	esac
_c++depend: ${C++DEPFILES} ${_FORCE}
	${C++F} -M ${C++DEPFILES} | ${RAWDEPFILTER}; \
	touch .c++incdepend
_cdepend: ${CDEPFILES} ${_FORCE}
	${CCF} -M ${CDEPFILES} | ${RAWDEPFILTER}; \
	touch .cincdepend

#
# Incremental depend uses marker files to find ${DEPFILES} that are newer
# than their dependencies.  Note that the non-incremental rules, above, also
# touch the marker files.
#
# XXX can't run only one sub-make that depends on all .*dependtime, because
# XXX smake will parallelize and mkdepend doesn't interlock itself
#
${COMMONPREF}incdepend: ${_FORCE}
	@Clist="${C++DEPFILES}" clist="${CDEPFILES}"; \
	case "$$Clist" in \
	  *.*) \
	    ${MAKE} -f ${MAKEFILE} _quiet.c++dependtime; \
	esac; \
	case "$$clist" in \
	  *.*) \
	    ${MAKE} -f ${MAKEFILE} _quiet.cdependtime; \
	esac

# so that make doesn't announce "`.sdependtime' is up to date."
_quiet.c++dependtime: .c++dependtime
_quiet.cdependtime: .cdependtime

.c++dependtime: ${C++DEPFILES}
	@if test -n "$?"; then \
	    ${ECHO} "${MKDEPENDC++} -i ${MKDEPFILE} $?"; \
	    ${MKDEPENDC++} -i ${MKDEPFILE} $?; \
	    touch $@; \
	fi
.cdependtime: ${CDEPFILES}
	@if test -n "$?"; then \
	    ${ECHO} "${MKDEPENDC} -i ${MKDEPFILE} $?"; \
	    ${MKDEPENDC} -i ${MKDEPFILE} $?; \
	    touch $@; \
	fi

# you can't add dependencies to a target that begins with '.'
_c++incdepend: .c++incdepend
_cincdepend: .cincdepend

.c++incdepend: ${C++DEPFILES}
	@if test -n "$?"; then \
	    ${C++F} -M $? | ${RAWDEPFILTER}; \
	    touch $@; \
	fi
.cincdepend: ${CDEPFILES}
	@if test -n "$?"; then \
	    ${CCF} -M $? | ${RAWDEPFILTER}; \
	    touch $@; \
	fi

#
# A sed filter that prepends ${VPATH} to object targets emitted by cc -M.
# ${VPATH} should name a directory that holds product-dependent objects.
#
RAWDEPFILTER= sed -e 's:^:${VPATH}/:'

#
# Include the make dependency file if it exists.
#
sinclude ${MKDEPFILE}
#!/bin/sh
echo DEFANGED.13267
exit
#!/bin/sh
echo DEFANGED.80
exit
#!/bin/sh
echo DEFANGED.13268
exit
#!smake
#	$Id: Makefile.in,v 1.9 2002/05/28 04:22:33 tim Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1988-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics
# 
# Permission to use, copy, modify, distribute, and sell this software and 
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
# 
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
# 
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
# OF THIS SOFTWARE.
#

#
# Warning, this file was automatically created by the HylaFAX configure script
#
# VERSION:	4.1.5
# DATE:		Wed Oct 23 20:56:21 EDT 2002
# TARGET:	i686-pc-sco3.2v5.0.5
# CCOMPILER:	/usr/local/bin/gcc
# CXXCOMPILER:	/usr/local/bin/g++
#
COMMONPREF=fax
DEPTH	= .

include defs

SRCDIR	= ${TOPSRCDIR}/${DEPTH}

DIRS=	util \
	faxalter \
	faxcover \
	faxd \
	faxmail \
	faxrm \
	faxstat \
	hfaxd \
	sendfax \
	sendpage \
	\
	config \
	etc \
	man
DSODIRS	= util faxd

TARGETS=hylafax

default all ${TARGETS}:
	@${MAKE} -f ${MAKEFILE} dirs

include rules

dirs::
	@if [ "yes" = yes ]; then \
	    ${ECHO} "= "port; cd port; ${MAKE}; \
	else \
	    true; \
	fi
	@if [ "yes" = yes ]; then \
	    ${ECHO} "= "regex; cd regex; ${MAKE}; \
	else \
	    true; \
	fi
	@for i in ${DIRS}; do \
	    (${ECHO} "= "$$i; cd $$i; ${MAKE}); \
	done
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "sgi2fax; cd sgi2fax; ${MAKE}; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "html; cd html; ${MAKE}; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "dps; cd dps; ${MAKE}; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "imp; cd imp; ${MAKE}; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "gs; cd gs; ${MAKE}; \
	else \
	    true; \
	fi
	@${ECHO} "= "pkg; cd pkg; ${MAKE}
depend::
	@if [ "yes" = yes ]; then \
	    ${ECHO} "= "port; cd port; ${MAKE} depend; \
	else \
	    true; \
	fi
	@if [ "yes" = yes ]; then \
	    ${ECHO} "= "regex; cd regex; ${MAKE} depend; \
	else \
	    true; \
	fi
	@for i in ${DIRS}; do \
	    (${ECHO} "= "$$i; cd $$i; ${MAKE} depend); \
	done
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "sgi2fax; cd sgi2fax; ${MAKE} depend; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "html; cd html; ${MAKE} depend; \
	else \
	    true; \
	fi
clean::
	@if [ "yes" = yes ]; then \
	    ${ECHO} "= "port; cd port; ${MAKE} clean; \
	else \
	    true; \
	fi
	@if [ "yes" = yes ]; then \
	    ${ECHO} "= "regex; cd regex; ${MAKE} clean; \
	else \
	    true; \
	fi
	@for i in ${DIRS}; do \
	    (${ECHO} "= "$$i; cd $$i; ${MAKE} clean); \
	done
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "sgi2fax; cd sgi2fax; ${MAKE} clean; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "html; cd html; ${MAKE} clean; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "dps; cd dps; ${MAKE} clean; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "imp; cd imp; ${MAKE} clean; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "gs; cd gs; ${MAKE} clean; \
	else \
	    true; \
	fi
	@${ECHO} "= "pkg; cd pkg; ${MAKE} clean
clobber::
	(cd util; ${MAKE} clobberconfig)
	(cd etc; ${MAKE} clobberconfig)
	@if [ "yes" = yes ]; then \
	    ${ECHO} "= "port; cd port; ${MAKE} clobberconfig; ${MAKE} clobber; \
	else \
	    ${RM} -f port/install.sh  port/mkdepend; \
	fi
	@if [ "yes" = yes ]; then \
	    ${ECHO} "= "regex; cd regex; ${MAKE} clobber; \
	else \
	    true; \
	fi
	@for i in ${DIRS}; do \
	    (${ECHO} "= "$$i; cd $$i; ${MAKE} clobber); \
	done
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "sgi2fax; cd sgi2fax; ${MAKE} clobber; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "html; cd html; ${MAKE} clobber; \
	else \
	    true; \
	fi
	-${RM} -f Makedepend port.h config.h config.log config.cache
distclean: clobber
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "dps; cd dps; ${MAKE} distclean; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "imp; cd imp; ${MAKE} distclean; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "gs; cd gs; ${MAKE} distclean; \
	else \
	    true; \
	fi
	(cd pkg; ${MAKE} distclean)
	-${RM} -f defs rules Makefile

makeClientDirs::
	-${INSTALL} -u ${SYSUSER} -g ${SYSGROUP} -m ${DIRMODE} \
	    -idb hylafax.sw.client -dir \
	    ${BIN} ${LIBDATA} ${LIBEXEC} ${SBIN}
makeServerDirs::
	-${INSTALL} -u ${SYSUSER} -g ${SYSGROUP} -m ${DIRMODE} \
	    -idb hylafax.sw.server -dir ${SBIN};
	-${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m ${DIRMODE} \
	    -idb hylafax.sw.server -dir ${SPOOL}
	-${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m ${DIRMODE} \
	    -idb hylafax.sw.server -dir \
	    -F ${SPOOL} bin client config dev etc info log recvq status
	-${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m 700 \
	    -idb hylafax.sw.server -dir \
	    -F ${SPOOL} sendq doneq docq tmp pollq archive
makeDirs: makeClientDirs makeServerDirs

makeDevices::
	${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m 600 -fifo \
	    -idb hylafax.sw.server -F ${SPOOL} FIFO

install: makeDirs makeDevices
	${INSTALL} -m 444 -F ${SPOOL} -idb hylafax.sw.server \
	    -src ${SRCDIR}/COPYRIGHT -O COPYRIGHT
	@if [ "yes" = yes ]; then \
	    ${ECHO} "= "regex; cd regex; ${MAKE} install; \
	else \
	    true; \
	fi
	@for i in ${DIRS}; do \
	    (${ECHO} "= "$$i; cd $$i; ${MAKE} install); \
	done
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "sgi2fax; cd sgi2fax; ${MAKE} install; \
	else \
	    true; \
	fi
	@if [ "no" != no ]; then \
	    for i in ${DSODIRS}; do \
		(${ECHO} "= "$$i; cd $$i; ${MAKE} installDSO); \
	    done; \
	else \
	    true; \
	fi
	@${ECHO} "= "etc; cd etc; ${MAKE} installSysVInit;
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "html; cd html; ${MAKE} install; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "dps; cd dps; ${MAKE} install; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "imp; cd imp; ${MAKE} install; \
	else \
	    true; \
	fi
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "gs; cd gs; ${MAKE} install; \
	else \
	    true; \
	fi

CLIENTDIRS=\
	faxalter \
	faxcover \
	faxmail  \
	faxrm  \
	faxstat  \
	sendfax  \
	sendpage

installClient: makeClientDirs
	@for i in ${CLIENTDIRS}; do \
	    (${ECHO} "= "$$i; cd $$i; ${MAKE} install); \
	done
	@if [ "no" = yes ]; then \
	    ${ECHO} "= "sgi2fax; cd sgi2fax; ${MAKE} install; \
	else \
	    true; \
	fi
	@for i in etc util man; do \
	    (${ECHO} "= "$$i; cd $$i; ${MAKE} installClient); \
	done
	@if [ "no" != no ]; then \
	    for i in util; do \
		(${ECHO} "= "$$i; cd $$i; ${MAKE} installDSO); \
	    done; \
	else \
	    true; \
	fi

package::
	@${ECHO} "= "pkg; cd pkg; ${MAKE} package

product::
	test -d dist || ${MKDIR} dist
	${RM} -f dist/rawidb
	SRC=`${PWDCMD}` RAWIDB=`${PWDCMD}`/dist/rawidb ${MAKE} install
	${RM} -f dist/idb
	${SORT} -u +4 dist/rawidb > dist/idb
	${GENDIST} -v -dist dist -idb dist/idb -sbase `pwd` -spec ${SRCDIR}/dist/hylafax.spec

dist.inst:
	VERSION="v`cat ${SRCDIR}/VERSION``awk '{print $$3}' ${SRCDIR}/dist/hylafax.alpha`";	\
	rm -f $$VERSION.inst.tar; \
	tar cf $$VERSION.inst.tar \
	    dist/hylafax	\
	    dist/hylafax.idb	\
	    dist/hylafax.sw	\
	    dist/hylafax.html	\
	    dist/hylafax.man

include ${SRCDIR}/distrules


Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services