aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/font/bitmap/Imakefile
blob: 9acbe77965e3a6f0e5a22474f542408c398d1659 (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
69
70
71
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

BDFSRCS=bdfread.c bdfutils.c
BDFOBJS=bdfread.o bdfutils.o
#ifndef KDriveXServer
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 = bdfint.h pcf.h
#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

BuildIncludes($(HEADERS),X11/fonts,../..)
InstallMultipleFlags($(HEADERS),$(INCDIR)/X11/fonts,$(INSTINCFLAGS))

DependTarget()