From d7e5eb3faac173e7d9640e098621746b86213739 Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 29 Jan 2000 15:08:56 +0000 Subject: Use config's conditional compilation rather than using #ifdefs that make modular compilation harder. I'm doing this because people seem to like cut/pasting examples of bad practices in existing code. --- sys/modules/vesa/Makefile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'sys/modules/vesa') diff --git a/sys/modules/vesa/Makefile b/sys/modules/vesa/Makefile index 16aa8d0..e2da541 100644 --- a/sys/modules/vesa/Makefile +++ b/sys/modules/vesa/Makefile @@ -2,18 +2,7 @@ .PATH: ${.CURDIR}/../../dev/syscons ${.CURDIR}/../../i386/isa KMOD = vesa -SRCS = vesa.c scvesactl.c sc.h vga.h opt_syscons.h opt_vga.h \ - opt_vesa.h opt_fb.h +SRCS = vesa.c scvesactl.c opt_vga.h NOMAN = -CLEANFILES = sc.h vga.h - -sc.h: - echo "#define NSC 1" > sc.h - -vga.h: - echo "#define NVGA 1" > vga.h - -opt_vesa.h: - echo "#define VESA 1" > opt_vesa.h .include -- cgit v1.1