blob: 7284743e3156bd8498cdbab716d379f9e5258be9 (
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
|
XCOMM $XConsortium: Imakefile,v 1.9 93/09/04 17:32:27 rws Exp $
#include <Server.tmpl>
SRCS = skyInfo.c \
skyHdwr.c \
skyCur.c \
skySave.c \
skyScrInit.c \
skyCmap.c \
skyProbe.c \
skySGC.c \
skyBitBlt.c \
skyFillRct.c \
skyWin.c \
skyFill.c \
copyword.s
OBJS = skyInfo.o \
skyHdwr.o \
skyCur.o \
skySave.o \
skyScrInit.o \
skyCmap.o \
skyProbe.o \
skySGC.o \
skyBitBlt.o \
skyFillRct.o \
skyWin.o \
skyFill.o \
copyword.o
INCLUDES = -I../ -I../OPERATING_SYSTEM -I../../../mfb -I../../../cfb -I../ppc -I../../../include -I$(INCLUDESRC) -I../common -I../../../mi -I$(FONTINCSRC) -I$(EXTINCSRC)
STD_DEFINES = ServerDefines -DPSZ=8
NormalRelocatableTarget(skyway,$(OBJS))
#if ProfileServer
ProfiledRelocatableTarget(skyway,$(OBJS))
#endif
#if DebugServer
DebuggedRelocatableTarget(skyway,$(OBJS))
#endif
#if DebugServer && ProfileServer
DebuggedAndProfiledLibraryObjectRule()
.s.o:
$(RM) -f m.s $@ debugger/$@ profiled/$@
$(CPP) $(CFLAGS) $*.s > m.s
$(AS) -o $@ m.s
$(CP) $@ debugger/$@
$(CP) $@ profiled/$@
$(RM) -f m.s
#else
# if DebugServer
DebuggedLibraryObjectRule()
.s.o:
$(RM) -f m.s $@ debugger/$@
$(CPP) $(CFLAGS) $*.s > m.s
$(AS) -o $@ m.s
$(CP) $@ debugger/$@
$(RM) -f m.s
# else
# if ProfileServer
ProfiledLibraryObjectRule()
.s.o:
$(RM) -f m.s $@ profiled/$@
$(CPP) $(CFLAGS) $*.s > m.s
$(AS) -o $@ m.s
$(CP) $@ profiled/$@
$(RM) -f m.s
# else
NormalLibraryObjectRule()
.s.o:
$(RM) -f m.s $@
$(CPP) -E $(CFLAGS) $*.s > m.s
$(AS) -o $@ m.s
$(RM) -f m.s
# endif
# endif
#endif
DependTarget()
LintLibraryTarget(skyway,$(SRCS))
NormalLintTarget($(SRCS))
|