File: Makefile.in

package info (click to toggle)
hylafax 1%3A4.1.1-3.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,400 kB
  • ctags: 7,270
  • sloc: sh: 15,895; ansic: 12,661; makefile: 1,439; cpp: 850
file content (102 lines) | stat: -rw-r--r-- 3,086 bytes parent folder | download
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
#! smake
#	$Id: Makefile.in,v 1.4 2001/04/13 05:08:25 robert Exp $
#
# @WARNING@
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-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.
#

#
# VERSION:	@VERSION@
# DATE:		@DATE@
# TARGET:	@TARGET@
# CCOMPILER:	@CCOMPILER@
# CXXCOMPILER:	@CXXCOMPILER@
#
DEPTH=..
@MAKEINCLUDE@ @MAKELQUOTE@${DEPTH}/defs@MAKERQUOTE@

SRCDIR	= ${DEPTH}/${TOPSRCDIR}/hfaxd
VPATH	= ../@SRCDIR@/hfaxd
FAXDSRCDIR= ${DEPTH}/${TOPSRCDIR}/faxd

C++FILES=Admin.c++ \
	FIFO.c++ \
	FileCache.c++ \
	FileSystem.c++ \
	FileTransfer.c++ \
	HylaFAXServer.c++ \
	Jobs.c++ \
	Login.c++ \
	Parser.c++ \
	RecvQueue.c++ \
	Status.c++ \
	Trigger.c++ \
	User.c++ \
	\
	SuperServer.c++ \
	InetFaxServer.c++ \
	OldProtocol.c++ \
	SNPPServer.c++ \
	UnixFaxServer.c++ \
	\
	main.c++
LC++DEFS=-DOLDPROTO_SUPPORT=1 -DSNPP_SUPPORT=1
LC++INCS= -I${FAXDSRCDIR} ${ZLIBINC}
TARGETS	= hfaxd

default all::
	@${MAKE} incdepend
	@${MAKE} targets

targets: $(TARGETS)

@MAKEINCLUDE@ @MAKELQUOTE@${COMMONRULES}@MAKERQUOTE@

hfaxd: ${OBJECTS} FaxRequest.o faxRequest.o ${LIBS}
	${C++F} -o $@ ${OBJECTS} FaxRequest.o faxRequest.o ${LDFLAGS}

#
# Private versions are built so that we do not need
# to link against the libfaxserver archive; this
# avoids lots of problems on systems that do not have
# support for DSOs (there would be many undefined
# symbols that could only be resolved by bloating
# the contents of the archive).
#
FaxRequest.o: ${FAXDSRCDIR}/FaxRequest.c++
	${C++F} -c ${C++FILE} -I${DEPTH}/faxd ${FAXDSRCDIR}/FaxRequest.c++@MAKECXXOVERRIDE@
faxRequest.o: ${FAXDSRCDIR}/faxRequest.c++
	${C++F} -c ${C++FILE} ${FAXDSRCDIR}/faxRequest.c++@MAKECXXOVERRIDE@

HylaFAXServer.o: 
incdepend:

install: default
	${INSTALL} -F ${LIBEXEC} -u root -m 755 \
	    -idb ${PRODUCT}.sw.server -O hfaxd
	${INSTALL} -F ${LIBDATA} -m 644 -idb ${PRODUCT}.sw.server \
	    -idb "config(noupdate)" -src ${SRCDIR}/hfaxd.conf -O hfaxd.conf