make vfs & filesystems use failable copying
[minix3.git] / lib / libsys / Makefile
blob8365dba133b08caa199d4b74e685d4f59b4294da
1 NOGCCERROR=yes
2 NOCLANGERROR=yes
4 # Makefile for libsys
5 .include <bsd.own.mk>
7 LIB= sys
9 CFLAGS+= -fno-builtin
11 .include "arch/${MACHINE_ARCH}/Makefile.inc"
13 SRCS+= \
14 alloc_util.c \
15 assert.c \
16 asynsend.c \
17 checkperms.c \
18 copyfd.c \
19 ds.c \
20 env_get_prm.c \
21 env_panic.c \
22 env_parse.c \
23 env_prefix.c \
24 fkey_ctl.c \
25 getepinfo.c \
26 getprocnr.c \
27 getticks.c \
28 getsysinfo.c \
29 getuptime.c \
30 kernel_call.c \
31 kprintf.c \
32 kputc.c \
33 kputs.c \
34 mapdriver.c \
35 optset.c \
36 panic.c \
37 safecopies.c \
38 sched_start.c \
39 sched_stop.c \
40 sef.c \
41 sef_init.c \
42 sef_liveupdate.c \
43 sef_ping.c \
44 sef_signal.c \
45 sqrt_approx.c \
46 srv_fork.c \
47 srv_kill.c \
48 stacktrace.c \
49 sys_abort.c \
50 sys_clear.c \
51 sys_cprof.c \
52 sys_diagctl.c \
53 sys_endsig.c \
54 sys_exec.c \
55 sys_exit.c \
56 sys_fork.c \
57 sys_getinfo.c \
58 sys_getsig.c \
59 sys_hz.c \
60 sys_irqctl.c \
61 sys_kill.c \
62 sys_mcontext.c \
63 sys_memset.c \
64 sys_padconf.c \
65 sys_physcopy.c \
66 sys_privctl.c \
67 sys_profbuf.c \
68 sys_runctl.c \
69 sys_safecopy.c \
70 sys_safememset.c \
71 sys_schedctl.c \
72 sys_schedule.c \
73 sys_setalarm.c \
74 sys_setgrant.c \
75 sys_settime.c \
76 sys_sigreturn.c \
77 sys_sigsend.c \
78 sys_sprof.c \
79 sys_statectl.c \
80 sys_stime.c \
81 sys_times.c \
82 sys_trace.c \
83 sys_umap.c \
84 sys_update.c \
85 sys_vircopy.c \
86 sys_vmctl.c \
87 sys_vsafecopy.c \
88 sys_vtimer.c \
89 sys_vumap.c \
90 taskcall.c \
91 tickdelay.c \
92 timers.c \
93 vm_cache.c \
94 vm_exit.c \
95 vm_fork.c \
96 vm_info.c \
97 vm_map_phys.c \
98 vm_memctl.c \
99 vm_notify_sig.c \
100 vm_procctl.c \
101 vm_query_exit.c \
102 vm_set_priv.c \
103 vm_update.c
105 .if ${MKPCI} != "no"
106 SRCS+= pci_attr_r16.c \
107 pci_attr_r32.c \
108 pci_attr_r8.c \
109 pci_attr_w16.c \
110 pci_attr_w32.c \
111 pci_attr_w8.c \
112 pci_del_acl.c \
113 pci_dev_name.c \
114 pci_find_dev.c \
115 pci_first_dev.c \
116 pci_get_bar.c \
117 pci_ids.c \
118 pci_init.c \
119 pci_next_dev.c \
120 pci_rescan_bus.c \
121 pci_reserve.c \
122 pci_set_acl.c \
123 pci_slot_name.c
124 .endif
126 .if ${MKCOVERAGE} != "no"
127 SRCS+= gcov.c \
128 sef_gcov.c
129 CPPFLAGS+= -DUSE_COVERAGE
130 .endif
132 .if ${USE_LIVEUPDATE} != "no"
133 CPPFLAGS+= -DUSE_LIVEUPDATE
134 .endif
136 .if ${USE_SYSDEBUG} != "no"
137 CPPFLAGS+= -DUSE_SYSDEBUG
138 .endif
140 CPPFLAGS.sched_start.c+= -I${NETBSDSRCDIR}
142 .include <bsd.lib.mk>