summaryrefslogtreecommitdiff
path: root/mach-defpager/Makefile
blob: ef59ed1fc52d110965102ba89a1e941d66c9362e (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
# Makefile for mach-defpager subdirectory of hurd sources
#
#   Copyright (C) 1999,2000 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 def_pager_setup.c \
	   kalloc.c wiring.c main.c \
	   file_io.c strfcns.c \
	   ext2_file_io.c ffs_file_io.c ffs_compat.c \
	   minix_file_io.c minix_ffs_compat.c

OBJS = $(SRCS:.c=.o) \
       $(addsuffix Server.o,memory_object default_pager memory_object_default \
                            exc bootstrap)

HURDLIBS:= threads
LDFLAGS += -static

include ../Makeconf

vpath %.c $(srcdir)/../serverboot
CPPFLAGS += -I$(srcdir)/../serverboot

MIGSFLAGS = -DSEQNOS

# Don't even bother.
CFLAGS := $(filter-out -Wall,$(CFLAGS))