File: Imakefile

package info (click to toggle)
xfree86 3.3.2.3-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 168,984 kB
  • ctags: 121,965
  • sloc: ansic: 1,157,712; sh: 14,822; asm: 14,676; tcl: 8,247; cpp: 4,317; yacc: 2,705; perl: 711; awk: 393; lex: 383; makefile: 353; sed: 57; csh: 5
file content (84 lines) | stat: -rw-r--r-- 1,832 bytes parent folder | download | duplicates (2)
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
XCOMM $TOG: Imakefile /main/29 1997/05/25 15:12:14 kaleb $
XCOMM $XFree86: xc/programs/xfs/Imakefile,v 3.7.2.3 1998/01/23 12:35:21 dawes Exp $
#undef ServerDefines
#include <Server.tmpl>
#define	IHaveSubdirs

OSDIR = os
DIFSDIR = difs

OSLIB = $(OSDIR)/LibraryTargetName(os)
DIFSLIB = $(DIFSDIR)/LibraryTargetName(difs)
SYSLIBS = MathLibrary
#if GzipFontCompression
ZLIB = GzipLibrary
#endif
#ifdef i386SVR3Architecture
#ifndef i386Sco325Architecture
BSDEMUL = $(DEPXBSDLIB)
#endif
#endif

FSDIRS = $(OSDIR) $(DIFSDIR) $(PCFDIRS)
FSLIBS = $(DIFSLIB) $(DEPFONTLIB) $(DIFSLIB) $(OSLIB) $(BSDEMUL)

SUBDIRS = $(FSDIRS)

FSLIBDIR = $(LIBDIR)/fs
FSERRORS = $(FSLIBDIR)/fs-errors
DEFAULTFONTPATH = DefaultFontPath
SITE_CONFIG = -DDEFAULTFONTPATH=$(DEFAULTFONTPATH) -DFSERRORS=$(FSERRORS)

#if HasParallelMake
MakeMutex(config $(FSDIRS) $(FSLIBS))
#endif

#if HasGnuMake
$(FSLIBS): config $(SUBDIRS)
#endif

all:: config

#ifndef LynxOSArchitecture
ServerTarget(xfs,$(FSDIRS),NullParameter,$(FSLIBS),$(SYSLIBS) $(ZLIB))
#else
ServerTarget(xfs,$(FSDIRS),difs/main.o,$(FSLIBS),$(SYSLIBS) $(ZLIB))
#endif

LinkVarDirectory(fs,.,fs,.)

CppFileTarget(config,config.cpp,$(SITE_CONFIG),$(ICONFIGFILES))

InstallManPage(xfs,$(MANDIR))

#if InstallFSConfig
InstallNonExecFile(config,$(FSLIBDIR))
#else
InstallNonExecFileNoClobber(config,$(FSLIBDIR))
#endif

#if HasCodeCenter
debug_xfs:
	XCOMM cd difs
	XCOMM make debug_src
	XCOMM cd ../os
	XCOMM make debug_src
	XCOMM cd ../../../lib/font/bitmap
	XCOMM make debug_src
	XCOMM cd ../fontfile
	XCOMM make debug_src
	XCOMM cd ../fc
	XCOMM make debug_src
	XCOMM cd ../Speedo
	XCOMM make debug_src
	XCOMM cd ../Type1
	XCOMM make debug_src
	XCOMM cd ../util
	XCOMM make debug_src
	XCOMM unload atom.c miscutil.c
	XCOMM cd ../../../programs/xfs
#endif

DependSubdirs($(SUBDIRS))

ForceSubdirs($(SUBDIRS))