Changeset 4723 for trunk/makefile
- Timestamp:
 - Dec 3, 2000, 1:58:02 AM (25 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/makefile (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/makefile
r4717 r4723 1 # $Id: makefile,v 1.1 4 2000-12-02 23:37:30bird Exp $1 # $Id: makefile,v 1.15 2000-12-03 00:58:02 bird Exp $ 2 2 3 3 # 4 # Odin32 API4 # Odin32 5 5 # 6 # crtdll.dll makefile 6 # Top of the tree makefile 7 # 8 # 9 # Usage: nmake ( debug | nodebuginfo | release | all | dep | clean ) 10 # 11 # debug: Change to a debug build. 12 # debugsmp: Start nmake process in background that processes all 13 # dlls in reverse 14 # nodebuginfo: Change to a debug build without debug info in binaries 15 # nodebuginfosmp: Change to an SMP debug build without debug info in binaries 16 # release: Change to a release build. 17 # releasesmp: Change to an SMP release build. 18 # all: Build the entire tree. 19 # dep: Make dependencies for the entire tree. 20 # clean: Bring tree back to a "virgin" state. 21 # 22 # 7 23 # 8 24 9 25 10 26 # 11 # C ompiler, tools, and interference rules.27 # Check that makefile.inc exists, If it doesn't we'll try make it. 12 28 # 13 !include ../../makefile.inc 29 !if [.\tools\bin\Exists.cmd makefile.inc] == 1 30 ! if [configure.cmd noninteractive] 31 ! endif 32 !endif 14 33 15 34 16 35 # 17 # Object files. Prefix with OBJDIR and one space before the '\'.36 # Include makefile. 18 37 # 19 OBJS = \ 20 $(OBJDIR)\crtdll_main.obj \ 21 $(OBJDIR)\dir.obj \ 22 $(OBJDIR)\exit.obj \ 23 $(OBJDIR)\file.obj \ 24 $(OBJDIR)\mbstring.obj \ 25 $(OBJDIR)\memory.obj \ 26 $(OBJDIR)\spawn.obj \ 27 \ 28 $(OBJDIR)\crtdll.obj \ 29 $(OBJDIR)\asmhlp.obj \ 30 $(OBJDIR)\stubs.obj \ 31 $(OBJDIR)\internal.obj \ 32 $(OBJDIR)\string.obj \ 33 $(OBJDIR)\crt_memory.obj \ 34 $(OBJDIR)\crt_wc.obj \ 35 $(OBJDIR)\initterm.obj \ 36 $(OBJDIR)\crtdllrsrc.obj 38 !include makefile.inc 39 40 all: odin_libraries needed_tools 41 cd src 42 $(MAKE) -nologo all 43 cd ..\tools\install 44 $(MAKE) -nologo all 45 46 clean: 47 cd lib 48 $(MAKE) -nologo clean 49 cd ..\tools 50 $(MAKE) -nologo clean 51 cd ..\src 52 $(MAKE) -nologo clean 53 54 debug: odin_libraries needed_tools 55 cd src 56 $(MAKE) -nologo all DEBUG=1 57 cd ..\tools\install 58 $(MAKE) -nologo all DEBUG=1 59 60 debugsmp: odin_libraries needed_tools 61 cd src 62 $(MAKE) -nologo DEBUG=1 smp 63 cd ..\tools\install 64 $(MAKE) -nologo DEBUG=1 all 65 66 nodebuginfo: odin_libraries needed_tools 67 cd src 68 $(MAKE) -nologo all DEBUG=1 NODEBUGINFO=1 69 cd ..\tools\install 70 $(MAKE) -nologo all DEBUG=1 NODEBUGINFO=1 71 72 nodebuginfosmp: odin_libraries needed_tools 73 cd src 74 $(MAKE) -nologo DEBUG=1 NODEBUGINFO=1 smp 75 cd ..\tools\install 76 $(MAKE) -nologo DEBUG=1 NODEBUGINFO=1 all 77 78 release: odin_libraries needed_tools 79 SET DEBUG= 80 cd src 81 $(MAKE) -nologo all 82 cd ..\tools\install 83 $(MAKE) -nologo all 84 85 releasesmp: odin_libraries needed_tools 86 SET DEBUG= 87 cd src 88 $(MAKE) -nologo smp 89 cd ..\tools\install 90 $(MAKE) -nologo all 91 92 dep: needed_tools 93 cd tools 94 $(MAKE) -nologo dep 95 cd ..\src 96 $(MAKE) -nologo dep 37 97 38 98 39 # 40 # Libraries. One space before the '\'. 41 # 42 LIBS = \ 43 $(ODIN32_LIB)/kernel32.lib \ 44 $(ODIN32_LIB)/$(ODINCRT).lib \ 45 $(ODIN32_LIB)/user32.lib \ 46 $(ODIN32_LIB)/pmwinx.lib \ 47 os2386.lib \ 48 $(RTLLIB_O) 99 # --- common section --- 100 odin_libraries: 101 cd lib 102 $(MAKE) -nologo 103 cd .. 49 104 50 105 51 # 52 # Target name - name of the dll without extention and path. 53 # 54 TARGET = crtdll 55 56 57 # 58 # Includes the common rules. 59 # 60 !include $(ODIN32_POST_INC) 106 needed_tools: 107 cd tools 108 $(MAKE) -nologo needed 109 cd ..  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  