summaryrefslogtreecommitdiff
path: root/xc/lib/font/util/Imakefile
blob: 7578225890c2ec08d59f119af1d0fad9c93f329a (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
XCOMM $XConsortium: Imakefile,v 1.11 94/02/07 16:07:31 gildea Exp $
XCOMM $XFree86: xc/lib/font/util/Imakefile,v 1.5 2000/11/30 23:30:00 dawes Exp $
#include <Server.tmpl>

        INCLUDES = -I$(FONTINCSRC) -I../include
         HEADERS = 
#ifdef FontFormatDefines
     FORMAT_DEFS = FontFormatDefines
#endif

#ifdef SunArchitecture && (OSMajorVersion == 5) && (OSMinorVersion <= 6)
    /* Work around a problem with __ctype being a "relocation against
       allocatable but non-writable section" on Solaris 2.6.  Hopefully
       it doesn't break anything. */
     SYS_DEFINES = -D__XPG4_CHAR_CLASS__
#endif
         DEFINES = StrcasecmpDefines $(SYS_DEFINES)

            SRCS = utilbitmap.c fontnames.c fontutil.c fontxlfd.c format.c \
		   fontaccel.c atom.c miscutil.c private.c patcache.c

            OBJS = utilbitmap.o fontnames.o fontutil.o fontxlfd.o format.o \
		   fontaccel.o atom.o miscutil.o private.o patcache.o

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

SubdirLibraryRule($(OBJS))
NormalLintTarget($(SRCS))

DependTarget()