Changeset 55 for trunk/Makefile
- Timestamp:
- Jan 28, 2016, 9:39:16 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r46 r55 67 67 BOOTCODE& 68 68 INSTALL$(DS)C& 69 INSTALL$(DS)DOS&70 69 TOOLS$(DS)OS2$(DS)SETABOOT& 70 71 72 # Components to distribute to the RELEASE directories. 73 # These are the bootloader is several languages, 74 # the installer for several platforms, 75 # and the OS/2 setboot replacement (setaboot). 76 COMPONENTS2DIST=& 77 BOOTCODE& 78 INSTALL$(DS)C& 79 TOOLS$(DS)OS2$(DS)SETABOOT& 80 71 81 72 82 … … 89 99 90 100 # ----------------------------------------------------------------------------- 91 # BUILD EVERYTHING101 # BUILD AND DISTRIBUTE EVERYTHING 92 102 # ----------------------------------------------------------------------------- 93 103 # Here we iterate over all AiR-BOOT components that have a Makefile. … … 100 110 @SET ACTION=BUILD 101 111 @for %%i in ($(COMPONENTS)) do @$(MAKE) -h %%i 102 @echo. 103 @echo ** Success !! ** 104 @echo All AiR-BOOT stuff has been built. 105 @echo Look in the RELEASE directory for the distribution files 106 @echo for each platform. 107 @echo The PACKAGES directory contains packages for each supported 108 @echo platform. 109 @echo. 112 @%MAKE dist 113 @echo. 114 @echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 115 @echo :: !! Success !! :: 116 @echo :: All AiR-BOOT stuff has been built. :: 117 @echo :: Look in the RELEASE directory for the distribution files :: 118 @echo :: for each platform and the bootloader for each language. :: 119 # @echo :: The PACKAGES directory contains packages for each supported :: 120 # @echo :: platform. :: 121 @echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 122 @echo. 123 124 125 126 # ----------------------------------------------------------------------------- 127 # DISTRIBUTE RELEVANT TARGETS TO RELEASE DIRECTORY 128 # ----------------------------------------------------------------------------- 129 # This target is invoked by build to distribute the relevant targets to the 130 # distribution directory. 131 # ----------------------------------------------------------------------------- 132 dist: .SYMBOLIC 133 @SET ACTION=DIST 134 @for %%i in ($(COMPONENTS2DIST)) do @$(MAKE) -h %%i 135 @echo. 136 110 137 111 138 … … 120 147 # ----------------------------------------------------------------------------- 121 148 clean: .SYMBOLIC 149 @cd RELEASE 150 @$(MAKE) -h clean 151 @cd .. 122 152 @SET ACTION=CLEAN 123 153 @for %%i in ($(COMPONENTS)) do @$(MAKE) -h %%i … … 125 155 @echo Done. 126 156 @echo. 157 127 158 128 159 … … 146 177 147 178 148 149 150 151 152 179 # ----------------------------------------------------------------------------- 153 180 # CHECK FOR MAKEFILE CHANGES … … 184 211 @echo @@ BUILDING $@ 185 212 @echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 186 @echo.187 213 @cd $@ 214 @cd 188 215 @$(MAKE) -h 216 !elseif "$(%ACTION)"=="DIST" 217 @echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 218 @echo @@ DISTRIBUTING $@ 219 @echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 220 @cd $@ 221 @cd 222 @$(MAKE) -h dist 189 223 !elseif "$(%ACTION)"=="CLEAN" 190 224 @echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 191 225 @echo @@ CLEANING $@ 192 226 @echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 193 @echo.194 227 @cd $@ 228 @cd 195 229 @$(MAKE) -h clean 230 @if exist Makefile.bu del Makefile.bu 196 231 !else 197 232 @echo. … … 199 234 @echo. 200 235 !endif 201 202
Note:
See TracChangeset
for help on using the changeset viewer.