aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/sun/Imakefile
blob: 24f607a0e0b2135876da2ea2317c42a8b2135616 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:48:29 cpqbld Exp $




XCOMM $XFree86: xc/programs/Xserver/hw/sun/Imakefile,v 1.6 2001/04/16 20:57:04 herrb Exp $

#include <Server.tmpl>

SRCS1 =	sunInit.c \
	sunCfb.c \
	sunCfb24.c \
	sunCursor.c \
	sunFbs.c \
	sunIo.c \
	sunKbd.c \
	sunMfb.c \
	sunMouse.c\
	sunKeyMap.c

OBJS1 = sunCfb.o \
	sunCfb24.o \
	sunCursor.o \
	sunFbs.o \
	sunIo.o \
	sunKbd.o \
	sunMfb.o \
	sunMouse.o \
	sunKeyMap.o

SRCS2 = sunGX.c
OBJS2 = sunGX.o

#ifdef i386Architecture
SRCS3 = sunInit.c
OBJS3 = sunInit.o
#else
SRCS3 = sunInit.c sunInitExt.c \
	sunInitMono.c sunInExMono.c \
	sunInitMulti.c stubs.c
OBJS3 = sunInit.o sunInitExt.o \
	sunInitMono.o sunInExMono.o \
	sunInitMulti.o stubs.o

DEFINES = $(OS_DEFINES) $(EXT_DEFINES) \
	  -UXFree86LOADER -UXF86VIDMODE -UXFreeXDGA \
	  -UXF86MISC -UXF86DRI -UXF86BIGFONT
#endif

SRCS = $(SRCS1) $(SRCS2) $(SRCS3) kbd_mode.c constype.c

OBJS = $(OBJS1) $(OBJS2)

   INCLUDES = -I. -I../.. -I../../mi -I../../mfb -I../../cfb -I../../cfb32 \
	      -I../../include -I$(XINCLUDESRC) -I$(FONTINCSRC) -I$(EXTINCSRC)
   LINTLIBS = ../../dix/llib-ldix.ln ../../os/llib-los.ln \
	      ../mfb/llib-lmfb.ln ../mi/llib-lmi.ln ../cfb/llib-lcfb.ln

NormalLibraryObjectRule()

all:: $(OBJS3) kbd_mode constype

lintlib:

NormalLibraryTarget(sun,$(OBJS))
NormalLintTarget($(SRCS1))

#ifndef i386Architecture
sunInExMono.o: $(ICONFIGFILES)
ObjectFromSpecialSource(sunInExMono,../../mi/miinitext, \
	-UPEXEXT -UGLXEXT -UXV -URENDER)
LinkFile(sunInitExt.c,../../mi/miinitext.c)
LinkSourceFile(stubs.c,../../Xi)
ObjectFromSpecialSource(sunInitMono,sunInit,-DSUNMAXDEPTH=1)
ObjectFromSpecialSource(sunInitMulti,sunInit,-DSUNMAXDEPTH=32)
#endif

SingleProgramTarget(kbd_mode, kbd_mode.o,,)
SingleProgramTarget(constype, constype.o,,)
InstallProgram(kbd_mode,$(BINDIR))
InstallProgram(constype,$(BINDIR))
InstallManPage(kbd_mode,$(MANDIR))
InstallManPage(constype,$(MANDIR))
InstallManPage(Xsun,$(MANDIR))
#ifndef i386Architecture
InstallManPageAliases(Xsun,$(MANDIR),XsunMono)
InstallManPageAliases(Xsun,$(MANDIR),Xsun24)
#endif

DependTarget()