aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/Xxf86dga/Imakefile
blob: 1cb8a499b7a9a3fe3cb332c477fa64c36c2f3a2b (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
XCOMM $XdotOrg: xc/lib/Xxf86dga/Imakefile,v 1.3 2005/10/18 14:58:52 alanc Exp $
XCOMM $XFree86: xc/lib/Xxf86dga/Imakefile,v 3.6 2003/05/05 20:42:30 tsi Exp $

#define DoNormalLib NormalLibXxf86dga
#define DoSharedLib SharedLibXxf86dga
#define DoExtraLib SharedLibXxf86dga
#define DoDebugLib DebugLibXxf86dga
#define DoProfileLib ProfileLibXxf86dga
#define LibName NX_Xxf86dga
#define SoRev SOXXF86DGAREV
#define LibHeaders NO

#include <Threads.tmpl>

#ifdef SharedXxf86dgaReqs
REQUIREDLIBS = SharedXxf86dgaReqs
#endif

XF86DGASRCS = XF86DGA.c XF86DGA2.c
XF86DGAOBJS = XF86DGA.o XF86DGA2.o

#if Malloc0ReturnsNull
ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL
#endif

#if defined(HasNetBSDApertureDriver) && HasNetBSDApertureDriver
APERTURE_DEFINES = -DHAS_APERTURE_DRV
#endif

      DEFINES = $(ALLOC_DEFINES) $(APERTURE_DEFINES)
         SRCS = $(XF86DGASRCS)
         OBJS = $(XF86DGAOBJS)
     LINTLIBS = $(LINTXLIB)

#define IncludeSharedObjectInNormalLib

#include <Library.tmpl>

InstallGenManPage(XDGA,$(LIBMANDIR),$(LIBMANSUFFIX))
#if ExpandManNames
DGAFUNCS = XDGAQueryExtension \
	   XDGAQueryVersion \
	   XDGAQueryModes \
	   XDGASetMode \
	   XDGAOpenFramebuffer \
	   XDGACloseFramebuffer \
	   XDGASetViewport \
	   XDGAInstallColormap \
	   XDGACreateColormap \
	   XDGASelectInput \
	   XDGAFillRectangle \
	   XDGACopyArea \
	   XDGACopyTransparentArea \
	   XDGAGetViewportStatus \
	   XDGASync \
	   XDGASetClientVersion \
	   XDGAChangePixmapMode \
	   XDGAKeyEventToXKeyEvent

InstallGenManPageAliases(XDGA,$(LIBMANDIR),$(LIBMANSUFFIX),XF86DGA XFree86-DGA $(DGAFUNCS))
#endif

DependTarget()