source: trunk/src/win32k/utils/makefile@ 5087

Last change on this file since 5087 was 5086, checked in by bird, 25 years ago

Moved ldrCalls.h into the OS2Krnl.h tree as OS2KLDR.h.
Also moved the Ldr definitions from OS2Krnl.h and into OS2KLDR.h.

File size: 1.7 KB
Line 
1# $Id: makefile,v 1.6 2001-02-10 11:11:48 bird Exp $
2
3#
4# Odin32 API
5#
6# Win32kCC.exe makefile
7#
8
9
10#
11# Tell buildenvironment that we're making an exe and to invoke additional dep rule
12#
13EXETARGET=1
14ADDITIONAL_DEP = mydep
15WIN32KAPI = ..\api
16WIN32KMISC = ..\misc
17WIN32KINCLUDE = ..\include
18
19
20#
21# Compiler, tools, and interference rules thru the win32k makefile.inc file.
22#
23!include ..\..\..\makefile.inc
24
25
26#
27# Tools and Flags Addjustments
28# (The author of this is kinda SM when it comes to warnings... ;-)
29#
30CINCLUDES = -I$(WIN32KINCLUDE) $(CINCLUDES)
31CDEFINES = $(CDEFINES) -DRING3
32!if "$(VAC3)" == "1" | "$(VAC36)" == "1"
33CFLAGS = $(CFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext-
34CXXFLAGS = $(CXXFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft-
35!endif
36
37
38#
39# Object files. Prefix with OBJDIR and one space before the '\'.
40#
41OBJS = \
42$(OBJDIR)\Win32kCC.obj
43#$(OBJDIR)\api.obj \
44#$(OBJDIR)\locks.obj
45
46
47#
48# Libraries. One space before the '\'.
49#
50LIBS = \
51$(RTLLIB) \
52$(ODIN32_LIB)\win32k.lib \
53os2386.lib
54
55
56#
57# OS/2 resources.
58#
59OS2RES = \
60$(OBJDIR)\$(TARGET).res
61
62
63#
64# Target name - name of the exe without extention and path.
65#
66TARGET = Win32kCC
67
68
69#
70# Includes the common rules.
71#
72!include $(ODIN32_POST_INC)
73
74
75#
76# Dependencies.
77#
78mydep:
79 $(DEPEND) -a -o$$(OBJDIR) $(CINCLUDES) $(WIN32KINCLUDE)\*.h
80
81
82#
83# Extra rules to build api.obj and locks.obj
84#
85!if "$(VAC3)" == "1" | "$(VAC36)" == "1"
86$(OBJDIR)\api.obj: $(WIN32KAPI)\api.cpp
87 $(CC) -c $(CXXFLAGS) $(CDEFINES) $(CINCLUDES) -Fo$(OBJDIR)\$(@B).obj $**
88
89$(OBJDIR)\locks.obj: $(WIN32KMISC)\locks.asm
90 $(AS) $(ASFLAGS) -I:$(WIN32KINCLUDE) -Fdo:$(OBJDIR) $**
91!else
92!error "not ready for this compiler yet"
93!endif
94
95
96
97
Note: See TracBrowser for help on using the repository browser.