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

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: #
1.1.1.5 ! root        8: # Note 2! The CFLAGS definitions are now inherited from the
        !             9: # parent makes..
        !            10: #
1.1.1.4   root       11: 
                     12: AR     =ar
                     13: AS     =as
                     14: LD     =ld
1.1       root       15: LDFLAGS        =-s -x
1.1.1.5 ! root       16: CC     =gcc -nostdinc -I../../include
        !            17: CPP    =cpp -nostdinc -I../../include
1.1       root       18: 
                     19: .c.s:
                     20:        $(CC) $(CFLAGS) \
                     21:        -S -o $*.s $<
                     22: .s.o:
                     23:        $(AS) -c -o $*.o $<
                     24: .c.o:
                     25:        $(CC) $(CFLAGS) \
                     26:        -c -o $*.o $<
                     27: 
1.1.1.2   root       28: OBJS  = tty_io.o console.o keyboard.o serial.o rs_io.o \
1.1.1.5 ! root       29:        tty_ioctl.o pty.o lp.o
1.1       root       30: 
                     31: chr_drv.a: $(OBJS)
                     32:        $(AR) rcs chr_drv.a $(OBJS)
                     33:        sync
                     34: 
1.1.1.3   root       35: keyboard.s: keyboard.S
1.1.1.5 ! root       36:        $(CPP) $(KEYBOARD) -traditional keyboard.S -o keyboard.s
1.1       root       37: 
                     38: clean:
                     39:        rm -f core *.o *.a tmp_make keyboard.s
                     40:        for i in *.c;do rm -f `basename $$i .c`.s;done
                     41: 
                     42: dep:
                     43:        sed '/\#\#\# Dependencies/q' < Makefile > tmp_make
                     44:        (for i in *.c;do echo -n `echo $$i | sed 's,\.c,\.s,'`" "; \
                     45:                $(CPP) -M $$i;done) >> tmp_make
                     46:        cp tmp_make Makefile
                     47: 
                     48: ### Dependencies:
                     49: console.s console.o : console.c ../../include/linux/sched.h \
                     50:   ../../include/linux/head.h ../../include/linux/fs.h \
1.1.1.5 ! root       51:   ../../include/sys/types.h ../../include/sys/dirent.h ../../include/limits.h \
1.1.1.3   root       52:   ../../include/linux/mm.h ../../include/linux/kernel.h \
                     53:   ../../include/signal.h ../../include/sys/param.h ../../include/sys/time.h \
                     54:   ../../include/time.h ../../include/sys/resource.h \
1.1.1.5 ! root       55:   ../../include/linux/timer.h ../../include/linux/tty.h \
        !            56:   ../../include/termios.h ../../include/linux/config.h \
        !            57:   ../../include/linux/config_rel.h ../../include/linux/config_ver.h \
        !            58:   ../../include/asm/io.h ../../include/asm/system.h \
        !            59:   ../../include/asm/segment.h ../../include/string.h ../../include/errno.h 
        !            60: lp.s lp.o : lp.c ../../include/linux/lp.h ../../include/errno.h \
        !            61:   ../../include/linux/kernel.h ../../include/linux/sched.h \
        !            62:   ../../include/linux/head.h ../../include/linux/fs.h \
        !            63:   ../../include/sys/types.h ../../include/sys/dirent.h ../../include/limits.h \
        !            64:   ../../include/linux/mm.h ../../include/signal.h ../../include/sys/param.h \
        !            65:   ../../include/sys/time.h ../../include/time.h ../../include/sys/resource.h \
        !            66:   ../../include/asm/io.h ../../include/asm/segment.h \
        !            67:   ../../include/checkpoint.h 
        !            68: pty.s pty.o : pty.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 \
1.1.1.5 ! root       71:   ../../include/sys/dirent.h ../../include/limits.h ../../include/linux/mm.h \
        !            72:   ../../include/linux/kernel.h ../../include/signal.h \
        !            73:   ../../include/sys/param.h ../../include/sys/time.h ../../include/time.h \
        !            74:   ../../include/sys/resource.h ../../include/asm/system.h \
1.1.1.4   root       75:   ../../include/asm/io.h 
1.1.1.5 ! root       76: serial.s serial.o : serial.c ../../include/linux/tty.h ../../include/termios.h \
        !            77:   ../../include/sys/types.h ../../include/linux/sched.h \
        !            78:   ../../include/linux/head.h ../../include/linux/fs.h \
        !            79:   ../../include/sys/dirent.h ../../include/limits.h ../../include/linux/mm.h \
        !            80:   ../../include/linux/kernel.h ../../include/signal.h \
        !            81:   ../../include/sys/param.h ../../include/sys/time.h ../../include/time.h \
        !            82:   ../../include/sys/resource.h ../../include/linux/timer.h \
        !            83:   ../../include/asm/system.h ../../include/asm/io.h 
1.1       root       84: tty_io.s tty_io.o : tty_io.c ../../include/ctype.h ../../include/errno.h \
1.1.1.3   root       85:   ../../include/signal.h ../../include/sys/types.h ../../include/unistd.h \
                     86:   ../../include/sys/stat.h ../../include/sys/time.h ../../include/time.h \
                     87:   ../../include/sys/times.h ../../include/sys/utsname.h \
                     88:   ../../include/sys/param.h ../../include/sys/resource.h \
1.1.1.4   root       89:   ../../include/utime.h ../../include/fcntl.h ../../include/linux/sched.h \
1.1.1.3   root       90:   ../../include/linux/head.h ../../include/linux/fs.h \
1.1.1.5 ! root       91:   ../../include/sys/dirent.h ../../include/limits.h ../../include/linux/mm.h \
        !            92:   ../../include/linux/kernel.h ../../include/linux/tty.h \
        !            93:   ../../include/termios.h ../../include/asm/segment.h \
        !            94:   ../../include/asm/system.h 
1.1.1.3   root       95: tty_ioctl.s tty_ioctl.o : tty_ioctl.c ../../include/errno.h ../../include/termios.h \
                     96:   ../../include/sys/types.h ../../include/linux/sched.h \
                     97:   ../../include/linux/head.h ../../include/linux/fs.h \
1.1.1.5 ! root       98:   ../../include/sys/dirent.h ../../include/limits.h ../../include/linux/mm.h \
        !            99:   ../../include/linux/kernel.h ../../include/signal.h \
        !           100:   ../../include/sys/param.h ../../include/sys/time.h ../../include/time.h \
        !           101:   ../../include/sys/resource.h ../../include/linux/tty.h \
1.1.1.3   root      102:   ../../include/asm/io.h ../../include/asm/segment.h \
                    103:   ../../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.