Changeset 2709 for trunk/src/kernel32


Ignore:
Timestamp:
Feb 10, 2000, 12:40:56 AM (26 years ago)
Author:
bird
Message:

Dependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/makefile

    r2649 r2709  
    1 # $Id: makefile,v 1.81 2000-02-05 02:01:04 sandervl Exp $
     1# $Id: makefile,v 1.82 2000-02-09 23:40:46 bird Exp $
    22
    33#
     
    4848cvtaccel.obj cvticon.obj cvticongrp.obj oslibexcept.obj cpu.obj process.obj \
    4949cvtcursor.obj cvtcursorgrp.obj stubs.obj interlock.obj toolhelp.obj codepage.obj \
    50 debug.obj oslibdebug.obj 
     50debug.obj oslibdebug.obj
    5151
    5252
     
    5757
    5858$(TARGET).dll: $(OBJS) $(TARGET).def $(TARGET).lrf
    59 #        $(LD) $(LDFLAGS) /Fm /Fe$@ /B"/FREE" @$(TARGET).lrf
     59#   $(LD) $(LDFLAGS) /Fm /Fe$@ /B"/FREE" @$(TARGET).lrf
    6060!ifdef DEBUG
    6161!ifdef NODEBUGINFO
    62         ilink /nodeb /map /noe /NOD /NoLogo /NOFREE @$(TARGET).lrf
     62    ilink /nodeb /map /noe /NOD /NoLogo /NOFREE @$(TARGET).lrf
    6363!else
    64         ilink /de /map  /noe /NOD /dbgpack /NoLogo /NOFREE @$(TARGET).lrf
     64    ilink /de /map  /noe /NOD /dbgpack /NoLogo /NOFREE @$(TARGET).lrf
    6565!endif
    6666!else
    67         ilink /map  /noe /NOD /NoLogo /FREE @$(TARGET).lrf
     67    ilink /map  /noe /NOD /NoLogo /NOFREE @$(TARGET).lrf
    6868!endif
    69         rc -r console.rc console.res
    70         rc console.res $@
    71         $(CP) $@ $(PDWIN32_BIN)
     69    rc -r console.rc console.res
     70    rc console.res $@
     71    $(CP) $@ $(PDWIN32_BIN)
     72
    7273
    7374$(TARGET).lrf: makefile
     
    8384<<keep
    8485
     86
     87lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
     88
     89$(PDWIN32_LIB)\$(TARGET).lib: $(TARGET).lib
     90    $(CP) $** $@
     91
    8592$(TARGET).LIB: $(TARGET)exp.def
    86         $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
    87         $(CP) $@ $(PDWIN32_LIB)
     93    $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     94    $(CP) $@ $(PDWIN32_LIB)
    8895
    8996$(TARGET)exp.def: $(TARGET).def
    90         $(IMPDEF) $** $@
     97    $(IMPDEF) $** $@
     98
    9199
    92100$(PDWIN32_LIB)\pmwinx.lib:
    93         $(IMPLIB) $(IMPLIBFLAGS) $@ $(PDWIN32_LIB)\pmwinx.def
     101    $(IMPLIB) $(IMPLIBFLAGS) $@ $(PDWIN32_LIB)\pmwinx.def
    94102
    95103kernelrsrc.asm: kernel32.rc
    96104    $(RC) $(RCFLAGS) -o kernelrsrc.asm kernel32.rc
    97105
    98 kernelrsrc.obj: kernelrsrc.asm
     106dep:
     107    $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
     108    *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    99109
    100 kernel32.OBJ: kernel32.cpp \
    101     exceptutil.h \
    102     $(PDWIN32_INCLUDE)\unicode.h \
    103     $(PDWIN32_INCLUDE)\heap.h \
    104     $(PDWIN32_INCLUDE)\versionos2.h \
    105     $(PDWIN32_INCLUDE)\wprocess.h
    106 
    107 process.obj: process.cpp \
    108     $(PDWIN32_INCLUDE)\misc.h \
    109     oslibdos.h \
    110     $(PDWIN32_INCLUDE)\winimagebase.h \
    111     $(PDWIN32_INCLUDE)\wprocess.h
    112 
    113 kobjects.obj: kobjects.cpp
    114 
    115 comm.OBJ: \
    116     .\comm.cpp \
    117     $(PDWIN32_INCLUDE)\unicode.h
    118 
    119 profile.obj: profile.cpp \
    120     $(PDWIN32_INCLUDE)\unicode.h
    121 
    122 directory.obj: directory.cpp \
    123     $(PDWIN32_INCLUDE)\unicode.h \
    124     initterm.h directory.h oslibdos.h profile.h
    125 
    126 disk.obj: disk.cpp \
    127     $(PDWIN32_INCLUDE)\unicode.h
    128 
    129 atom.obj: atom.cpp \
    130     $(PDWIN32_INCLUDE)\unicode.h
    131 
    132 time.obj: time.cpp \
    133     $(PDWIN32_INCLUDE)\unicode.h
    134 
    135 wintls.obj: wintls.cpp $(PDWIN32_INCLUDE)\winimagebase.h $(PDWIN32_INCLUDE)\winexebase.h $(PDWIN32_INCLUDE)\windllbase.h
    136 
    137 fileio.obj: fileio.cpp \
    138     $(PDWIN32_INCLUDE)\unicode.h
    139 
    140 thread.OBJ: \
    141     .\thread.cpp \
    142     $(PDWIN32_INCLUDE)\wprocess.h \
    143     $(PDWIN32_INCLUDE)\winimagebase.h $(PDWIN32_INCLUDE)\winexebase.h $(PDWIN32_INCLUDE)\windllbase.h \
    144     oslibmisc.h thread.h
    145 
    146 heap.OBJ: \
    147     .\heap.cpp \
    148     $(PDWIN32_INCLUDE)\heap.h \
    149     os2heap.h
    150 
    151 heapstring.obj: \
    152     .\heapstring.cpp \
    153     $(PDWIN32_INCLUDE)\heap.h \
    154     $(PDWIN32_INCLUDE)\heapstring.h
    155 
    156 os2heap.OBJ: \
    157     .\os2heap.cpp \
    158     $(PDWIN32_INCLUDE)\vmutex.h \
    159     $(PDWIN32_INCLUDE)\win32type.h \
    160     os2heap.h \
    161     initterm.h
    162 
    163 initterm.OBJ: .\initterm.cpp initterm.h  $(PDWIN32_INCLUDE)\heapshared.h  mmap.h directory.h hmdevio.h initsystem.h $(PDWIN32_INCLUDE)\heapcode.h $(PDWIN32_INCLUDE)\exitlist.h
    164 initsystem.obj: initsystem.cpp $(PDWIN32_INCLUDE)\cpuhlp.h initsystem.h $(PDWIN32_INCLUDE)\misc.h directory.h $(PDWIN32_INCLUDE)\versionos2.h
     110!ifndef NODEP
     111!include .depend
     112!endif
    165113
    166114
    167 thunk.OBJ: \
    168     .\thunk.cpp \
    169     thunk.h
    170 
    171 vmutex.OBJ: vmutex.cpp \
    172     $(PDWIN32_INCLUDE)\vmutex.h
    173 
    174 exceptions.OBJ: \
    175     .\exceptions.cpp \
    176     oslibexcept.h \
    177     mmap.h \
    178     $(PDWIN32_INCLUDE)\exceptions.h \
    179     exceptutil.h
    180 
    181 message.OBJ: \
    182     .\message.cpp \
    183     $(PDWIN32_INCLUDE)\unicode.h
    184 
    185 oslibexcept.obj: \
    186     oslibexcept.cpp \
    187     $(PDWIN32_INCLUDE)\exceptions.h \
    188     oslibexcept.h
    189 
    190 hmdevio.OBJ: \
    191     .\hmdevice.h \
    192     .\hmdevio.cpp \
    193     exceptutil.h \
    194     hmdevio.h \
    195     map.h \
    196     cio.h
    197 
    198 LANG.OBJ: \
    199     .\lang.cpp
    200 
    201 wprocess.OBJ: \
    202     .\wprocess.cpp \
    203     $(PDWIN32_INCLUDE)\unicode.h \
    204     $(PDWIN32_INCLUDE)\winexebase.h \
    205     $(PDWIN32_INCLUDE)\windllbase.h \
    206     $(PDWIN32_INCLUDE)\winexepeldr.h \
    207     $(PDWIN32_INCLUDE)\windllpeldr.h \
    208     $(PDWIN32_INCLUDE)\winimagebase.h \
    209     $(PDWIN32_INCLUDE)\winfakepeldr.h \
    210     $(PDWIN32_INCLUDE)\winimagepeldr.h \
    211     $(PDWIN32_INCLUDE)\versionos2.h \
    212     $(PDWIN32_INCLUDE)\wprocess.h \
    213     $(PDWIN32_INCLUDE)\win\thread.h \
    214     oslibdebug.h \
    215     console2.h \
    216     mmap.h \
    217     cio.h \
    218     oslibmisc.h
    219 
    220 map.OBJ: \
    221     .\map.cpp \
    222     map.h \
    223     mapos2.h
    224 
    225 oslibdos.OBJ: \
    226     .\oslibdos.cpp oslibdos.h initterm.h
    227 
    228 network.OBJ: \
    229     .\network.cpp \
    230     $(PDWIN32_INCLUDE)\unicode.h
    231 
    232 misc.OBJ: \
    233     .\misc.cpp \
    234     initterm.h \
    235     $(PDWIN32_INCLUDE)\misc.h \
    236     $(PDWIN32_INCLUDE)\win\thread.h
    237 
    238 win32util.OBJ: \
    239     .\win32util.cpp \
    240     $(PDWIN32_INCLUDE)\win32util.h
    241 
    242 unicode.OBJ: \
    243     .\unicode.cpp \
    244     $(PDWIN32_INCLUDE)\unicode.h \
    245     $(PDWIN32_INCLUDE)\misc.h
    246 
    247 console.OBJ: \
    248     .\console.cpp \
    249     .\console2.h \
    250     $(PDWIN32_INCLUDE)\misc.h
    251 
    252 conin.OBJ: \
    253     .\conin.h \
    254     .\hmdevice.h \
    255     .\conin.cpp
    256 
    257 conout.OBJ: \
    258     .\conout.h \
    259     .\hmdevice.h \
    260     .\conout.cpp
    261 
    262 conbuffer.OBJ: \
    263     .\conbuffer.h \
    264     .\hmdevice.h \
    265     .\conbuffer.cpp
    266 
    267 lfile.OBJ: \
    268     .\lfile.cpp \
    269     $(PDWIN32_INCLUDE)\wprocess.h
    270 
    271 obsolete.OBJ: \
    272     .\obsolete.cpp
    273 
    274 resource.OBJ: \
    275     .\resource.cpp \
    276     $(PDWIN32_INCLUDE)\unicode.h \
    277     $(PDWIN32_INCLUDE)\winimagebase.h \
    278     $(PDWIN32_INCLUDE)\winres.h \
    279     $(PDWIN32_INCLUDE)\misc.h
    280 
    281 exceptutil.OBJ: \
    282     .\exceptutil.asm
    283 
    284 iccio.OBJ: \
    285     .\iccio.asm
    286 
    287 winres.OBJ: \
    288     .\winres.cpp \
    289     cvtresource.h \
    290     $(PDWIN32_INCLUDE)\winres.h \
    291     $(PDWIN32_INCLUDE)\winimagebase.h \
    292     $(PDWIN32_INCLUDE)\winexebase.h \
    293     $(PDWIN32_INCLUDE)\windllbase.h \
    294     $(PDWIN32_INCLUDE)\misc.h
    295 
    296 oslibmisc.OBJ: .\oslibmisc.cpp oslibmisc.h
    297 
    298 handlemanager.OBJ: \
    299         .\handlemanager.cpp \
    300         .\hmevent.h \
    301         .\hmmutex.h \
    302         .\hmopen32.h \
    303         .\hmsemaphore.h \
    304         .\hmmmap.h \
    305         .\hmtoken.h \
    306         $(PDWIN32_INCLUDE)\winconst.h \
    307         $(PDWIN32_INCLUDE)\handlemanager.h
    308 
    309 hmtoken.obj: hmtoken.cpp \
    310         .\hmtoken.h \
    311         .\hmdevice.h \
    312         $(PDWIN32_INCLUDE)\handlemanager.h
    313 
    314 hmcomm.obj: \
    315         .\hmcomm.cpp \
    316         .\hmdevice.h \
    317         .\hmcomm.h \
    318         $(PDWIN32_INCLUDE)\handlemanager.h
    319 
    320 hmdevice.OBJ: \
    321         .\hmdevice.cpp \
    322         .\hmdevice.h \
    323         $(PDWIN32_INCLUDE)\handlemanager.h
    324 
    325 hmopen32.OBJ: \
    326         .\hmopen32.cpp \
    327         .\hmdevice.h \
    328         .\hmopen32.h \
    329         $(PDWIN32_INCLUDE)\handlemanager.h
    330 
    331 hmobjects.obj: \
    332         .\hmobjects.cpp \
    333         .\hmdevice.h \
    334         .\hmobjects.h \
    335         $(PDWIN32_INCLUDE)\handlemanager.h
    336 
    337 hmevent.obj: \
    338         .\hmevent.cpp \
    339         .\hmevent.h \
    340         .\hmdevice.h \
    341         .\hmopen32.h
    342 
    343 hmmutex.obj: \
    344         .\hmmutex.cpp \
    345         .\hmmutex.h \
    346         .\hmdevice.h \
    347         .\hmopen32.h
    348 
    349 hmsemaphore.obj: \
    350         .\hmsemaphore.cpp \
    351         .\hmsemaphore.h \
    352         .\hmdevice.h \
    353         .\hmopen32.h
    354 
    355 hmmmap.obj: hmmmap.cpp hmdevice.h hmopen32.h mmap.h $(PDWIN32_INCLUDE)\heapshared.h
    356 
    357 conprop.OBJ: \
    358         .\conprop.h \
    359         .\conprop.cpp
    360 
    361 conprop2.OBJ: \
    362         .\conprop.h \
    363         .\conprop2.cpp
    364 
    365 async.OBJ: \
    366         .\async.cpp \
    367         $(PDWIN32_INCLUDE)\win32type.h \
    368         $(PDWIN32_INCLUDE)\misc.h \
    369         $(PDWIN32_INCLUDE)\unicode.h
    370 
    371 virtual.obj:   virtual.cpp $(PDWIN32_INCLUDE)\win\virtual.h $(PDWIN32_INCLUDE)\handlemanager.h mmap.h
    372 mmap.obj:      mmap.cpp mmap.h $(PDWIN32_INCLUDE)\vmutex.h oslibdos.h $(PDWIN32_INCLUDE)\heapshared.h $(PDWIN32_INCLUDE)\winimagepeldr.h
    373 
    374 pefile.OBJ:    pefile.cpp $(PDWIN32_INCLUDE)\pefile.h $(PDWIN32_INCLUDE)\winres.h
    375 
    376 winimagebase.obj:  winimagebase.cpp $(PDWIN32_INCLUDE)\winimagebase.h $(PDWIN32_INCLUDE)\windllbase.h
    377 winimagepe2lx.obj: winimagepe2lx.cpp $(PDWIN32_INCLUDE)\winimagebase.h $(PDWIN32_INCLUDE)\winimagepe2lx.h $(PDWIN32_INCLUDE)\windllbase.h
    378 winimagepeldr.obj: winimagepeldr.cpp $(PDWIN32_INCLUDE)\winimagebase.h $(PDWIN32_INCLUDE)\winimagepeldr.h $(PDWIN32_INCLUDE)\windllbase.h
    379 winimagelx.obj:    winimagelx.cpp $(PDWIN32_INCLUDE)\winimagebase.h $(PDWIN32_INCLUDE)\winimagelx.h
    380 windllbase.obj:    windllbase.cpp $(PDWIN32_INCLUDE)\windllbase.h $(PDWIN32_INCLUDE)\winimagebase.h profile.h
    381 windllpe2lx.obj:   windllpe2lx.cpp $(PDWIN32_INCLUDE)\windllbase.h $(PDWIN32_INCLUDE)\windllpe2lx.h \
    382                    $(PDWIN32_INCLUDE)\winimagepe2lx.h $(PDWIN32_INCLUDE)\winimagebase.h
    383 windlllx.obj:      windlllx.cpp $(PDWIN32_INCLUDE)\windllbase.h $(PDWIN32_INCLUDE)\windlllx.h \
    384                    $(PDWIN32_INCLUDE)\winimagelx.h $(PDWIN32_INCLUDE)\odinlx.h \
    385                    $(PDWIN32_INCLUDE)\winimagebase.h $(PDWIN32_INCLUDE)\winimagelx.h
    386 windllpeldr.obj:   windllpeldr.cpp $(PDWIN32_INCLUDE)\windllbase.h $(PDWIN32_INCLUDE)\windllpeldr.h $(PDWIN32_INCLUDE)\winimagepeldr.h $(PDWIN32_INCLUDE)\winimagebase.h
    387 winexebase.obj:    winexebase.cpp $(PDWIN32_INCLUDE)\winexebase.h $(PDWIN32_INCLUDE)\winimagebase.h
    388 winexepe2lx.obj:   winexepe2lx.cpp $(PDWIN32_INCLUDE)\winexebase.h $(PDWIN32_INCLUDE)\winexepe2lx.h $(PDWIN32_INCLUDE)\winimagepe2lx.h $(PDWIN32_INCLUDE)\winimagebase.h
    389 winexelx.obj:      winexelx.cpp $(PDWIN32_INCLUDE)\winexebase.h $(PDWIN32_INCLUDE)\winexelx.h \
    390                    $(PDWIN32_INCLUDE)\winimagelx.h $(PDWIN32_INCLUDE)\odinlx.h $(PDWIN32_INCLUDE)\winimagebase.h $(PDWIN32_INCLUDE)\winimagelx.h
    391 winexepeldr.obj:   winexepeldr.cpp $(PDWIN32_INCLUDE)\winexebase.h $(PDWIN32_INCLUDE)\winexepeldr.h $(PDWIN32_INCLUDE)\winimagepeldr.h $(PDWIN32_INCLUDE)\winimagebase.h
    392 winfakepeldr.obj:  winfakepeldr.cpp $(PDWIN32_INCLUDE)\winimagepeldr.h $(PDWIN32_INCLUDE)\winimagebase.h $(PDWIN32_INCLUDE)\winfakepeldr.h
    393 
    394 winimgres.OBJ: winimgres.cpp $(PDWIN32_INCLUDE)\winimagebase.h $(PDWIN32_INCLUDE)\pefile.h $(PDWIN32_INCLUDE)\winimagepe2lx.h $(PDWIN32_INCLUDE)\winimagepeldr.h $(PDWIN32_INCLUDE)\winimagelx.h $(PDWIN32_INCLUDE)\winres.h
    395 stubs.obj:     stubs.cpp stubs.h
    396 
    397 cvtbitmap.obj: cvtbitmap.cpp $(PDWIN32_INCLUDE)\winicon.h $(PDWIN32_INCLUDE)\misc.h cvtresource.h
    398 cvtaccel.obj: cvtaccel.cpp $(PDWIN32_INCLUDE)\winaccel.h $(PDWIN32_INCLUDE)\misc.h cvtresource.h
    399 cvticon.obj: cvticon.cpp $(PDWIN32_INCLUDE)\winicon.h $(PDWIN32_INCLUDE)\misc.h cvtresource.h
    400 cvticongrp.obj: cvticongrp.cpp $(PDWIN32_INCLUDE)\winicon.h $(PDWIN32_INCLUDE)\misc.h cvtresource.h
    401 cvtcursor.obj: cvtcursor.cpp $(PDWIN32_INCLUDE)\wincursor.h $(PDWIN32_INCLUDE)\winicon.h $(PDWIN32_INCLUDE)\misc.h cvtresource.h
    402 cvtcursorgrp.obj: cvtcursorgrp.cpp $(PDWIN32_INCLUDE)\wincursor.h $(PDWIN32_INCLUDE)\winicon.h $(PDWIN32_INCLUDE)\misc.h cvtresource.h
    403 
    404 interlock.obj: interlock.asm
    405 toolhelp.obj: toolhelp.cpp
    406 
    407 heapshared.obj: heapshared.cpp $(PDWIN32_INCLUDE)\heapshared.h
    408 heapcode.obj: heapcode.cpp $(PDWIN32_INCLUDE)\heapshared.h $(PDWIN32_INCLUDE)\heapcode.h
    409 cpu.obj: cpu.cpp $(PDWIN32_INCLUDE)\cpuhlp.h
    410 cpuhlp.obj: cpuhlp.asm
    411 environ.obj: environ.cpp $(PDWIN32_INCLUDE)\misc.h
    412 codepage.obj: codepage.cpp oslibdos.h profile.h $(PDWIN32_INCLUDE)\codepage.h
    413 
    414 debug.obj:      debug.cpp oslibdebug.h
    415 oslibdebug.obj: oslibdebug.cpp oslibdebug.h
    416 npipe.obj:      npipe.cpp oslibdos.h  $(PDWIN32_INCLUDE)\misc.h
    417 
    418115clean:
    419         $(RM) *.OBJ *.LIB *.dll *.lrf *.res *.map *.pch kernelrsrc.asm
    420         $(RM) $(PDWIN32_LIB)\$(TARGET).LIB
    421         $(RM) $(PDWIN32_BIN)\$(TARGET).dll
    422         $(RM) $(TARGET)exp.def
     116    $(RM) *.OBJ *.LIB *.dll *.lrf *.res *.map *.pch kernelrsrc.asm \
     117        $(PDWIN32_LIB)\$(TARGET).LIB $(PDWIN32_BIN)\$(TARGET).dll \
     118        $(TARGET)exp.def \
Note: See TracChangeset for help on using the changeset viewer.