| Line |   | 
|---|
| 1 | # $Id: makefile,v 1.19 2001-09-30 05:28:07 bird Exp $
 | 
|---|
| 2 | 
 | 
|---|
| 3 | #
 | 
|---|
| 4 | # Odin32 API
 | 
|---|
| 5 | #
 | 
|---|
| 6 | #       Top of the tools tree makefile
 | 
|---|
| 7 | #
 | 
|---|
| 8 | #
 | 
|---|
| 9 | #       Usage: nmake ( all | needed | dep | clean )
 | 
|---|
| 10 | #
 | 
|---|
| 11 | #            all: Build the entire tools tree.
 | 
|---|
| 12 | #            needed: Builds the tools used during compilation of the src tree.
 | 
|---|
| 13 | #            dep: Make dependencies for the tools tree.
 | 
|---|
| 14 | #            clean: Bring tools tree back to a "virgin" state.
 | 
|---|
| 15 | #
 | 
|---|
| 16 | #
 | 
|---|
| 17 | #
 | 
|---|
| 18 | 
 | 
|---|
| 19 | 
 | 
|---|
| 20 | #
 | 
|---|
| 21 | # Directory macros.
 | 
|---|
| 22 | #
 | 
|---|
| 23 | !include ../makefile.inc
 | 
|---|
| 24 | 
 | 
|---|
| 25 | 
 | 
|---|
| 26 | #
 | 
|---|
| 27 | # The directories included in the usual makes; all, clean, dep rules.
 | 
|---|
| 28 | #
 | 
|---|
| 29 | ALL_DIRS = \
 | 
|---|
| 30 | .\cmdqd \
 | 
|---|
| 31 | .\common \
 | 
|---|
| 32 | .\fastdep \
 | 
|---|
| 33 | .\impdef \
 | 
|---|
| 34 | .\install \
 | 
|---|
| 35 | .\regedit \
 | 
|---|
| 36 | .\database \
 | 
|---|
| 37 | .\omfdumper \
 | 
|---|
| 38 | .\sdf \
 | 
|---|
| 39 | .\wrc \
 | 
|---|
| 40 | 
 | 
|---|
| 41 | 
 | 
|---|
| 42 | #
 | 
|---|
| 43 | # Dummy all rule.
 | 
|---|
| 44 | #
 | 
|---|
| 45 | _all: all
 | 
|---|
| 46 | 
 | 
|---|
| 47 | 
 | 
|---|
| 48 | #
 | 
|---|
| 49 | # common rules.
 | 
|---|
| 50 | #
 | 
|---|
| 51 | $(COMMONRULES):
 | 
|---|
| 52 |     @$(DODIRS) "$(ALL_DIRS)" $(MAKE_CMD) $@
 | 
|---|
| 53 | 
 | 
|---|
| 54 | 
 | 
|---|
| 55 | #
 | 
|---|
| 56 | # compile tools needed to compile rest of the tree.
 | 
|---|
| 57 | #
 | 
|---|
| 58 | needed:
 | 
|---|
| 59 |     @$(DODIRS) "cmdqd fastdep common impdef wrc" $(MAKE_CMD)
 | 
|---|
| 60 | 
 | 
|---|
| 61 | 
 | 
|---|
| 62 | #
 | 
|---|
| 63 | # Do not includes the common rules.
 | 
|---|
| 64 | #
 | 
|---|
| 65 | 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.