summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-05-23 17:38:35 +0000
committermidipix <writeonce@midipix.org>2021-05-23 17:38:35 +0000
commit1ebc7542ce4b0431a6057b89814d1d3bfcec3916 (patch)
treef13ecdd515d131aeb3f0ac8d4c04ad5fdb90d70b
parentdd765ee64c44ebf93edbee4dcd5339a253cac1a6 (diff)
downloadsbmake-1ebc7542ce4b0431a6057b89814d1d3bfcec3916.tar.bz2
sbmake-1ebc7542ce4b0431a6057b89814d1d3bfcec3916.tar.xz
project: provide the ultimate bootstrapping experience.
-rw-r--r--config.project2
-rw-r--r--project/config/Makefile.in122
2 files changed, 123 insertions, 1 deletions
diff --git a/config.project b/config.project
index f10d8b3..a41eefd 100644
--- a/config.project
+++ b/config.project
@@ -20,7 +20,7 @@ mb_use_custom_cfgtest=no
# advanced make options
mb_make=true
-mb_makefile=
+mb_makefile=Makefile.common
mb_makemode=posix
# pkgconfig
diff --git a/project/config/Makefile.in b/project/config/Makefile.in
new file mode 100644
index 0000000..5d70bf7
--- /dev/null
+++ b/project/config/Makefile.in
@@ -0,0 +1,122 @@
+# Makefile.in: makefile wrapper template for bootstrapping projects.
+# this file is covered by COPYING.SBMAKE.
+
+.POSIX:
+
+.SUFFIXES:
+
+
+MAKE = @make@
+MAKEFILE = @makefile@
+
+
+all:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) all
+
+app:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) app
+
+app-objs:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) app-objs
+
+app.tag:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) app.tag
+
+.cflags-host:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) .cflags-host
+
+.cflags-native:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) .cflags-native
+
+clean:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) clean
+
+default-app:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) default-app
+
+dirs:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) dirs
+
+dirs.tag:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) dirs.tag
+
+distclean:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) distclean
+
+host.tag:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) host.tag
+
+install:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) DESTDIR=$(DESTDIR) install
+
+install-app:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) DESTDIR=$(DESTDIR) install-app
+
+install-app-extras:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) DESTDIR=$(DESTDIR) install-app-extras
+
+install-extras:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) DESTDIR=$(DESTDIR) install-extras
+
+install-headers-default:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) DESTDIR=$(DESTDIR) install-headers-default
+
+install-lib:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) DESTDIR=$(DESTDIR) install-lib
+
+install-libs:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) DESTDIR=$(DESTDIR) install-libs
+
+install-shared:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) DESTDIR=$(DESTDIR) install-shared
+
+install-static:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) DESTDIR=$(DESTDIR) install-static
+
+install-static-app:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) DESTDIR=$(DESTDIR) install-static-app
+
+shared:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) shared
+
+shared-app:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) shared-app
+
+shared-lib:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) shared-lib
+
+shared-objs:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) shared-objs
+
+shared-solink:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) shared-solink
+
+shared-soname:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) shared-soname
+
+static:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) static
+
+static-app:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) static-app
+
+static-lib:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) static-lib
+
+static-objs:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) static-objs
+
+version.tag:
+ MAKEFLAGS= $(MAKE) -f $(MAKEFILE) version.tag
+
+
+.PHONY: all app app-objs \
+ .cflags-host .cflags-native \
+ clean default-app dirs distclean \
+ install install-app install-app-extras \
+ install-extras install-headers-default \
+ install-lib install-libs install-shared \
+ install-static install-static-app \
+ shared shared-app shared-lib shared-objs \
+ shared-solink shared-soname \
+ static static-app static-lib static-objs