blob: 13645443b096b780afdd58683b145924ace9044c (
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
|
XCOMM $XdotOrg: xc/config/imake/Imakefile,v 1.3 2005/10/10 23:49:09 kem Exp $
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:41:50 cpqbld Exp $
XCOMM
XCOMM
XCOMM
XCOMM
XCOMM $XFree86: xc/config/imake/Imakefile,v 3.18 2003/10/21 17:41:44 tsi Exp $
XCOMM Some compilers generate fatal errors if an -L directory does
XCOMM not exist. Since BUILDLIBDIR may not exist yet suppress its use.
LDPRELIB =
LDPRELIBS =
DEPLIBS =
INCLUDES = -I$(TOP)/include $(TOP_X_INCLUDES)/X11
CPP_PROGRAM = CppCmd
CPP_DEFINES = -DCPP_PROGRAM="\"$(CPP_PROGRAM)\""
GCC_COMMAND = $(CC) -fmerge-constants -xc /dev/null -S -o /dev/null 2> /dev/null 1> /dev/null
GCC_DEFINES = -DHAS_MERGE_CONSTANTS=`if $(GCC_COMMAND); then echo 1; else echo 0; fi`
EXTRA_DEFINES=-DMONOLITH
#ifdef CrossCompileDir
CROSSCOMPILEDIR = CrossCompileDir
CROSSCOMPILEDEFINES=-DCROSSCOMPILE -DCROSSCOMPILEDIR=\"$(CROSSCOMPILEDIR)\"
#else
CROSSCOMPILEDIR =
CROSSCOMPILEDEFINES=
BOOTSTRAPDEFINES =
#endif
DEFINES = $(SIGNAL_DEFINES) $(BOOTSTRAPCFLAGS) $(CPP_DEFINES) $(GCC_DEFINES) \
$(CROSSCOMPILEDEFINES)
EXTRAMANDEFS = -D__cpp__="\"$(CPP_PROGRAM)\""
#if defined(MacIIArchitecture) || defined(SequentArchitecture) || defined(i386ScoArchitecture)
XBSDLIB = /**/
#endif
#ifdef CrossCompileDir
# ifdef TargetPreProcessCmd
CPP = TargetPreProcessCmd
# else
CPP = CrossCompileDir/cc -E -
# endif
IMAKEMDEFS_CPPDEFINES = $(DEFINES) -DCROSSCOMPILE_CPP
CppFileTarget(imakemdep_cpp.h,imakemdep.h,$(IMAKEMDEFS_CPPDEFINES),\
NullParameter)
#endif
#undef ImakeDependency
#define ImakeDependency(dummy) @@\
imake.o: imakemdep_cpp.h @@\
Makefile:: ProgramTargetName(imake)
#if CrossCompiling
SimpleHostProgramTarget(imake)
#else
SimpleProgramTarget(imake)
#endif
imakeonly:: $(PROGRAM)
InstallDriverSDKNamedProg(imake,imake,$(DRIVERSDKDIR)/config/imake)
#if HasClearmake
bootstrapdepend: depend
#else
bootstrapdepend:
#endif
clean::
RemoveFile(ProgramTargetName(ccimake))
RemoveFile(Makefile.proto)
RemoveFile(imakemdep_cpp.h)
$(RM) -r bootstrap
#ifdef OS2Architecture
clean::
RemoveFiles(imake ccimake)
#endif
|