vm: remove stack handling for signals
[minix3.git] / lib / libsys / Makefile
blob881596a5ebe6e8d344ca822a12d20b437e4b3027
1 # Makefile for libsys
2 .include <bsd.own.mk>
4 LIB= sys
6 SRCS= \
7 alloc_util.c \
8 assert.c \
9 asynsend.c \
10 ds.c \
11 env_get_prm.c \
12 env_panic.c \
13 env_parse.c \
14 env_prefix.c \
15 fkey_ctl.c \
16 getsysinfo.c \
17 getuptime.c \
18 getuptime2.c \
19 input.c \
20 kernel_call.c \
21 kprintf.c \
22 kputc.c \
23 kputs.c \
24 optset.c \
25 panic.c \
26 safecopies.c \
27 sched_start.c \
28 sched_stop.c \
29 sef.c \
30 sef_init.c \
31 sef_liveupdate.c \
32 sef_ping.c \
33 sef_signal.c \
34 sqrt_approx.c \
35 stacktrace.c \
36 sys_abort.c \
37 sys_clear.c \
38 sys_cprof.c \
39 sys_endsig.c \
40 sys_exec.c \
41 sys_exit.c \
42 sys_fork.c \
43 sys_getinfo.c \
44 sys_getsig.c \
45 sys_hz.c \
46 sys_irqctl.c \
47 sys_kill.c \
48 sys_mcontext.c \
49 sys_memset.c \
50 sys_physcopy.c \
51 sys_privctl.c \
52 sys_profbuf.c \
53 sys_runctl.c \
54 sys_safecopy.c \
55 sys_safemap.c \
56 sys_schedctl.c \
57 sys_schedule.c \
58 sys_setalarm.c \
59 sys_setgrant.c \
60 sys_sigreturn.c \
61 sys_sigsend.c \
62 sys_sprof.c \
63 sys_statectl.c \
64 sys_stime.c \
65 sys_sysctl.c \
66 sys_times.c \
67 sys_trace.c \
68 sys_umap.c \
69 sys_update.c \
70 sys_vircopy.c \
71 sys_vmctl.c \
72 sys_vsafecopy.c \
73 sys_vtimer.c \
74 sys_vumap.c \
75 taskcall.c \
76 tickdelay.c \
77 timers.c \
78 vm_brk.c \
79 vm_dmacalls.c \
80 vm_exit.c \
81 vm_fork.c \
82 vm_info.c \
83 vm_map_phys.c \
84 vm_notify_sig.c \
85 vm_umap.c \
86 vm_yield_get_block.c \
87 vm_procctl.c \
88 vprintf.c
90 .if ${MACHINE_ARCH} == "i386"
91 SRCS+= \
92 get_randomness.c \
93 getidle.c \
94 profile.c \
95 profile_extern.c \
96 ser_putc.c \
97 spin.c \
98 sys_eniop.c \
99 sys_in.c \
100 sys_int86.c \
101 sys_out.c \
102 sys_readbios.c \
103 sys_sdevio.c \
104 sys_umap_remote.c \
105 sys_vinb.c \
106 sys_vinl.c \
107 sys_vinw.c \
108 sys_voutb.c \
109 sys_voutl.c \
110 sys_voutw.c \
111 timing.c \
112 tsc_util.c \
113 vbox.c
114 .endif
116 .if ${MKPCI} != "no"
117 SRCS+= pci_attr_r16.c \
118 pci_attr_r32.c \
119 pci_attr_r8.c \
120 pci_attr_w16.c \
121 pci_attr_w32.c \
122 pci_attr_w8.c \
123 pci_del_acl.c \
124 pci_dev_name.c \
125 pci_find_dev.c \
126 pci_first_dev.c \
127 pci_get_bar.c \
128 pci_ids.c \
129 pci_init.c \
130 pci_next_dev.c \
131 pci_rescan_bus.c \
132 pci_reserve.c \
133 pci_set_acl.c \
134 pci_slot_name.c
135 .endif
137 .if ${MKCOVERAGE} != "no"
138 SRCS+= gcov.c \
139 sef_gcov.c
140 CPPFLAGS+= -DUSE_COVERAGE
141 .endif
143 .if ${USE_LIVEUPDATE} != "no"
144 CPPFLAGS+= -DUSE_LIVEUPDATE
145 .endif
147 .if ${USE_SYSDEBUG} != "no"
148 CPPFLAGS+= -DUSE_SYSDEBUG
149 .endif
151 CPPFLAGS.sched_start.c+= -I${NETBSDSRCDIR}
153 .if (${CC} == "gcc") || (${CC} == "clang")
154 LDADD+= -lminc
155 .endif
157 .include <bsd.lib.mk>