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

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

Adapted to be more comform with the new makefile style.
Most subdirectories are now using the style while the win32k.sys makefile
is not at all - as allways.

File size: 1.3 KB
Line 
1# $Id: makefile,v 1.8 2000-12-02 23:32:39 bird Exp $
2
3#
4# Odin32 API
5#
6# win32k.lib makefile
7#
8
9
10#
11# Tell build environment we're build a public library which should
12# work with both exe and dlls (hence EXETARGET). It should also
13# invoke the additional dependency rule.
14#
15LIBTARGET=1
16PUBLICLIB=1
17EXETARGET=1
18ADDITIONAL_DEP = mydep
19WIN32KINCLUDE = ..\include
20
21
22#
23# Include
24#
25!include ..\..\..\makefile.inc
26
27
28#
29# Tools and Flags Addjustments
30#
31CINCLUDES = -I$(WIN32KINCLUDE) $(CINCLUDES)
32CDEFINES = -DRING3 -DWIN32KLIB
33!if "$(VAC3)" == "1" | "$(VAC36)" == "1"
34CFLAGS = $(CFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext- -Rn
35CXXFLAGS = $(CINCLUDES) -Wall+ppt-ppc-inl-cnv-gnr-vft- -Rn
36!endif
37
38
39#
40# Object files. Prefix with OBJDIR and one space before the '\'.
41#
42OBJS = \
43$(OBJDIR)\libInit.obj \
44$(OBJDIR)\libTerm.obj \
45$(OBJDIR)\libWin32kInstalled.obj \
46$(OBJDIR)\libWin32kQueryOptionsStatus.obj \
47$(OBJDIR)\libWin32kSetOptions.obj \
48$(OBJDIR)\libDosAllocMemEx.obj \
49$(OBJDIR)\libW32kQueryOTEs.obj \
50$(OBJDIR)\libW32kProcessReadWrite.obj \
51$(OBJDIR)\libGetCS.obj
52
53
54#
55# Target name - name of the lib without extention and path.
56#
57TARGET = win32k
58
59
60#
61# Includes the common rules.
62#
63!include $(ODIN32_POST_INC)
64
65
66#
67# Dependencies.
68#
69mydep:
70 $(DEPEND) -a -o$$(OBJDIR) $(CINCLUDES) $(WIN32KINCLUDE)\*.h
71
Note: See TracBrowser for help on using the repository browser.