summaryrefslogtreecommitdiff
path: root/libddekit/Makefile
blob: f2e52f25e8b53b0b335688bf0d9d8ae79c2db61c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
#   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.

dir := libddekit
makemode := library

libname = libddekit
SRCS= condvar.c init.c interrupt.c lock.c memory.c 	\
      pci.c pgtab.c printf.c resources.c list.c \
      thread.c timer.c kmem.c
LCLHDRS = include/ddekit/condvar.h include/ddekit/lock.h	\
	  include/ddekit/semaphore.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/dde.h		\
	  config.h list.h
installhdrs = 

MIGSTUBS = deviceUser.o machUser.o
OBJS = $(sort $(SRCS:.c=.o) $(MIGSTUBS))

HURDLIBS = threads ports shouldbeinlibc

MIGCOMSFLAGS = -prefix dde_

include ../Makeconf

LDFLAGS += -lpciaccess
CFLAGS += -Iinclude