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