diff options
author | Zheng Da <zhengda1936@gmail.com> | 2009-11-17 10:38:35 +0100 |
---|---|---|
committer | Zheng Da <zhengda1936@gmail.com> | 2009-11-17 10:38:35 +0100 |
commit | 4ab9cd3868caba54bda4c5e1b8b3f79880c1dcd6 (patch) | |
tree | 47fa23a9c206c22c04d8c56596c285e6976d7499 /libddekit | |
parent | 9290f1fe99c91ba6c57dec956ff73d1741d81b45 (diff) |
Adapt Makefile to compile DDEKit in Hurd.
Diffstat (limited to 'libddekit')
-rw-r--r-- | libddekit/Makefile | 50 |
1 files changed, 43 insertions, 7 deletions
diff --git a/libddekit/Makefile b/libddekit/Makefile index 67d58733..0f4fa552 100644 --- a/libddekit/Makefile +++ b/libddekit/Makefile @@ -1,9 +1,45 @@ -PKGDIR ?= .. -L4DIR ?= $(PKGDIR)/../.. +# +# Copyright (C) 2009 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# 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 +dir := libddekit +makemode := library + +libname = libddekit +SRCS= condvar.c init.c initcall.c interrupt.c lock.c malloc.c memory.c \ + panic.c pci.c pgtab-old.c pgtab.c printf.c resources.c semaphore.c \ + thread.c timer.c +LCLHDRS = include/ddekit/condvar.h include/ddekit/lock.h \ + include/ddekit/initcall.h include/ddekit/debug.h \ + include/ddekit/inline.h include/ddekit/panic.h \ + include/ddekit/thread.h include/ddekit/types.h \ + include/ddekit/pgtab.h include/ddekit/printf.h \ + include/ddekit/pci.h include/ddekit/assert.h \ + include/ddekit/interrupt.h include/ddekit/resources.h \ + include/ddekit/memory.h include/ddekit/timer.h \ + include/ddekit/semaphore.h include/dde.h \ + config.h +installhdrs = + +MIGSTUBS = +OBJS = $(sort $(SRCS:.c=.o) $(MIGSTUBS)) + +HURDLIBS = threads ports + +MIGCOMSFLAGS = -prefix dde_ + +include ../Makeconf -include $(L4DIR)/mk/subdir.mk |