summaryrefslogtreecommitdiff
path: root/xc/lib/font/bitmap/Imakefile
blob: f69bd467acdce5d89c53f67eba2cf0f6413353b6 (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
62
63
64
65
66
67
68
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:46:34 cpqbld Exp $




XCOMM $XFree86: xc/lib/font/bitmap/Imakefile,v 1.11 2001/04/03 17:51:59 paulo Exp $

#if BuildServer && DoLoadableServer
#define IHaveSubdirs
#define NoLibSubdirs
#define PassCDebugFlags
SUBDIRS = module
#endif

#ifndef KDriveXServer
BDFSRCS=bdfread.c bdfutils.c
BDFOBJS=bdfread.o bdfutils.o
BDFDEFS=-DBDFFORMAT

SNFSRCS=snfread.c
SNFOBJS=snfread.o
SNFDEFS=-DSNFFORMAT
#endif

PCFSRCS=pcfread.c pcfwrite.c
PCFOBJS=pcfread.o pcfwrite.o
PCFDEFS=-DPCFFORMAT


        INCLUDES = -I$(FONTINCSRC) -I../include 
         HEADERS = 
#ifdef FontFormatDefines
     FORMAT_DEFS = FontFormatDefines
#endif
#if GzipFontCompression
       GZIP_DEFS = -DX_GZIP_FONT_COMPRESSION
#endif
         DEFINES = $(BDFDEFS) $(PCFDEFS) $(SNFDEFS)

            SRCS = $(BDFSRCS) bitmap.c bitmaputil.c bitscale.c \
		   bitmapfunc.c $(PCFSRCS) $(SNFSRCS) \
		   fontink.c 

            OBJS = $(BDFOBJS) bitmap.o bitmaputil.o bitscale.o \
		   bitmapfunc.o $(PCFOBJS) $(SNFOBJS) \
		   fontink.o

#if BuildFontLib
#define DoNormalLib NormalLibFont
#define DoSharedLib SharedLibFont
#define DoDebugLib DebugLibFont
#define DoProfileLib ProfileLibFont
#include <Library.tmpl>
LibraryObjectRule()

SpecialCLibObjectRule(bitmapfunc,$(ICONFIGFILES),$(GZIP_DEFS))
SpecialCLibObjectRule(bitscale,$(ICONFIGFILES),$(GZIP_DEFS))

SubdirLibraryRule($(OBJS))
NormalLintTarget($(SRCS))
#endif

#if BuildServer && DoLoadableServer
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#endif

DependTarget()