| 1 |
# Makefile for rtc server |
| 2 |
# |
| 3 |
# Copyright (C) 2024 Free Software Foundation, Inc. |
| 4 |
# |
| 5 |
# This file is part of the GNU Hurd. |
| 6 |
# |
| 7 |
# The GNU Hurd is free software; you can redistribute it and/or |
| 8 |
# modify it under the terms of the GNU General Public License as |
| 9 |
# published by the Free Software Foundation; either version 2, or (at |
| 10 |
# your option) any later version. |
| 11 |
# |
| 12 |
# The GNU Hurd is distributed in the hope that it will be useful, but |
| 13 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 |
# General Public License for more details. |
| 16 |
# |
| 17 |
# You should have received a copy of the GNU General Public License |
| 18 |
# along with this program; if not, write to the Free Software |
| 19 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ |
| 20 |
|
| 21 |
dir := rtc |
| 22 |
makemode := server |
| 23 |
|
| 24 |
SRCS = main.c rtc-cmos_pioctl-ops.c |
| 25 |
MIGSRCS = pioctlServer.c |
| 26 |
|
| 27 |
OBJS = main.o pioctlServer.o rtc-cmos_pioctl-ops.o |
| 28 |
|
| 29 |
HURDLIBS = trivfs shouldbeinlibc ports |
| 30 |
|
| 31 |
target = rtc |
| 32 |
|
| 33 |
include ../Makeconf |
| 34 |
|
| 35 |
MIGCOMSFLAGS += -prefix rtc_ |
| 36 |
mig-sheader-prefix = rtc_ |
| 37 |
pioctl-MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h |
| 38 |
|
| 39 |
rtc_pioctl_S.h pioctlServer.c: mig-mutate.h |