diff options
author | Zheng Da <zhengda1936@gmail.com> | 2020-03-29 22:32:44 +1100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-03-29 22:10:19 +0000 |
commit | 47682aaf93b85b3d00fad5426cf9c5a1c7f610ea (patch) | |
tree | 007b1b7991c146580c00d8212a4278cbccab3e23 /libmachdev/Makefile | |
parent | db69a5281b23003af71068e494a20dc4f3a047aa (diff) | |
download | hurd-47682aaf93b85b3d00fad5426cf9c5a1c7f610ea.tar.gz hurd-47682aaf93b85b3d00fad5426cf9c5a1c7f610ea.tar.bz2 hurd-47682aaf93b85b3d00fad5426cf9c5a1c7f610ea.zip |
libmachdev: Add common machdev
* libmachdev: New directory.
Diffstat (limited to 'libmachdev/Makefile')
-rw-r--r-- | libmachdev/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libmachdev/Makefile b/libmachdev/Makefile new file mode 100644 index 00000000..08479a3e --- /dev/null +++ b/libmachdev/Makefile @@ -0,0 +1,33 @@ +# Copyright (C) 2009 Free Software Foundation, Inc. +# This file is part of the GNU Hurd. +# +# The GNU Hurd 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. +# +# The GNU Hurd 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 the GNU Hurd; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +dir := libmachdev +makemode := library +libname = libmachdev + +SRCS = deviceUser.c machUser.c ds_routines.c trivfs_server.c \ + device_replyUser.c deviceServer.c notifyServer.c + +LCLHDRS = machdev.h machdev-device_emul.h machdev-dev_hdr.h +installhdrs = machdev.h machdev-device_emul.h +HURDLIBS = ports trivfs +LDLIBS += -lpthread +OBJS = $(SRCS:.c=.o) $(MIGSTUBS) +MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h +device-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name" + +include ../Makeconf |