1# auto generated - do not edit 2 3default: all 4 5all:\ 6local ag_dso.o ag_event.o agar-core-ada-conf agar-core-ada-conf.o \ 7agar-core-ada.a agar-core-config.ali agar-core-config.o \ 8agar-core-data_source.ali agar-core-data_source.o agar-core-database.ali \ 9agar-core-database.o agar-core-dso.ali agar-core-dso.o agar-core-error.ali \ 10agar-core-error.o agar-core-event.ali agar-core-event.o agar-core-init.ali \ 11agar-core-init.o agar-core-object.ali agar-core-object.o agar-core-thin.ali \ 12agar-core-thin.o agar-core.ali agar-core.o agar.ali agar.o ctxt/bindir.o \ 13ctxt/ctxt.a ctxt/dlibdir.o ctxt/fakeroot.o ctxt/incdir.o ctxt/repos.o \ 14ctxt/slibdir.o ctxt/version.o deinstaller deinstaller.o install-core.o \ 15install-posix.o install-win32.o install.a installer installer.o instchk \ 16instchk.o insthier.o types-sizes types-sizes.o 17 18# Mkf-deinstall 19deinstall: deinstaller conf-sosuffix 20 ./deinstaller 21deinstall-dryrun: deinstaller conf-sosuffix 22 ./deinstaller dryrun 23 24# Mkf-install 25install: installer postinstall conf-sosuffix 26 ./installer 27 ./postinstall 28 29install-dryrun: installer conf-sosuffix 30 ./installer dryrun 31 32# Mkf-instchk 33install-check: instchk conf-sosuffix 34 ./instchk 35 36# Mkf-local 37local:\ 38flags-agar-core libs-agar-core flags-c_string libs-c_string-S 39 ./check-deps 40 41local_pre: 42local_clean: 43 44#---------------------------------------------------------------------- 45# SYSDEPS start 46 47flags-agar-core: 48 @echo SYSDEPS agar-flags run create flags-agar-core 49 @(cd SYSDEPS && ./sd-run modules/agar-flags) 50libs-agar-core: 51 @echo SYSDEPS agar-libs run create libs-agar-core 52 @(cd SYSDEPS && ./sd-run modules/agar-libs) 53flags-c_string: 54 @echo SYSDEPS c_string-flags run create flags-c_string 55 @(cd SYSDEPS && ./sd-run modules/c_string-flags) 56libs-c_string-S: 57 @echo SYSDEPS c_string-libs-S run create libs-c_string-S 58 @(cd SYSDEPS && ./sd-run modules/c_string-libs-S) 59_sd_sysinfo.h: 60 @echo SYSDEPS sd-sysinfo run create _sd_sysinfo.h 61 @(cd SYSDEPS && ./sd-run modules/sd-sysinfo) 62 63 64agar-flags_clean: 65 @echo SYSDEPS agar-flags clean flags-agar-core 66 @(cd SYSDEPS && ./sd-clean modules/agar-flags) 67agar-libs_clean: 68 @echo SYSDEPS agar-libs clean libs-agar-core 69 @(cd SYSDEPS && ./sd-clean modules/agar-libs) 70c_string-flags_clean: 71 @echo SYSDEPS c_string-flags clean flags-c_string 72 @(cd SYSDEPS && ./sd-clean modules/c_string-flags) 73c_string-libs-S_clean: 74 @echo SYSDEPS c_string-libs-S clean libs-c_string-S 75 @(cd SYSDEPS && ./sd-clean modules/c_string-libs-S) 76sd-sysinfo_clean: 77 @echo SYSDEPS sd-sysinfo clean _sd_sysinfo.h 78 @(cd SYSDEPS && ./sd-clean modules/sd-sysinfo) 79 80 81sysdeps_clean:\ 82agar-flags_clean \ 83agar-libs_clean \ 84c_string-flags_clean \ 85c_string-libs-S_clean \ 86sd-sysinfo_clean \ 87 88 89 90# SYSDEPS end 91#---------------------------------------------------------------------- 92 93ada-bind:\ 94conf-adabind conf-systype conf-adatype conf-adabflags conf-adafflist \ 95 flags-c_string 96 97ada-compile:\ 98conf-adacomp conf-adatype conf-systype conf-adacflags conf-adafflist \ 99 flags-c_string 100 101ada-link:\ 102conf-adalink conf-adatype conf-systype conf-adaldflags conf-aldfflist \ 103 libs-c_string-S 104 105ada-srcmap:\ 106conf-adacomp conf-adatype conf-systype 107 108ada-srcmap-all:\ 109ada-srcmap conf-adacomp conf-adatype conf-systype 110 111ag_dso.o:\ 112cc-compile ag_dso.c 113 ./cc-compile ag_dso.c 114 115ag_event.o:\ 116cc-compile ag_event.c 117 ./cc-compile ag_event.c 118 119agar-core-ada-conf:\ 120cc-link agar-core-ada-conf.ld agar-core-ada-conf.o ctxt/ctxt.a 121 ./cc-link agar-core-ada-conf agar-core-ada-conf.o ctxt/ctxt.a 122 123agar-core-ada-conf.o:\ 124cc-compile agar-core-ada-conf.c ctxt.h _sd_sysinfo.h 125 ./cc-compile agar-core-ada-conf.c 126 127agar-core-ada.a:\ 128cc-slib agar-core-ada.sld ag_dso.o ag_event.o agar-core-config.o \ 129agar-core-data_source.o agar-core-database.o agar-core-dso.o agar-core-error.o \ 130agar-core-event.o agar-core-init.o agar-core-object.o agar-core-thin.o \ 131agar-core.o agar.o 132 ./cc-slib agar-core-ada ag_dso.o ag_event.o agar-core-config.o \ 133 agar-core-data_source.o agar-core-database.o agar-core-dso.o agar-core-error.o \ 134 agar-core-event.o agar-core-init.o agar-core-object.o agar-core-thin.o \ 135 agar-core.o agar.o 136 137agar-core-config.ads:\ 138agar-core.ali 139 140agar-core-config.o agar-core-config.ali:\ 141ada-compile agar-core-config.adb agar-core.ali agar-core-config.ads \ 142agar-core-thin.ali 143 ./ada-compile agar-core-config.adb 144 145agar-core-data_source.ads:\ 146agar-core-thin.ali 147 148agar-core-data_source.o agar-core-data_source.ali:\ 149ada-compile agar-core-data_source.adb agar-core-data_source.ads 150 ./ada-compile agar-core-data_source.adb 151 152agar-core-database.ads:\ 153agar-core.ali agar-core-thin.ali 154 155agar-core-database.o agar-core-database.ali:\ 156ada-compile agar-core-database.adb agar-core.ali agar-core-database.ads 157 ./ada-compile agar-core-database.adb 158 159agar-core-dso.ads:\ 160agar-core.ali agar-core-thin.ali 161 162agar-core-dso.o agar-core-dso.ali:\ 163ada-compile agar-core-dso.adb agar-core.ali agar-core-dso.ads 164 ./ada-compile agar-core-dso.adb 165 166agar-core-error.ads:\ 167agar-core.ali 168 169agar-core-error.o agar-core-error.ali:\ 170ada-compile agar-core-error.adb agar-core.ali agar-core-error.ads \ 171agar-core-thin.ali 172 ./ada-compile agar-core-error.adb 173 174agar-core-event.ads:\ 175agar-core.ali agar-core-thin.ali 176 177agar-core-event.o agar-core-event.ali:\ 178ada-compile agar-core-event.adb agar-core.ali agar-core-event.ads 179 ./ada-compile agar-core-event.adb 180 181agar-core-init.ads:\ 182agar-core.ali agar-core-thin.ali 183 184agar-core-init.o agar-core-init.ali:\ 185ada-compile agar-core-init.adb agar-core.ali agar-core-init.ads 186 ./ada-compile agar-core-init.adb 187 188agar-core-object.ads:\ 189agar-core.ali agar-core-thin.ali agar-core-data_source.ali 190 191agar-core-object.o agar-core-object.ali:\ 192ada-compile agar-core-object.adb agar-core.ali agar-core-object.ads 193 ./ada-compile agar-core-object.adb 194 195# agar-core-thin.ads.mff 196agar-core-thin.ads: agar-core-thin.ads.sh type-make types-sizes 197 ./agar-core-thin.ads.sh > agar-core-thin.ads.tmp 198 mv agar-core-thin.ads.tmp agar-core-thin.ads 199 200agar-core-thin.o agar-core-thin.ali:\ 201ada-compile agar-core-thin.ads 202 ./ada-compile agar-core-thin.ads 203 204agar-core.o agar-core.ali:\ 205ada-compile agar-core.ads agar.ali agar-core.ads 206 ./ada-compile agar-core.ads 207 208agar.o agar.ali:\ 209ada-compile agar.ads agar.ads 210 ./ada-compile agar.ads 211 212cc-compile:\ 213conf-cc conf-cctype conf-systype conf-ccfflist flags-agar-core 214 215cc-link:\ 216conf-ld conf-ldtype conf-systype conf-ldfflist libs-agar-core 217 218cc-slib:\ 219conf-systype 220 221conf-adatype:\ 222mk-adatype 223 ./mk-adatype > conf-adatype.tmp && mv conf-adatype.tmp conf-adatype 224 225conf-cctype:\ 226conf-cc mk-cctype 227 ./mk-cctype > conf-cctype.tmp && mv conf-cctype.tmp conf-cctype 228 229conf-ldtype:\ 230conf-ld mk-ldtype 231 ./mk-ldtype > conf-ldtype.tmp && mv conf-ldtype.tmp conf-ldtype 232 233conf-systype:\ 234mk-systype 235 ./mk-systype > conf-systype.tmp && mv conf-systype.tmp conf-systype 236 237# ctxt/bindir.c.mff 238ctxt/bindir.c: mk-ctxt conf-bindir 239 rm -f ctxt/bindir.c 240 ./mk-ctxt ctxt_bindir < conf-bindir > ctxt/bindir.c 241 242ctxt/bindir.o:\ 243cc-compile ctxt/bindir.c 244 ./cc-compile ctxt/bindir.c 245 246ctxt/ctxt.a:\ 247cc-slib ctxt/ctxt.sld ctxt/bindir.o ctxt/dlibdir.o ctxt/fakeroot.o \ 248ctxt/incdir.o ctxt/repos.o ctxt/slibdir.o ctxt/version.o 249 ./cc-slib ctxt/ctxt ctxt/bindir.o ctxt/dlibdir.o ctxt/fakeroot.o ctxt/incdir.o \ 250 ctxt/repos.o ctxt/slibdir.o ctxt/version.o 251 252# ctxt/dlibdir.c.mff 253ctxt/dlibdir.c: mk-ctxt conf-dlibdir 254 rm -f ctxt/dlibdir.c 255 ./mk-ctxt ctxt_dlibdir < conf-dlibdir > ctxt/dlibdir.c 256 257ctxt/dlibdir.o:\ 258cc-compile ctxt/dlibdir.c 259 ./cc-compile ctxt/dlibdir.c 260 261# ctxt/fakeroot.c.mff 262ctxt/fakeroot.c: mk-ctxt conf-fakeroot 263 rm -f ctxt/fakeroot.c 264 ./mk-ctxt ctxt_fakeroot < conf-fakeroot > ctxt/fakeroot.c 265 266ctxt/fakeroot.o:\ 267cc-compile ctxt/fakeroot.c 268 ./cc-compile ctxt/fakeroot.c 269 270# ctxt/incdir.c.mff 271ctxt/incdir.c: mk-ctxt conf-incdir 272 rm -f ctxt/incdir.c 273 ./mk-ctxt ctxt_incdir < conf-incdir > ctxt/incdir.c 274 275ctxt/incdir.o:\ 276cc-compile ctxt/incdir.c 277 ./cc-compile ctxt/incdir.c 278 279# ctxt/repos.c.mff 280ctxt/repos.c: mk-ctxt conf-repos 281 rm -f ctxt/repos.c 282 ./mk-ctxt ctxt_repos < conf-repos > ctxt/repos.c 283 284ctxt/repos.o:\ 285cc-compile ctxt/repos.c 286 ./cc-compile ctxt/repos.c 287 288# ctxt/slibdir.c.mff 289ctxt/slibdir.c: mk-ctxt conf-slibdir 290 rm -f ctxt/slibdir.c 291 ./mk-ctxt ctxt_slibdir < conf-slibdir > ctxt/slibdir.c 292 293ctxt/slibdir.o:\ 294cc-compile ctxt/slibdir.c 295 ./cc-compile ctxt/slibdir.c 296 297# ctxt/version.c.mff 298ctxt/version.c: mk-ctxt VERSION 299 rm -f ctxt/version.c 300 ./mk-ctxt ctxt_version < VERSION > ctxt/version.c 301 302ctxt/version.o:\ 303cc-compile ctxt/version.c 304 ./cc-compile ctxt/version.c 305 306deinstaller:\ 307cc-link deinstaller.ld deinstaller.o insthier.o install.a ctxt/ctxt.a 308 ./cc-link deinstaller deinstaller.o insthier.o install.a ctxt/ctxt.a 309 310deinstaller.o:\ 311cc-compile deinstaller.c install.h ctxt.h 312 ./cc-compile deinstaller.c 313 314install-core.o:\ 315cc-compile install-core.c install.h 316 ./cc-compile install-core.c 317 318install-posix.o:\ 319cc-compile install-posix.c install.h 320 ./cc-compile install-posix.c 321 322install-win32.o:\ 323cc-compile install-win32.c install.h 324 ./cc-compile install-win32.c 325 326install.a:\ 327cc-slib install.sld install-core.o install-posix.o install-win32.o 328 ./cc-slib install install-core.o install-posix.o install-win32.o 329 330install.h:\ 331install_os.h 332 333installer:\ 334cc-link installer.ld installer.o insthier.o install.a ctxt/ctxt.a 335 ./cc-link installer installer.o insthier.o install.a ctxt/ctxt.a 336 337installer.o:\ 338cc-compile installer.c ctxt.h install.h 339 ./cc-compile installer.c 340 341instchk:\ 342cc-link instchk.ld instchk.o insthier.o install.a ctxt/ctxt.a 343 ./cc-link instchk instchk.o insthier.o install.a ctxt/ctxt.a 344 345instchk.o:\ 346cc-compile instchk.c ctxt.h install.h 347 ./cc-compile instchk.c 348 349insthier.o:\ 350cc-compile insthier.c ctxt.h install.h 351 ./cc-compile insthier.c 352 353mk-adatype:\ 354conf-adacomp conf-systype 355 356mk-cctype:\ 357conf-cc conf-systype 358 359mk-ctxt:\ 360mk-mk-ctxt 361 ./mk-mk-ctxt 362 363mk-ldtype:\ 364conf-ld conf-systype conf-cctype 365 366mk-mk-ctxt:\ 367conf-cc conf-ld 368 369mk-systype:\ 370conf-cc conf-ld 371 372types-sizes:\ 373cc-link types-sizes.ld types-sizes.o 374 ./cc-link types-sizes types-sizes.o 375 376types-sizes.o:\ 377cc-compile types-sizes.c 378 ./cc-compile types-sizes.c 379 380clean-all: sysdeps_clean local_clean obj_clean ext_clean 381clean: obj_clean 382obj_clean: 383 rm -f ag_dso.o ag_event.o agar-core-ada-conf agar-core-ada-conf.o \ 384 agar-core-ada.a agar-core-config.ali agar-core-config.o \ 385 agar-core-data_source.ali agar-core-data_source.o agar-core-database.ali \ 386 agar-core-database.o agar-core-dso.ali agar-core-dso.o agar-core-error.ali \ 387 agar-core-error.o agar-core-event.ali agar-core-event.o agar-core-init.ali \ 388 agar-core-init.o agar-core-object.ali agar-core-object.o agar-core-thin.ads \ 389 agar-core-thin.ali agar-core-thin.o agar-core.ali agar-core.o agar.ali agar.o \ 390 ctxt/bindir.c ctxt/bindir.o ctxt/ctxt.a ctxt/dlibdir.c ctxt/dlibdir.o \ 391 ctxt/fakeroot.c ctxt/fakeroot.o ctxt/incdir.c ctxt/incdir.o ctxt/repos.c \ 392 ctxt/repos.o ctxt/slibdir.c ctxt/slibdir.o ctxt/version.c ctxt/version.o \ 393 deinstaller deinstaller.o install-core.o install-posix.o install-win32.o \ 394 install.a installer installer.o instchk instchk.o insthier.o types-sizes \ 395 types-sizes.o 396ext_clean: 397 rm -f conf-adatype conf-cctype conf-ldtype conf-systype mk-ctxt 398 399regen:\ 400ada-srcmap ada-srcmap-all 401 ./ada-srcmap-all 402 cpj-genmk > Makefile.tmp && mv Makefile.tmp Makefile 403