l4re-base-25.08.0

This commit is contained in:
2025-09-12 15:55:45 +02:00
commit d959eaab98
37938 changed files with 9382688 additions and 0 deletions

3
src/l4/mk/tmpl/Control Normal file
View File

@@ -0,0 +1,3 @@
requires: xyz
provides: abc
maintainer: your@email.example.com

9
src/l4/mk/tmpl/Makefile Normal file
View File

@@ -0,0 +1,9 @@
PKGDIR ?= .
L4DIR ?= $(PKGDIR)/../..
# the default is to build the listed directories, provided that they
# contain a Makefile. If you need to change this, uncomment the following
# line and adapt it.
# TARGET = include src lib server examples doc
include $(L4DIR)/mk/subdir.mk

View File

@@ -0,0 +1,8 @@
PKGDIR ?= ..
L4DIR ?= $(PKGDIR)/../..
# create examples demonstrating the use of your package in subdirectories
# and list those subdirs in the TARGET variable.
TARGET =
include $(L4DIR)/mk/subdir.mk

View File

@@ -0,0 +1,9 @@
PKGDIR ?= ..
L4DIR ?= $(PKGDIR)/../..
# All header files found in this directory tree will be automatically
# installed in a way that they can be included with
# #include <l4/pkgname/yourfile.h> later.
# No need to list them in this Makefile.
include $(L4DIR)/mk/include.mk

8
src/l4/mk/tmpl/inst Executable file
View File

@@ -0,0 +1,8 @@
#! /bin/sh
# install default directory hierarchy and default Makefiles
#
# Call this script from a newly created package directory.
set -e
tar c -C "${0%/*}" -f- --exclude=.svn --exclude=inst . | tar xvf -

View File

@@ -0,0 +1,9 @@
PKGDIR ?= ..
L4DIR ?= $(PKGDIR)/../..
# the default is to build the listed directories, provided that they
# contain a Makefile. If you need to change this, uncomment the following
# line and adapt it.
# TARGET = src
include $(L4DIR)/mk/subdir.mk

View File

@@ -0,0 +1,11 @@
PKGDIR?= ../..
L4DIR ?= $(PKGDIR)/../..
# the name of your library
TARGET = lib$(PKGNAME).a
# list your .c or .cc files here
SRC_C =
SRC_CC =
include $(L4DIR)/mk/lib.mk

View File

@@ -0,0 +1,9 @@
PKGDIR ?= ..
L4DIR ?= $(PKGDIR)/../..
# the default is to build the listed directories, provided that they
# contain a Makefile. If you need to change this, uncomment the following
# line and adapt it.
# TARGET = src
include $(L4DIR)/mk/subdir.mk

View File

@@ -0,0 +1,13 @@
PKGDIR ?= ../..
L4DIR ?= $(PKGDIR)/../..
TARGET = $(PKGNAME)
# list your .c or .cc files here
SRC_C = main.c
SRC_CC =
# list requirements of your program here
REQUIRES_LIBS =
include $(L4DIR)/mk/prog.mk

View File

@@ -0,0 +1,5 @@
int main(int argc, char **argv)
{
return 0;
}