Remove building with NOCRYPTO option
[minix.git] / minix / lib / libsys / Makefile
blobbff698453454b116a5f1382d1c3147a00a41d6e2
1 # Makefile for libsys
2 .include <bsd.own.mk>
4 CPPFLAGS+= -D_MINIX_SYSTEM -D_SYSTEM
6 LIB= sys
8 CFLAGS+= -fno-builtin
10 .include "arch/${MACHINE_ARCH}/Makefile.inc"
12 SRCS+= \
13 alloc_util.c \
14 assert.c \
15 asynsend.c \
16 clock_time.c \
17 closenb.c \
18 copyfd.c \
19 cpuavg.c \
20 ds.c \
21 env_get_prm.c \
22 env_panic.c \
23 env_parse.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 proceventmask.c \
38 rmib.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_llvm.c \
47 sef_ping.c \
48 sef_signal.c \
49 sef_st.c \
50 socketpath.c \
51 sqrt_approx.c \
52 srv_fork.c \
53 srv_kill.c \
54 stacktrace.c \
55 sys_abort.c \
56 sys_clear.c \
57 sys_diagctl.c \
58 sys_endsig.c \
59 sys_exec.c \
60 sys_exit.c \
61 sys_fork.c \
62 sys_getinfo.c \
63 sys_getsig.c \
64 sys_hz.c \
65 sys_irqctl.c \
66 sys_kill.c \
67 sys_mcontext.c \
68 sys_memset.c \
69 sys_padconf.c \
70 sys_physcopy.c \
71 sys_privctl.c \
72 sys_runctl.c \
73 sys_safecopy.c \
74 sys_safememset.c \
75 sys_schedctl.c \
76 sys_schedule.c \
77 sys_setalarm.c \
78 sys_setgrant.c \
79 sys_settime.c \
80 sys_sigreturn.c \
81 sys_sigsend.c \
82 sys_sprof.c \
83 sys_statectl.c \
84 sys_stime.c \
85 sys_times.c \
86 sys_trace.c \
87 sys_umap.c \
88 sys_update.c \
89 sys_vircopy.c \
90 sys_vmctl.c \
91 sys_vsafecopy.c \
92 sys_vtimer.c \
93 sys_vumap.c \
94 taskcall.c \
95 tickdelay.c \
96 timers.c \
97 vm_cache.c \
98 vm_exit.c \
99 vm_fork.c \
100 vm_getrusage.c \
101 vm_info.c \
102 vm_map_phys.c \
103 vm_memctl.c \
104 vm_prepare.c \
105 vm_procctl.c \
106 vm_set_priv.c \
107 vm_update.c
109 .if ${MKPCI} != "no"
110 SRCS+= pci_attr_r16.c \
111 pci_attr_r32.c \
112 pci_attr_r8.c \
113 pci_attr_w16.c \
114 pci_attr_w32.c \
115 pci_attr_w8.c \
116 pci_del_acl.c \
117 pci_dev_name.c \
118 pci_find_dev.c \
119 pci_first_dev.c \
120 pci_get_bar.c \
121 pci_ids.c \
122 pci_init.c \
123 pci_next_dev.c \
124 pci_rescan_bus.c \
125 pci_reserve.c \
126 pci_set_acl.c \
127 pci_slot_name.c
128 .endif
130 .if ${MKCOVERAGE} != "no"
131 SRCS+= gcov.c \
132 sef_gcov.c \
133 llvm_gcov.c
134 CPPFLAGS+= -DUSE_COVERAGE
135 .endif
137 .if ${USE_LIVEUPDATE} != "no"
138 CPPFLAGS+= -DUSE_LIVEUPDATE
139 .endif
141 .if ${USE_SYSDEBUG} != "no"
142 CPPFLAGS+= -DUSE_SYSDEBUG
143 .endif
145 CPPFLAGS.sched_start.c+= -I${NETBSDSRCDIR}/minix
146 CPPFLAGS.sef_st.c+= -I${NETBSDSRCDIR}/minix
148 .include <bsd.lib.mk>