Правила сборки для ЗОСРВ "Нейтрино" редакции 2021
This commit is contained in:
parent
3726db29a2
commit
b76c1baf35
30
README.md
Normal file
30
README.md
Normal file
@ -0,0 +1,30 @@
|
||||
Сборка проекта в ЗОСРВ "Нейтрино" редакции 2021
|
||||
===============================================
|
||||
|
||||
Для всех архитектур:
|
||||
|
||||
```
|
||||
make -j16 install
|
||||
```
|
||||
|
||||
Только для x86:
|
||||
|
||||
```
|
||||
CPULIST=x86 make -j16 install
|
||||
```
|
||||
|
||||
**Порт mc проверен на работоспособность условно и, вероятно, потребует дополнительной адаптации.**
|
||||
|
||||
Зависимости
|
||||
===========
|
||||
|
||||
1. [S-Lang Programmer's Library](../s-lang)
|
||||
2. [PCRE - Perl Compatible Regular Expressions](../pcre)
|
||||
|
||||
Запуск
|
||||
===========
|
||||
|
||||
```
|
||||
export TERM=xterm
|
||||
mc
|
||||
```
|
37
common.mk
Normal file
37
common.mk
Normal file
@ -0,0 +1,37 @@
|
||||
ifndef QCONFIG
|
||||
QCONFIG=qconfig.mk
|
||||
endif
|
||||
include $(QCONFIG)
|
||||
|
||||
|
||||
CONFIGUREFLAGS += --sysconfdir=/etc
|
||||
CONFIGUREFLAGS += --libexecdir=/lib
|
||||
CONFIGUREFLAGS += --sysconfdir=/etc
|
||||
CONFIGUREFLAGS += --mandir=/usr/share/man
|
||||
CONFIGUREFLAGS += --enable-vfs-smb
|
||||
CONFIGUREFLAGS += --disable-doxygen-doc
|
||||
CONFIGUREFLAGS += --disable-doxygen-man
|
||||
CONFIGUREFLAGS += --disable-doxygen-rtf
|
||||
CONFIGUREFLAGS += --disable-doxygen-xml
|
||||
CONFIGUREFLAGS += --disable-doxygen-chm
|
||||
CONFIGUREFLAGS += --disable-doxygen-chi
|
||||
CONFIGUREFLAGS += --disable-doxygen-html
|
||||
CONFIGUREFLAGS += --disable-nls
|
||||
#~ CONFIGUREFLAGS += --with-screen=ncurses
|
||||
CONFIGUREFLAGS += --with-screen=slang
|
||||
CONFIGUREFLAGS += --without-x
|
||||
CONFIGUREFLAGS += samba_cv_HAVE_GETTIMEOFDAY_TZ=yes
|
||||
CONFIGUREFLAGS += ac_cv_func_getmntinfo="yes"
|
||||
|
||||
LIBS += nbutil
|
||||
LIBS += socket
|
||||
LIBS += intl
|
||||
|
||||
CPPFLAGS += -I$(PROJECT_ROOT)/contrib
|
||||
CPPFLAGS += -D_QNX_SOURCE=1
|
||||
CPPFLAGS += -DREAL_UNIX_SYSTEM=1
|
||||
CPPFLAGS += -D_FILE_OFFSET_BITS=64
|
||||
CPPFLAGS += -include nbutil.h
|
||||
|
||||
include $(MKFILES_ROOT)/autotools.mk
|
||||
include $(MKFILES_ROOT)/qtargets.mk
|
2
contrib/langinfo.h
Normal file
2
contrib/langinfo.h
Normal file
@ -0,0 +1,2 @@
|
||||
#define CODESET 0
|
||||
#define nl_langinfo(item) ( getenv("MCLANG") ? getenv("MCLANG") : "CP866" )
|
@ -25,6 +25,11 @@
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(__KPDA__)
|
||||
#undef makedev
|
||||
#define makedev(major,minor) ((dev_t)(((major)<<10)|(minor)))
|
||||
#endif /* __KPDA__ */
|
||||
|
||||
/*** typedefs(not structures) and defined constants **********************************************/
|
||||
|
||||
#ifndef major
|
||||
|
2
nto/Makefile
Normal file
2
nto/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
LIST=CPU
|
||||
include recurse.mk
|
2
nto/aarch64/Makefile
Normal file
2
nto/aarch64/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
LIST=VARIANT
|
||||
include recurse.mk
|
1
nto/aarch64/o.le/Makefile
Normal file
1
nto/aarch64/o.le/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
2
nto/arm/Makefile
Normal file
2
nto/arm/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
LIST=VARIANT
|
||||
include recurse.mk
|
1
nto/arm/o.le.v7/Makefile
Normal file
1
nto/arm/o.le.v7/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
1
nto/arm/o.le/Makefile
Normal file
1
nto/arm/o.le/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
2
nto/e2k/Makefile
Normal file
2
nto/e2k/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
LIST=VARIANT
|
||||
include recurse.mk
|
1
nto/e2k/o.le/Makefile
Normal file
1
nto/e2k/o.le/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
2
nto/mips/Makefile
Normal file
2
nto/mips/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
LIST=VARIANT
|
||||
include recurse.mk
|
1
nto/mips/o.be/Makefile
Normal file
1
nto/mips/o.be/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
1
nto/mips/o.le.mc/Makefile
Normal file
1
nto/mips/o.le.mc/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
1
nto/mips/o.le/Makefile
Normal file
1
nto/mips/o.le/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
2
nto/ppc/Makefile
Normal file
2
nto/ppc/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
LIST=VARIANT
|
||||
include recurse.mk
|
1
nto/ppc/o.be.spe/Makefile
Normal file
1
nto/ppc/o.be.spe/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
1
nto/ppc/o.be/Makefile
Normal file
1
nto/ppc/o.be/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
2
nto/x86/Makefile
Normal file
2
nto/x86/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
LIST=VARIANT
|
||||
include recurse.mk
|
1
nto/x86/o/Makefile
Normal file
1
nto/x86/o/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../../../common.mk
|
Loading…
x
Reference in New Issue
Block a user