2 # Makefile for the kernel character device drivers.
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
8 # Note 2! The CFLAGS definitions are now inherited from the
19 OBJS
= tty_io.o console.o keyboard.o serial.o \
20 tty_ioctl.o pty.o vt.o mem.o \
23 SRCS
= tty_io.c console.c keyboard.c serial.c \
24 tty_ioctl.c pty.c vt.c mem.c \
28 ifdef CONFIG_ATIXL_BUSMOUSE
30 OBJS
:= $(OBJS
) atixlmouse.o
31 SRCS
:= $(SRCS
) atixlmouse.c
36 OBJS
:= $(OBJS
) busmouse.o
37 SRCS
:= $(SRCS
) busmouse.c
45 ifdef CONFIG_MS_BUSMOUSE
47 OBJS
:= $(OBJS
) msbusmouse.o
48 SRCS
:= $(SRCS
) msbusmouse.c
51 ifdef CONFIG_82C710_MOUSE
52 CONFIG_PSMOUSE
= CONFIG_PSMOUSE
57 OBJS
:= $(OBJS
) psaux.o
58 SRCS
:= $(SRCS
) psaux.c
61 ifdef CONFIG_TAPE_QIC02
62 OBJS
:= $(OBJS
) tpqic02.o
63 SRCS
:= $(SRCS
) tpqic02.c
67 OBJS
:= $(OBJS
) mouse.o
68 SRCS
:= $(SRCS
) mouse.c
74 $(AR
) rcs char.a
$(OBJS
)
78 $(CPP
) -M
$(SRCS
) > .depend
83 # include a dependency file if one exists
85 ifeq (.depend
,$(wildcard .depend
))