1 --- dmsdos-0.9.2.2/src/Makefile.orig Fri Oct 22 18:17:28 1999
2 +++ dmsdos-0.9.2.2/src/Makefile Wed Apr 3 14:57:01 2002
4 # guess some special flags for CPU type - used for optimization only
6 ifeq ($(CONFIG_M386),y)
7 -CPUFLAGS= -m386 -DCPU=386 -DUSE_ASM
8 +CPUFLAGS= -DCPU=386 -DUSE_ASM
10 ifeq ($(CONFIG_M486),y)
11 -CPUFLAGS= -m486 -DCPU=486 -DUSE_ASM
12 +CPUFLAGS= -DCPU=486 -DUSE_ASM
14 ifeq ($(CONFIG_M586),y)
15 -CPUFLAGS= -m486 -DCPU=586 -DUSE_ASM
16 +CPUFLAGS= -DCPU=586 -DUSE_ASM
18 # this one is new in 2.2.x kernels...
19 ifeq ($(CONFIG_M586TSC),y)
20 -CPUFLAGS= -m486 -DCPU=586 -DUSE_ASM
21 +CPUFLAGS= -DCPU=586 -DUSE_ASM
23 ifeq ($(CONFIG_M686),y)
24 -CPUFLAGS= -m486 -DCPU=686 -DUSE_ASM
25 +CPUFLAGS= -DCPU=686 -DUSE_ASM
27 # this one is new in 2.3.x kernels...
28 ifeq ($(CONFIG_MK7),y)
29 -CPUFLAGS= -m486 -DCPU=686 -DUSE_ASM
30 +CPUFLAGS= -DCPU=686 -DUSE_ASM
36 # CFLAGS for dmsdos module
37 # note: some macro expansions require at least -O
38 -CFLAGS= -Wall -Wstrict-prototypes -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE
39 +CFLAGS= -Wall -Wstrict-prototypes $(OPT) -fomit-frame-pointer -D__KERNEL__ -DMODULE
42 # The next lines add some stuff automatically for people using modversions
45 # CFLAGS for the dmsdos daemon
46 # note: some macro expansions require at least -O
47 -DCFLAGS= -Wall -O3 -D__DMSDOS_DAEMON__
48 +DCFLAGS= -Wall $(OPT) -D__DMSDOS_DAEMON__
51 # CFLAGS for the dmsdos library
52 # note: some macro expansions require at least -O
53 -LCFLAGS= -Wall -O -ggdb -D__DMSDOS_LIB__ -DUSE_FLOCK
54 +LCFLAGS= -Wall $(OPT) -D__DMSDOS_LIB__ -DUSE_FLOCK
55 LCFLAGS+= $(CPUFLAGS) $(LIBC6FLAGS)
56 # uncomment the next line if you want a shared library