Debian Codegraph @

libmachdev/Makefile

raw
1 # Copyright (C) 2009 Free Software Foundation, Inc.
2 # This file is part of the GNU Hurd.
3 #
4 # The GNU Hurd is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
7 # any later version.
8 #
9 # The GNU Hurd is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with the GNU Hurd; see the file COPYING. If not, write to
16 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 dir := libmachdev
19 makemode := library
20 libname = libmachdev
21
22 SRCS = ds_routines.c trivfs_server.c startup_notifyServer.c \
23 deviceServer.c mach_i386Server.c
24
25 LCLHDRS = machdev.h machdev-device_emul.h machdev-dev_hdr.h mach_device.h trivfs_server.h
26 installhdrs = machdev.h machdev-device_emul.h machdev-dev_hdr.h
27 HURDLIBS = ports trivfs
28 LDLIBS += -lpthread -lmachuser
29 OBJS = $(SRCS:.c=.o) $(MIGSTUBS)
30 MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h
31 device-MIGSFLAGS=-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name -DDEVICE_ENABLE_DEVICE_OPEN_NEW
32 mach_i386-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name" \
33 "-DMACH_I386_IMPORTS=import \"$(srcdir)/../libports/ports.h\";"
34
35 include ../Makeconf