summaryrefslogtreecommitdiff
path: root/xc/programs/xfs/Imakefile
blob: a6d6f9d9bca36fde1552e51225b1fe2edd07e709 (plain)
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
XCOMM $XConsortium: Imakefile,v 1.26 94/02/10 21:47:08 rws Exp $
#undef ServerDefines
#include <Server.tmpl>
#define	IHaveSubdirs

OSDIR = os
OSLIB = $(OSDIR)/libos.a
DIFSDIR = difs
DIFSLIB = $(DIFSDIR)/libdifs.a
SYSLIBS = MathLibrary
#ifdef i386SVR3Architecture
BSDEMUL = $(DEPXBSDLIB)
#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)

all:: config

ServerTarget(xfs,$(FSDIRS),NullParameter,$(FSLIBS),$(SYSLIBS))

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

InstallManPage(xfs,$(MANDIR))

#if InstallFSConfig
InstallNonExecFile(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))