diff options
Diffstat (limited to 'project')
-rw-r--r-- | project/extras.mk | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/project/extras.mk b/project/extras.mk index 43fc198..2d6825a 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -1,2 +1,85 @@ SYS_MK_DIR = $(DATADIR)/mk CFLAGS_CONFIG += -D_PATH_DEFSYSPATH=\"$(SYS_MK_DIR)\" + +MK_FILES = \ + $(SOURCE_DIR)/mk/ChangeLog \ + $(SOURCE_DIR)/mk/LICENSE \ + $(SOURCE_DIR)/mk/README \ + $(SOURCE_DIR)/mk/auto.dep.mk \ + $(SOURCE_DIR)/mk/auto.obj.mk \ + $(SOURCE_DIR)/mk/autoconf.mk \ + $(SOURCE_DIR)/mk/autodep.mk \ + $(SOURCE_DIR)/mk/compiler.mk \ + $(SOURCE_DIR)/mk/cython.mk \ + $(SOURCE_DIR)/mk/dep.mk \ + $(SOURCE_DIR)/mk/dirdeps-cache-update.mk \ + $(SOURCE_DIR)/mk/dirdeps-options.mk \ + $(SOURCE_DIR)/mk/dirdeps-targets.mk \ + $(SOURCE_DIR)/mk/dirdeps.mk \ + $(SOURCE_DIR)/mk/doc.mk \ + $(SOURCE_DIR)/mk/dpadd.mk \ + $(SOURCE_DIR)/mk/files.mk \ + $(SOURCE_DIR)/mk/final.mk \ + $(SOURCE_DIR)/mk/gendirdeps.mk \ + $(SOURCE_DIR)/mk/host-target.mk \ + $(SOURCE_DIR)/mk/host.libnames.mk \ + $(SOURCE_DIR)/mk/inc.mk \ + $(SOURCE_DIR)/mk/init.mk \ + $(SOURCE_DIR)/mk/install-new.mk \ + $(SOURCE_DIR)/mk/java.mk \ + $(SOURCE_DIR)/mk/ldorder.mk \ + $(SOURCE_DIR)/mk/lib.mk \ + $(SOURCE_DIR)/mk/libnames.mk \ + $(SOURCE_DIR)/mk/libs.mk \ + $(SOURCE_DIR)/mk/links.mk \ + $(SOURCE_DIR)/mk/man.mk \ + $(SOURCE_DIR)/mk/manifest.mk \ + $(SOURCE_DIR)/mk/meta.autodep.mk \ + $(SOURCE_DIR)/mk/meta.stage.mk \ + $(SOURCE_DIR)/mk/meta.subdir.mk \ + $(SOURCE_DIR)/mk/meta.sys.mk \ + $(SOURCE_DIR)/mk/meta2deps.py \ + $(SOURCE_DIR)/mk/meta2deps.sh \ + $(SOURCE_DIR)/mk/mk-files.txt \ + $(SOURCE_DIR)/mk/mkopt.sh \ + $(SOURCE_DIR)/mk/nls.mk \ + $(SOURCE_DIR)/mk/obj.mk \ + $(SOURCE_DIR)/mk/options.mk \ + $(SOURCE_DIR)/mk/own.mk \ + $(SOURCE_DIR)/mk/prlist.mk \ + $(SOURCE_DIR)/mk/prog.mk \ + $(SOURCE_DIR)/mk/progs.mk \ + $(SOURCE_DIR)/mk/rst2htm.mk \ + $(SOURCE_DIR)/mk/scripts.mk \ + $(SOURCE_DIR)/mk/srctop.mk \ + $(SOURCE_DIR)/mk/stage-install.sh \ + $(SOURCE_DIR)/mk/subdir.mk \ + $(SOURCE_DIR)/mk/sys.clean-env.mk \ + $(SOURCE_DIR)/mk/sys.debug.mk \ + $(SOURCE_DIR)/mk/sys.dependfile.mk \ + $(SOURCE_DIR)/mk/sys.mk \ + $(SOURCE_DIR)/mk/sys.vars.mk \ + $(SOURCE_DIR)/mk/target-flags.mk \ + $(SOURCE_DIR)/mk/warnings.mk \ + $(SOURCE_DIR)/mk/whats.mk \ + $(SOURCE_DIR)/mk/yacc.mk \ + +MK_SYS_FILES = \ + $(SOURCE_DIR)/mk/sys/AIX.mk \ + $(SOURCE_DIR)/mk/sys/Darwin.mk \ + $(SOURCE_DIR)/mk/sys/Generic.mk \ + $(SOURCE_DIR)/mk/sys/HP-UX.mk \ + $(SOURCE_DIR)/mk/sys/IRIX.mk \ + $(SOURCE_DIR)/mk/sys/Linux.mk \ + $(SOURCE_DIR)/mk/sys/NetBSD.mk \ + $(SOURCE_DIR)/mk/sys/OSF1.mk \ + $(SOURCE_DIR)/mk/sys/OpenBSD.mk \ + $(SOURCE_DIR)/mk/sys/SunOS.mk \ + $(SOURCE_DIR)/mk/sys/UnixWare.mk \ + +install-mk: + mkdir -p $(SYS_MK_DIR) $(SYS_MK_DIR)/sys + cp -p $(MK_FILES) $(SYS_MK_DIR) + cp -p $(MK_SYS_FILES) $(SYS_MK_DIR)/sys + +install: install-mk |