minix/lib/libsys/Makefile
Ben Gras 35a108b911 panic() cleanup.
this change
   - makes panic() variadic, doing full printf() formatting -
     no more NO_NUM, and no more separate printf() statements
     needed to print extra info (or something in hex) before panicing
   - unifies panic() - same panic() name and usage for everyone -
     vm, kernel and rest have different names/syntax currently
     in order to implement their own luxuries, but no longer
   - throws out the 1st argument, to make source less noisy.
     the panic() in syslib retrieves the server name from the kernel
     so it should be clear enough who is panicing; e.g.
         panic("sigaction failed: %d", errno);
     looks like:
         at_wini(73130): panic: sigaction failed: 0
         syslib:panic.c: stacktrace: 0x74dc 0x2025 0x100a
   - throws out report() - printf() is more convenient and powerful
   - harmonizes/fixes the use of panic() - there were a few places
     that used printf-style formatting (didn't work) and newlines
     (messes up the formatting) in panic()
   - throws out a few per-server panic() functions
   - cleans up a tie-in of tty with panic()

merging printf() and panic() statements to be done incrementally.
2010-03-05 15:05:11 +00:00

117 lines
1.7 KiB
Makefile

# Makefile for libsys
LIB= sys
CPPFLAGS+=-O -D_MINIX -D_POSIX_SOURCE
SRCS= \
alloc_util.c \
assert.c \
kernel_call.c \
panic.c \
pci_attr_r16.c \
pci_attr_r32.c \
pci_attr_r8.c \
pci_attr_w16.c \
pci_attr_w32.c \
pci_attr_w8.c \
pci_del_acl.c \
pci_dev_name.c \
pci_find_dev.c \
pci_first_dev.c \
pci_ids.c \
pci_init.c \
pci_init1.c \
pci_next_dev.c \
pci_rescan_bus.c \
pci_reserve.c \
pci_set_acl.c \
pci_slot_name.c \
safecopies.c \
sef.c \
sef_liveupdate.c \
sef_ping.c \
sef_init.c \
sys_abort.c \
sys_cprof.c \
sys_endsig.c \
sys_eniop.c \
sys_exec.c \
sys_exit.c \
sys_fork.c \
sys_getinfo.c \
sys_getsig.c \
sys_in.c \
sys_int86.c \
sys_irqctl.c \
sys_kill.c \
sys_memset.c \
sys_newmap.c \
sys_nice.c \
sys_out.c \
sys_physcopy.c \
sys_readbios.c \
sys_runctl.c \
sys_safecopy.c \
sys_safemap.c \
sys_sysctl.c \
sys_vsafecopy.c \
sys_profbuf.c \
sys_sdevio.c \
sys_segctl.c \
sys_setalarm.c \
sys_sigreturn.c \
sys_sigsend.c \
sys_privctl.c \
sys_setgrant.c \
sys_sprof.c \
sys_stime.c \
sys_times.c \
sys_trace.c \
sys_umap.c \
sys_vinb.c \
sys_vinl.c \
sys_vinw.c \
sys_vircopy.c \
sys_vmctl.c \
sys_voutb.c \
sys_voutl.c \
sys_voutw.c \
sys_vtimer.c \
taskcall.c \
ds.c \
vm_brk.c \
vm_exec_newmem.c \
vm_exit.c \
vm_notify_sig.c \
vm_fork.c \
vm_info.c \
vm_map_phys.c \
vm_umap.c \
vm_push_sig.c \
asynsend.c \
kprintf.c \
kputc.c \
tickdelay.c \
get_randomness.c \
getidle.c \
getuptime.c \
getuptime2.c \
env_get_prm.c \
env_parse.c \
env_panic.c \
env_prefix.c \
fkey_ctl.c \
tsc_util.c \
read_tsc.S \
read_tsc_64.c \
ser_putc.c \
stacktrace.c \
sys_hz.c \
timing.c \
profile_extern.c \
profile.c \
vprintf.c
.include <minix.lib.mk>