summaryrefslogtreecommitdiffstats
path: root/private/mvdm/inc/makefile
blob: 5ef0946f194fd9d45a13dbd63f62925b59626685 (plain) (blame)
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# MVDM\INC makefile
#
# Copyright (c) 1991, Microsoft Corporation
#
# History:
#   14-May-1991 Jeff Parsons (jeffpar)
#   Created.
#   08-Dec-1991 Sudeep Bharati (sudeepb)
#   Changed the h2inc usage for DOSSVC to include strucs
#   12-FEB-92 mattfe added tdb16.h
#   14-April-92 ChandanC added WOWSHELL.H
#   12-May-1992 MikeTri added MultiMedia header
#

!IFDEF USEBUILD

# If using BUILD.EXE, edit .\sources. if you want to add a new source
# file to this component.  This file merely indirects to the real make file
# that is shared by all the components of NT OS/2.

!INCLUDE $(NTMAKEENV)\makefile.def

!ELSE

########## Path definition so we find 16 bit tools ##########
# Also works around stupid bug in RC 3.1 that doesn't allow rcpp.err to be
# in a directory that is greater than 128 chars down the path, even if
# rc 3.1 is running as an OS/2 app.

PATH    = $(_NTBINDIR)\private\mvdm\tools16;$(PATH)

.SUFFIXES:
.SUFFIXES: .c   .asm .h   .inc .obj .lst .sys .exe .com .map .sym .def .lib


.h.inc:
    h2inc -t -s mvdm.h -s wow.h $*.h -o $*.inc


INC_FILES = mvdm.inc softpc.inc bop.inc vint.inc \
     wow.inc wownt32.inc wowkrn.inc wowusr.inc wowgdi.inc wowshell.inc \
     wowkbd.inc wowsnd.inc tdb16.inc dpmi.inc dossvc.inc \
     xmssvc.inc cmdsvc.inc rdrsvc.inc dbgsvc.inc \
     apistruc.inc enumapis.inc wowmmed.inc wowmmcb.inc vrdlctab.inc \
     wowwsock.inc wowth.inc vrdefld.inc wowcmdlg.inc wowcmpat.inc  \
     doswow.inc curdir.inc vdmtib.inc

all: $(INC_FILES)

clean: cleanup all


#
# Do NOT do del *.inc here.  There are include files checked into this
# directory, and it's really annoying to have all of your changes vanish
# on a clean build
#
cleanup:
    !-del $(INC_FILES)

mvdm.inc:   mvdm.h

softpc.inc:   softpc.h

bop.inc:      bop.h

vint.inc:   vint.h

wow.inc:      wow.h mvdm.h bop.h

wowcmdlg.inc: wowcmdlg.h wow.inc

wowkrn.inc:   wowkrn.h wow.inc

wowusr.inc:   wowusr.h wow.inc

wowgdi.inc:   wowgdi.h wow.inc

wowshell.inc: wowshell.h wow.inc

wowkbd.inc:   wowkbd.h wow.inc

wowsnd.inc:   wowsnd.h wow.inc

wowmmed.inc: wowmmed.h wowmmcb.inc wow.inc
    h2inc -t -s mvdm.h -s wow.h -s wowmmcb.h $*.h -o $*.inc

wowwsock.inc: wowwsock.h wow.inc

wowth.inc:    wowth.h wow.inc

tdb16.inc:  tdb16.h
    h2inc -s mvdm.h -s wow.h tdb16.h -o tdb16.inc

dossvc.inc: dossvc.h bop.h
    h2inc -s mvdm.h -s wow.h dossvc.h -o dossvc.inc

xmssvc.inc: xmssvc.h bop.h

cmdsvc.inc: cmdsvc.h bop.h

curdir.inc:   curdir.h bop.h
    h2inc -s mvdm.h -s wow.h curdir.h -o curdir.inc

dbgsvc.inc: dbgsvc.h bop.h

dpmi.inc: dpmi.h bop.inc

rdrsvc.inc: rdrsvc.h bop.h

apistruc.inc: apistruc.h

enumapis.inc: enumapis.h

vrdlctab.inc: vrdlctab.h

vrdefld.inc: vrdefld.h

doswow.inc: doswow.h

wownt32.inc: \nt\public\sdk\inc\wownt32.h
    h2inc -t -s mvdm.h -s wow.h \nt\public\sdk\inc\wownt32.h -o wownt32.inc

vdmtib.inc: ..\..\inc\vdm.h
    h2inc -t -s mvdm.h -s wow.h ..\..\inc\vdm.h -o vdmtib.inc
!ENDIF