X-Git-Url: https://deadsoftware.ru/gitweb?p=cpc.git;a=blobdiff_plain;f=make.sh;h=f25d28af9dd5f538c90024ac17b2ceb97757a661;hp=f704a52662d522706d6fa009cdfd7d1392463828;hb=b97dcad79a88aa341f22ffce94a4b5c72ed857ea;hpb=47136c23919fb14957c4c59240bbc756f56d1942 diff --git a/make.sh b/make.sh index f704a52..f25d28a 100755 --- a/make.sh +++ b/make.sh @@ -189,7 +189,7 @@ compile_all() { Posix/Mod/Csys_stat.cp Posix/Mod/Cfcntl.cp Posix/Mod/Cerrno.cp \ Posix/Mod/Ciconv.cp Posix/Mod/Cwctype.cp Posix/Mod/Csys_mman.cp \ Posix/Mod/Cdlfcn.cp Posix/Mod/Csignal.cp Posix/Mod/Csetjmp.cp \ - Posix/Mod/Clibgen.cp \ + Posix/Mod/Clibgen.cp Posix/Mod/Csys_wait.cp \ Posix/Mod/Cmacro.cp if [ "$_target" = "cpfront" ]; then compile Lib/Mod/FFI.cp @@ -252,8 +252,19 @@ compile_all() { if [ "$_target" = "native" ]; then compile Dsw/Mod/Debug.odc fi - compile Dsw/Mod/Documents.cp Dsw/Mod/Log.odc Dsw/Mod/Compiler486Main.cp \ - Dsw/Mod/CompilerCPfrontMain.cp Dsw/Mod/Linker486Main.cp + + compile Dsw/Mod/Documents.cp Dsw/Mod/Log.odc Dsw/Mod/Opts.cp Dsw/Mod/Procs.cp + compile Dsw/Mod/HostProcs.cp + + ###^^^^^^^^^^^^^^^^^^^^^^^^^^^### + ### Compile bbdsw executables ### + ###___________________________### + + compile \ + Dsw/Mod/Compiler486Main.cp \ + Dsw/Mod/CompilerCPfrontMain.cp \ + Dsw/Mod/Linker486Main.cp \ + Dsw/Mod/MakeMain.cp } link_all() { @@ -286,8 +297,19 @@ link_all() { CPfrontCPG CPfrontCPC CPfrontCPV\ DswDocuments DswCompilerCPfrontMain + link cpmake \ + PosixCtypes PosixCmacro \ + Kernel Console Files Dates Math Strings Services Log \ + HostLang HostConsole HostFiles HostDates DswLog $_debug_module \ + DevCPM DevCPT DevCPR DevCPS \ + DswDocuments DswOpts DswProcs DswHostProcs DswMakeMain + if $_dolink; then - chmod a+x cpc486 cpl486 cpfront + if [ "$_system" = "osx" ]; then + chmod a+x cpc486.out cpl486.out cpfront.out + else + chmod a+x cpc486 cpl486 cpfront + fi fi }