blob: 01059634100f2a8c4cadd51a5643aead8640bd3d (
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
|
XCOMM platform: $XFree86: xc/config/cf/QNX4.rules,v 1.1 1999/12/27 00:45:43 robin Exp $
XCOMM Rules to work around wlib for QNX...
#define LinkFile(tofile, fromfile) @@\
tofile:: fromfile @@\
$(CP) fromfile tofile @@\
@@\
includes:: tofile @@\
@@\
depend:: tofile @@\
@@\
clean:: @@\
RemoveFile(tofile)
XCOMM This special rule is used to install the install script.
XCOMM Else there's a name conflict with the QNX installer.
#define QNXCopyInstaller(tofile, fromfile) @@\
tofile:: @@\
$(CP) fromfile tofile @@\
@@\
includes:: tofile
#define ObjectFromSpecialSource(dst, src, flags) @@\
NoConfigRec(dst.c) @@\
@@\
dst.c: src.c @@\
RemoveFile($@) @@\
$(CP) $? $@ @@\
@@\
SpecialCObjectRule(dst,NullParameter,flags) @@\
@@\
includes:: dst.c @@\
@@\
depend:: dst.c @@\
@@\
clean:: @@\
RemoveFile(dst.c)
#define ObjectFromSpecialAsmSource(dst, src, flags) @@\
dst.S: src.S @@\
RemoveFile($@) @@\
$(CP) $? $@ @@\
@@\
dst.o: dst.S @@\
AssembleObject(flags) @@\
@@\
dst.i: dst.S @@\
CPPOnlyAsm(dst,flags) @@\
@@\
depend:: dst.S @@\
@@\
clean:: @@\
RemoveFile(dst.S)
/* This is the rule to make reloc. OMF objects. We use a little
* trick which works only for OMF....
*/
#define NormalRelocatableTarget(objname,objlist) @@\
AllTarget(objname.Osuf) @@\
@@\
objname.Osuf: objlist $(EXTRALIBRARYDEPS) @@\
RemoveFile($@) @@\
/bin/cat objlist > $@
|