Annotation of linux/kernel/chr_drv/Makefile, revision 1.1.1.4

1.1       root        1: #
1.1.1.4 ! root        2: # Makefile for the kernel character device drivers.
1.1       root        3: #
                      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).
                      7: #
                      8: 
1.1.1.4 ! root        9: # gcc2 doesn't understand this option:
        !            10: #GCC_OPT = -fcombine-regs
        !            11: 
        !            12: AR     =ar
        !            13: AS     =as
        !            14: LD     =ld
1.1       root       15: LDFLAGS        =-s -x
                     16: CC     =gcc
1.1.1.4 ! root       17: CFLAGS =-Wall -O -fstrength-reduce -fomit-frame-pointer $(GCC_OPT) \
        !            18:        -finline-functions -nostdinc -I../../include
1.1       root       19: CPP    =gcc -E -nostdinc -I../../include
                     20: 
                     21: .c.s:
                     22:        $(CC) $(CFLAGS) \
                     23:        -S -o $*.s $<
                     24: .s.o:
                     25:        $(AS) -c -o $*.o $<
                     26: .c.o:
                     27:        $(CC) $(CFLAGS) \
                     28:        -c -o $*.o $<
                     29: 
1.1.1.2   root       30: OBJS  = tty_io.o console.o keyboard.o serial.o rs_io.o \
1.1.1.3   root       31:        tty_ioctl.o pty.o
1.1       root       32: 
                     33: chr_drv.a: $(OBJS)
                     34:        $(AR) rcs chr_drv.a $(OBJS)
                     35:        sync
                     36: 
1.1.1.3   root       37: keyboard.s: keyboard.S
1.1       root       38:        $(CPP) -traditional keyboard.S -o keyboard.s
                     39: 
                     40: clean:
                     41:        rm -f core *.o *.a tmp_make keyboard.s
                     42:        for i in *.c;do rm -f `basename $$i .c`.s;done
                     43: 
                     44: dep:
                     45:        sed '/\#\#\# Dependencies/q' < Makefile > tmp_make
                     46:        (for i in *.c;do echo -n `echo $$i | sed 's,\.c,\.s,'`" "; \
                     47:                $(CPP) -M $$i;done) >> tmp_make
                     48:        cp tmp_make Makefile
                     49: 
                     50: ### Dependencies:
                     51: console.s console.o : console.c ../../include/linux/sched.h \
                     52:   ../../include/linux/head.h ../../include/linux/fs.h \
1.1.1.3   root       53:   ../../include/sys/types.h ../../include/linux/mm.h \
                     54:   ../../include/linux/kernel.h ../../include/signal.h \
                     55:   ../../include/sys/param.h ../../include/sys/time.h ../../include/time.h \
1.1.1.4 ! root       56:   ../../include/sys/resource.h ../../include/linux/timer.h \
        !            57:   ../../include/linux/tty.h ../../include/termios.h \
        !            58:   ../../include/linux/config.h ../../include/asm/io.h \
1.1.1.3   root       59:   ../../include/asm/system.h ../../include/asm/segment.h \
                     60:   ../../include/string.h ../../include/errno.h 
                     61: pty.s pty.o : pty.c ../../include/linux/tty.h ../../include/termios.h \
                     62:   ../../include/sys/types.h ../../include/linux/sched.h \
                     63:   ../../include/linux/head.h ../../include/linux/fs.h \
                     64:   ../../include/linux/mm.h ../../include/linux/kernel.h \
                     65:   ../../include/signal.h ../../include/sys/param.h ../../include/sys/time.h \
                     66:   ../../include/time.h ../../include/sys/resource.h \
                     67:   ../../include/asm/system.h ../../include/asm/io.h 
1.1       root       68: serial.s serial.o : serial.c ../../include/linux/tty.h ../../include/termios.h \
1.1.1.3   root       69:   ../../include/sys/types.h ../../include/linux/sched.h \
                     70:   ../../include/linux/head.h ../../include/linux/fs.h \
                     71:   ../../include/linux/mm.h ../../include/linux/kernel.h \
                     72:   ../../include/signal.h ../../include/sys/param.h ../../include/sys/time.h \
                     73:   ../../include/time.h ../../include/sys/resource.h \
1.1.1.4 ! root       74:   ../../include/linux/timer.h ../../include/asm/system.h \
        !            75:   ../../include/asm/io.h 
1.1       root       76: tty_io.s tty_io.o : tty_io.c ../../include/ctype.h ../../include/errno.h \
1.1.1.3   root       77:   ../../include/signal.h ../../include/sys/types.h ../../include/unistd.h \
                     78:   ../../include/sys/stat.h ../../include/sys/time.h ../../include/time.h \
                     79:   ../../include/sys/times.h ../../include/sys/utsname.h \
                     80:   ../../include/sys/param.h ../../include/sys/resource.h \
1.1.1.4 ! root       81:   ../../include/utime.h ../../include/fcntl.h ../../include/linux/sched.h \
1.1.1.3   root       82:   ../../include/linux/head.h ../../include/linux/fs.h \
                     83:   ../../include/linux/mm.h ../../include/linux/kernel.h \
                     84:   ../../include/linux/tty.h ../../include/termios.h \
1.1.1.2   root       85:   ../../include/asm/segment.h ../../include/asm/system.h 
1.1.1.3   root       86: tty_ioctl.s tty_ioctl.o : tty_ioctl.c ../../include/errno.h ../../include/termios.h \
                     87:   ../../include/sys/types.h ../../include/linux/sched.h \
                     88:   ../../include/linux/head.h ../../include/linux/fs.h \
                     89:   ../../include/linux/mm.h ../../include/linux/kernel.h \
                     90:   ../../include/signal.h ../../include/sys/param.h ../../include/sys/time.h \
                     91:   ../../include/time.h ../../include/sys/resource.h ../../include/linux/tty.h \
                     92:   ../../include/asm/io.h ../../include/asm/segment.h \
                     93:   ../../include/asm/system.h 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.