summaryrefslogtreecommitdiff
path: root/mach-defpager/Makefile
blob: 4f987fae49e0f1260d382d33acde122a7e9b5cb5 (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
# Makefile for mach-defpager subdirectory of hurd sources
#
#   Copyright (C) 1999, 2000, 2002, 2007, 2010, 2012 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 this program; if not, write to the Free Software
#   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

dir	:= mach-defpager
makemode:= server
target	:= mach-defpager

SRCS	:= default_pager.c kalloc.c wiring.c main.c setup.c
OBJS 	:= $(SRCS:.c=.o) \
	   $(addsuffix Server.o,\
		       memory_object default_pager memory_object_default exc) \
	   default_pager_replyUser.o

HURDLIBS:= ihash
OTHERLIBS:= -lpthread
LDFLAGS += -static

include ../Makeconf

MIGSFLAGS = -DSEQNOS -imacros $(srcdir)/mig-mutate.h -DHURD_DEFAULT_PAYLOAD_TO_PORT=1