summaryrefslogtreecommitdiff
path: root/xc/lib/FS/Imakefile
blob: a391d0d249c9489192c0fa26d53cb0fb3264a483 (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
XCOMM $XConsortium: Imakefile /main/20 1996/09/28 16:32:46 rws $
XCOMM $XFree86: xc/lib/FS/Imakefile,v 3.4 1999/02/19 21:26:52 hohndel Exp $
#define DoNormalLib NormalLibFS
#define DoSharedLib SharedLibFS
#define DoExtraLib SharedLibFS
#define DoDebugLib DebugLibFS
#define DoProfileLib ProfileLibFS
#define LibName FS
#define SoRev SOFSREV
#define IncSubdir X11
#define IncSubSubdir fonts

#if Malloc0ReturnsNull
        DEFINES = -DMALLOC_0_RETURNS_NULL
#endif

DEPEND_DEFINES = $(TRANS_INCLUDES) $(CONN_DEFINES)

HEADERS = FSlib.h

INCLUDES = -I$(FONTINCSRC)

SRCS =	FSClServ.c FSCloseFt.c FSConnServ.c FSErrDis.c FSErrHndlr.c \
	FSFlush.c FSFontInfo.c FSFtNames.c FSGetCats.c FSListCats.c \
	FSListExt.c FSMisc.c FSNextEv.c FSOpenFont.c FSOpenServ.c \
	FSQGlyphs.c FSQXExt.c FSQXInfo.c FSQuExt.c FSServName.c \
	FSSetCats.c FSSync.c FSSynchro.c FSlibInt.c transport.c

OBJS =	FSClServ.o FSCloseFt.o FSConnServ.o FSErrDis.o FSErrHndlr.o \
	FSFlush.o FSFontInfo.o FSFtNames.o FSGetCats.o FSListCats.o \
	FSListExt.o FSMisc.o FSNextEv.o FSOpenFont.o FSOpenServ.o \
	FSQGlyphs.o FSQXExt.o FSQXInfo.o FSQuExt.o FSServName.o \
	FSSetCats.o FSSync.o FSSynchro.o FSlibInt.o transport.o

CONN_DEFINES = $(CONNECTION_FLAGS) -DFS_t -DTRANS_CLIENT
#if HasBSD44Sockets
SOCK_DEFINES = -DBSD44SOCKETS
#endif

#include <Library.tmpl>

SpecialCLibObjectRule(FSlibInt,$(ICONFIGFILES),$(CONN_DEFINES))
SpecialCLibObjectRule(FSOpenServ,$(ICONFIGFILES),$(CONN_DEFINES))
SpecialCLibObjectRule(FSConnServ,$(ICONFIGFILES),$(CONN_DEFINES) $(SOCK_DEFINES))
SpecialCLibObjectRule(transport,$(ICONFIGFILES),$(TRANS_INCLUDES) $(CONN_DEFINES) $(SOCK_DEFINES))
LinkSourceFile(transport.c,$(TRANSCOMMSRC))

DependTarget()