summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/sun/Imakefile
blob: effef3ee47b1c2508fe955afdcc4d884f0b3bbf5 (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
XCOMM $TOG: Imakefile /main/48 1997/11/13 15:48:43 msr $
#include <Server.tmpl>

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

#if BuildLowMem
SRCS2 =
#else
SRCS2 = sunGX.c
#endif

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

#ifdef i386Architecture
OFILES = sunInit.o
#else
OFILES = sunInit.o sunInitMono.o sunInExMono.o sunInitMulti.o
#endif

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

#if BuildLowMem
OBJS2 =
#else
OBJS2 = sunGX.o
#endif

OBJS = $(OBJS1) $(OBJS2)

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

NormalLibraryObjectRule()

all:: $(OFILES) kbd_mode constype

lintlib:

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

#ifndef i386Architecture
sunInExMono.o: $(ICONFIGFILES)
ObjectFromSpecialSource(sunInExMono,../../mi/miinitext,$(EXT_DEFINES) -UPEXEXT)
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()