diff options
Diffstat (limited to 'libdde_linux26/mk/tmpl')
-rw-r--r-- | libdde_linux26/mk/tmpl/MAINTAINER | 1 | ||||
-rw-r--r-- | libdde_linux26/mk/tmpl/Makefile | 9 | ||||
-rw-r--r-- | libdde_linux26/mk/tmpl/examples/Makefile | 10 | ||||
-rw-r--r-- | libdde_linux26/mk/tmpl/idl/Makefile | 13 | ||||
-rw-r--r-- | libdde_linux26/mk/tmpl/include/Makefile | 9 | ||||
-rwxr-xr-x | libdde_linux26/mk/tmpl/inst | 8 | ||||
-rw-r--r-- | libdde_linux26/mk/tmpl/lib/Makefile | 9 | ||||
-rw-r--r-- | libdde_linux26/mk/tmpl/lib/src/Makefile | 14 | ||||
-rw-r--r-- | libdde_linux26/mk/tmpl/ptest/Makefile | 6 | ||||
-rw-r--r-- | libdde_linux26/mk/tmpl/ptest/run/Makefile | 10 | ||||
-rw-r--r-- | libdde_linux26/mk/tmpl/server/Makefile | 9 | ||||
-rw-r--r-- | libdde_linux26/mk/tmpl/server/src/Makefile | 18 | ||||
-rw-r--r-- | libdde_linux26/mk/tmpl/server/src/main.c | 5 |
13 files changed, 121 insertions, 0 deletions
diff --git a/libdde_linux26/mk/tmpl/MAINTAINER b/libdde_linux26/mk/tmpl/MAINTAINER new file mode 100644 index 00000000..85eb7179 --- /dev/null +++ b/libdde_linux26/mk/tmpl/MAINTAINER @@ -0,0 +1 @@ +mailaddr <enter your mail address here> diff --git a/libdde_linux26/mk/tmpl/Makefile b/libdde_linux26/mk/tmpl/Makefile new file mode 100644 index 00000000..eb46c32a --- /dev/null +++ b/libdde_linux26/mk/tmpl/Makefile @@ -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 = idl include src lib server examples doc + +include $(L4DIR)/mk/subdir.mk diff --git a/libdde_linux26/mk/tmpl/examples/Makefile b/libdde_linux26/mk/tmpl/examples/Makefile new file mode 100644 index 00000000..065f6d87 --- /dev/null +++ b/libdde_linux26/mk/tmpl/examples/Makefile @@ -0,0 +1,10 @@ +PKGDIR ?= .. +L4DIR ?= $(PKGDIR)/../.. + +# create examples demonstrating the use of you package in subdirectories +# and list those subdirs in the TARGET variable. +TARGET = + +include $(L4DIR)/mk/subdir.mk + + diff --git a/libdde_linux26/mk/tmpl/idl/Makefile b/libdde_linux26/mk/tmpl/idl/Makefile new file mode 100644 index 00000000..902a1714 --- /dev/null +++ b/libdde_linux26/mk/tmpl/idl/Makefile @@ -0,0 +1,13 @@ +# +# makefile for package IDL directory +# + +PKGDIR ?= .. +L4DIR ?= $(PKGDIR)/../.. + +# create an idl file an assign its name to IDL +IDL = +# the default idl type is DCE/dice. Uncomment the next line to change this. +# IDL_TYPE= <your choice> + +include $(L4DIR)/mk/idl.mk diff --git a/libdde_linux26/mk/tmpl/include/Makefile b/libdde_linux26/mk/tmpl/include/Makefile new file mode 100644 index 00000000..8d31023f --- /dev/null +++ b/libdde_linux26/mk/tmpl/include/Makefile @@ -0,0 +1,9 @@ +PKGDIR ?= .. +L4DIR ?= $(PKGDIR)/../.. + +# All haeder 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 diff --git a/libdde_linux26/mk/tmpl/inst b/libdde_linux26/mk/tmpl/inst new file mode 100755 index 00000000..5e553544 --- /dev/null +++ b/libdde_linux26/mk/tmpl/inst @@ -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 - diff --git a/libdde_linux26/mk/tmpl/lib/Makefile b/libdde_linux26/mk/tmpl/lib/Makefile new file mode 100644 index 00000000..67d58733 --- /dev/null +++ b/libdde_linux26/mk/tmpl/lib/Makefile @@ -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 = idl src lib server examples doc + +include $(L4DIR)/mk/subdir.mk diff --git a/libdde_linux26/mk/tmpl/lib/src/Makefile b/libdde_linux26/mk/tmpl/lib/src/Makefile new file mode 100644 index 00000000..dfa73716 --- /dev/null +++ b/libdde_linux26/mk/tmpl/lib/src/Makefile @@ -0,0 +1,14 @@ +PKGDIR?= ../.. +L4DIR ?= $(PKGDIR)/../.. + +# the name of your library +TARGET = lib$(PKGNAME).a + +# list your .c files here +SRC_C = + +# if your library implements the client side of an idl defined in an +# idl-file of your package, list the idl file name(s) here (no path needed) +CLIENTIDL = + +include $(L4DIR)/mk/lib.mk diff --git a/libdde_linux26/mk/tmpl/ptest/Makefile b/libdde_linux26/mk/tmpl/ptest/Makefile new file mode 100644 index 00000000..2fc7ed3b --- /dev/null +++ b/libdde_linux26/mk/tmpl/ptest/Makefile @@ -0,0 +1,6 @@ +PKGDIR ?= .. +L4DIR ?= $(PKGDIR)/../.. + +TARGET = run + +include $(L4DIR)/mk/subdir.mk diff --git a/libdde_linux26/mk/tmpl/ptest/run/Makefile b/libdde_linux26/mk/tmpl/ptest/run/Makefile new file mode 100644 index 00000000..321601f0 --- /dev/null +++ b/libdde_linux26/mk/tmpl/ptest/run/Makefile @@ -0,0 +1,10 @@ +PKGDIR ?= ../.. +L4DIR ?= $(PKGDIR)/../.. + +# insert the binary name of the server to test +TEST_SERVER = + +# insert the binary name of the application testing the server +TEST_CLIENT = + +include $(L4DIR)/mk/runux.mk diff --git a/libdde_linux26/mk/tmpl/server/Makefile b/libdde_linux26/mk/tmpl/server/Makefile new file mode 100644 index 00000000..67d58733 --- /dev/null +++ b/libdde_linux26/mk/tmpl/server/Makefile @@ -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 = idl src lib server examples doc + +include $(L4DIR)/mk/subdir.mk diff --git a/libdde_linux26/mk/tmpl/server/src/Makefile b/libdde_linux26/mk/tmpl/server/src/Makefile new file mode 100644 index 00000000..8b0c2471 --- /dev/null +++ b/libdde_linux26/mk/tmpl/server/src/Makefile @@ -0,0 +1,18 @@ +PKGDIR ?= ../.. +L4DIR ?= $(PKGDIR)/../.. + +TARGET = $(PKGNAME) +# the default relocation address. This may be superseded by a STATIC file. +DEFAULT_RELOC = 0x01800000 + +# list your .c files here +SRC_C = main.c + +# if your server implements the server side of an idl defined in an idl-file +# of your package, list the idl file name(s) here (no path needed) +SERVERIDL = + +# list additional library paths and libraries here +LIBS = + +include $(L4DIR)/mk/prog.mk diff --git a/libdde_linux26/mk/tmpl/server/src/main.c b/libdde_linux26/mk/tmpl/server/src/main.c new file mode 100644 index 00000000..65eddcf8 --- /dev/null +++ b/libdde_linux26/mk/tmpl/server/src/main.c @@ -0,0 +1,5 @@ + +int main(int argc, char **argv) +{ + return 0; +} |