source: trunk/makefile@ 3670

Last change on this file since 3670 was 3470, checked in by bird, 25 years ago

The install directory have to be made after kernel32.lib is made. It is
not regarded as a "needed tool". So, tools\install is the last thing we
make.

File size: 2.2 KB
RevLine 
[3470]1# $Id: makefile,v 1.11 2000-05-02 11:24:52 bird Exp $
[4]2
3#
[845]4# PD-Win32 API
[4]5#
6# Top of the tree makefile
7#
8#
[2714]9# Usage: nmake ( debug | nodebuginfo | release | all | dep | clean )
[845]10#
[4]11# debug: Change to a debug build.
[1594]12# debugsmp: Start nmake process in background that processes all
[1620]13# dlls in reverse
[1492]14# nodebuginfo: Change to a debug build without debug info in binaries
[1594]15# nodebuginfosmp: Change to an SMP debug build without debug info in binaries
[4]16# release: Change to a release build.
[1594]17# releasesmp: Change to an SMP release build.
[4]18# all: Build the entire tree.
[2714]19# dep: Make dependencies for the entire tree.
[4]20# clean: Bring tree back to a "virgin" state.
21#
[845]22#
23#
[4]24
[845]25all: odin_libraries needed_tools
[2711]26 cd src
27 nmake -nologo all
[3470]28 cd ..\tools\install
29 nmake -nologo all
[4]30
[887]31clean:
[2711]32 cd lib
33 nmake -nologo clean
34 cd ..\tools
35 nmake -nologo clean
36 cd ..\src
37 nmake -nologo clean
[4]38
[845]39debug: odin_libraries needed_tools
[2711]40 cd src
41 nmake -nologo all DEBUG=1
[3470]42 cd ..\tools\install
43 nmake -nologo all DEBUG=1
[4]44
[1594]45debugsmp: odin_libraries needed_tools
[2711]46 cd src
47 start nmake -i -f makefile.smp -nologo all DEBUG=1
48 nmake -nologo all DEBUG=1
[3470]49 cd ..\tools\install
50 nmake -nologo all DEBUG=1
[1594]51
[1492]52nodebuginfo: odin_libraries needed_tools
[2711]53 cd src
54 nmake -nologo all DEBUG=1 NODEBUGINFO=1
[3470]55 cd ..\tools\install
56 nmake -nologo all DEBUG=1 NODEBUGINFO=1
[1492]57
[1594]58nodebuginfosmp: odin_libraries needed_tools
[2711]59 cd src
60 start nmake -i -f makefile.smp -nologo all DEBUG=1 NODEBUGINFO=1
61 nmake -nologo all DEBUG=1 NODEBUGINFO=1
[3470]62 cd ..\tools\install
63 nmake -nologo all DEBUG=1 NODEBUGINFO=1
[1594]64
[845]65release: odin_libraries needed_tools
[2711]66 cd src
67 nmake -nologo all
[3470]68 cd ..\tools\install
69 nmake -nologo all
[23]70
[1594]71releasesmp: odin_libraries needed_tools
[2711]72 cd src
73 start nmake -i -f makefile.smp -nologo all
74 nmake -nologo all
[3470]75 cd ..\tools\install
76 nmake -nologo all
[23]77
[2711]78dep: needed_tools
79 cd tools
80 nmake -nologo dep
81 cd ..\src
82 nmake -nologo dep
[23]83
[2711]84
[23]85# --- common section ---
86odin_libraries:
87 cd lib
88 nmake -nologo
89 cd ..
90
[845]91
92needed_tools:
93 cd tools
94 nmake needed
95 cd ..
Note: See TracBrowser for help on using the repository browser.