]> www.infradead.org Git - users/rw/ppcboot.git/commitdiff
Modify the Makefiles to store dependencies on the "outside": In Makefile.cc
authorhydra <hydra>
Sun, 30 Jul 2000 19:11:26 +0000 (19:11 +0000)
committerhydra <hydra>
Sun, 30 Jul 2000 19:11:26 +0000 (19:11 +0000)
instead.  This allows us to *not* keep dependencies in CVS.  Dependencies
are, as the name implies - too dependent on specific systems.

common/Makefile
examples/Makefile
mpc8xx/Makefile
ppc/Makefile
tools/Makefile
tqm8xx/Makefile

index 1482f37a8fc2f3edcf1a470a36dd21051a7fbcb1..835e6fc68118420a58aaa4fb25b967be08d541fb 100644 (file)
@@ -39,290 +39,11 @@ clean:
        rm -f $(OBJS)
 
 distclean:     clean
-       rm -f $(LIB) core *.bak
+       rm -f $(LIB) core *.bak Makedepend.cc
 
-#########################################################################
+Makedepend.cc: Makefile $(OBJS:.o=.c)
+       $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@
 
-depend dep:
-       $(MAKEDEPEND) -- $(CFLAGS) -- $(OBJS:.o=.c)
+depend dep: Makedepend.cc
 
-#########################################################################
-
-# DO NOT DELETE
-
-board.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-board.o: /home/wd/ppc/ppcboot/include/config.h
-board.o: /LinuxPPC/CDK/include/linux/bitops.h
-board.o: /LinuxPPC/CDK/include/asm/bitops.h
-board.o: /LinuxPPC/CDK/include/asm/system.h
-board.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-board.o: /LinuxPPC/CDK/include/asm/processor.h
-board.o: /LinuxPPC/CDK/include/linux/config.h
-board.o: /LinuxPPC/CDK/include/asm/ptrace.h
-board.o: /LinuxPPC/CDK/include/asm/residual.h /LinuxPPC/CDK/include/asm/pnp.h
-board.o: /LinuxPPC/CDK/include/asm/atomic.h
-board.o: /LinuxPPC/CDK/include/asm/byteorder.h
-board.o: /LinuxPPC/CDK/include/asm/types.h
-board.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-board.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-board.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-board.o: /LinuxPPC/CDK/include/linux/types.h
-board.o: /LinuxPPC/CDK/include/linux/posix_types.h
-board.o: /LinuxPPC/CDK/include/linux/stddef.h
-board.o: /LinuxPPC/CDK/include/asm/posix_types.h
-board.o: /LinuxPPC/CDK/include/linux/string.h
-board.o: /LinuxPPC/CDK/include/asm/string.h
-board.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-board.o: /home/wd/ppc/ppcboot/include/flash.h
-board.o: /home/wd/ppc/ppcboot/include/command.h
-board.o: /home/wd/ppc/ppcboot/include/mpc8xx.h
-main.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-main.o: /home/wd/ppc/ppcboot/include/config.h
-main.o: /LinuxPPC/CDK/include/linux/bitops.h
-main.o: /LinuxPPC/CDK/include/asm/bitops.h /LinuxPPC/CDK/include/asm/system.h
-main.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-main.o: /LinuxPPC/CDK/include/asm/processor.h
-main.o: /LinuxPPC/CDK/include/linux/config.h
-main.o: /LinuxPPC/CDK/include/asm/ptrace.h
-main.o: /LinuxPPC/CDK/include/asm/residual.h /LinuxPPC/CDK/include/asm/pnp.h
-main.o: /LinuxPPC/CDK/include/asm/atomic.h
-main.o: /LinuxPPC/CDK/include/asm/byteorder.h
-main.o: /LinuxPPC/CDK/include/asm/types.h
-main.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-main.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-main.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-main.o: /LinuxPPC/CDK/include/linux/types.h
-main.o: /LinuxPPC/CDK/include/linux/posix_types.h
-main.o: /LinuxPPC/CDK/include/linux/stddef.h
-main.o: /LinuxPPC/CDK/include/asm/posix_types.h
-main.o: /LinuxPPC/CDK/include/linux/string.h
-main.o: /LinuxPPC/CDK/include/asm/string.h
-main.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-main.o: /home/wd/ppc/ppcboot/include/flash.h
-main.o: /home/wd/ppc/ppcboot/include/command.h
-command.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-command.o: /home/wd/ppc/ppcboot/include/config.h
-command.o: /LinuxPPC/CDK/include/linux/bitops.h
-command.o: /LinuxPPC/CDK/include/asm/bitops.h
-command.o: /LinuxPPC/CDK/include/asm/system.h
-command.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-command.o: /LinuxPPC/CDK/include/asm/processor.h
-command.o: /LinuxPPC/CDK/include/linux/config.h
-command.o: /LinuxPPC/CDK/include/asm/ptrace.h
-command.o: /LinuxPPC/CDK/include/asm/residual.h
-command.o: /LinuxPPC/CDK/include/asm/pnp.h /LinuxPPC/CDK/include/asm/atomic.h
-command.o: /LinuxPPC/CDK/include/asm/byteorder.h
-command.o: /LinuxPPC/CDK/include/asm/types.h
-command.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-command.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-command.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-command.o: /LinuxPPC/CDK/include/linux/types.h
-command.o: /LinuxPPC/CDK/include/linux/posix_types.h
-command.o: /LinuxPPC/CDK/include/linux/stddef.h
-command.o: /LinuxPPC/CDK/include/asm/posix_types.h
-command.o: /LinuxPPC/CDK/include/linux/string.h
-command.o: /LinuxPPC/CDK/include/asm/string.h
-command.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-command.o: /home/wd/ppc/ppcboot/include/flash.h
-command.o: /home/wd/ppc/ppcboot/include/command.h
-command.o: /home/wd/ppc/ppcboot/include/cmd_cache.h
-command.o: /home/wd/ppc/ppcboot/include/cmd_mem.h
-command.o: /home/wd/ppc/ppcboot/include/cmd_boot.h
-command.o: /home/wd/ppc/ppcboot/include/cmd_flash.h
-command.o: /home/wd/ppc/ppcboot/include/cmd_bootm.h
-command.o: /home/wd/ppc/ppcboot/include/cmd_nvedit.h
-cmd_cache.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-cmd_cache.o: /home/wd/ppc/ppcboot/include/config.h
-cmd_cache.o: /LinuxPPC/CDK/include/linux/bitops.h
-cmd_cache.o: /LinuxPPC/CDK/include/asm/bitops.h
-cmd_cache.o: /LinuxPPC/CDK/include/asm/system.h
-cmd_cache.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-cmd_cache.o: /LinuxPPC/CDK/include/asm/processor.h
-cmd_cache.o: /LinuxPPC/CDK/include/linux/config.h
-cmd_cache.o: /LinuxPPC/CDK/include/asm/ptrace.h
-cmd_cache.o: /LinuxPPC/CDK/include/asm/residual.h
-cmd_cache.o: /LinuxPPC/CDK/include/asm/pnp.h
-cmd_cache.o: /LinuxPPC/CDK/include/asm/atomic.h
-cmd_cache.o: /LinuxPPC/CDK/include/asm/byteorder.h
-cmd_cache.o: /LinuxPPC/CDK/include/asm/types.h
-cmd_cache.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-cmd_cache.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-cmd_cache.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-cmd_cache.o: /LinuxPPC/CDK/include/linux/types.h
-cmd_cache.o: /LinuxPPC/CDK/include/linux/posix_types.h
-cmd_cache.o: /LinuxPPC/CDK/include/linux/stddef.h
-cmd_cache.o: /LinuxPPC/CDK/include/asm/posix_types.h
-cmd_cache.o: /LinuxPPC/CDK/include/linux/string.h
-cmd_cache.o: /LinuxPPC/CDK/include/asm/string.h
-cmd_cache.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-cmd_cache.o: /home/wd/ppc/ppcboot/include/flash.h
-cmd_cache.o: /home/wd/ppc/ppcboot/include/command.h
-cmd_cache.o: /home/wd/ppc/ppcboot/include/cmd_cache.h
-cmd_mem.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-cmd_mem.o: /home/wd/ppc/ppcboot/include/config.h
-cmd_mem.o: /LinuxPPC/CDK/include/linux/bitops.h
-cmd_mem.o: /LinuxPPC/CDK/include/asm/bitops.h
-cmd_mem.o: /LinuxPPC/CDK/include/asm/system.h
-cmd_mem.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-cmd_mem.o: /LinuxPPC/CDK/include/asm/processor.h
-cmd_mem.o: /LinuxPPC/CDK/include/linux/config.h
-cmd_mem.o: /LinuxPPC/CDK/include/asm/ptrace.h
-cmd_mem.o: /LinuxPPC/CDK/include/asm/residual.h
-cmd_mem.o: /LinuxPPC/CDK/include/asm/pnp.h /LinuxPPC/CDK/include/asm/atomic.h
-cmd_mem.o: /LinuxPPC/CDK/include/asm/byteorder.h
-cmd_mem.o: /LinuxPPC/CDK/include/asm/types.h
-cmd_mem.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-cmd_mem.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-cmd_mem.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-cmd_mem.o: /LinuxPPC/CDK/include/linux/types.h
-cmd_mem.o: /LinuxPPC/CDK/include/linux/posix_types.h
-cmd_mem.o: /LinuxPPC/CDK/include/linux/stddef.h
-cmd_mem.o: /LinuxPPC/CDK/include/asm/posix_types.h
-cmd_mem.o: /LinuxPPC/CDK/include/linux/string.h
-cmd_mem.o: /LinuxPPC/CDK/include/asm/string.h
-cmd_mem.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-cmd_mem.o: /home/wd/ppc/ppcboot/include/flash.h
-cmd_mem.o: /home/wd/ppc/ppcboot/include/command.h
-cmd_mem.o: /home/wd/ppc/ppcboot/include/cmd_mem.h
-cmd_boot.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-cmd_boot.o: /home/wd/ppc/ppcboot/include/config.h
-cmd_boot.o: /LinuxPPC/CDK/include/linux/bitops.h
-cmd_boot.o: /LinuxPPC/CDK/include/asm/bitops.h
-cmd_boot.o: /LinuxPPC/CDK/include/asm/system.h
-cmd_boot.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-cmd_boot.o: /LinuxPPC/CDK/include/asm/processor.h
-cmd_boot.o: /LinuxPPC/CDK/include/linux/config.h
-cmd_boot.o: /LinuxPPC/CDK/include/asm/ptrace.h
-cmd_boot.o: /LinuxPPC/CDK/include/asm/residual.h
-cmd_boot.o: /LinuxPPC/CDK/include/asm/pnp.h
-cmd_boot.o: /LinuxPPC/CDK/include/asm/atomic.h
-cmd_boot.o: /LinuxPPC/CDK/include/asm/byteorder.h
-cmd_boot.o: /LinuxPPC/CDK/include/asm/types.h
-cmd_boot.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-cmd_boot.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-cmd_boot.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-cmd_boot.o: /LinuxPPC/CDK/include/linux/types.h
-cmd_boot.o: /LinuxPPC/CDK/include/linux/posix_types.h
-cmd_boot.o: /LinuxPPC/CDK/include/linux/stddef.h
-cmd_boot.o: /LinuxPPC/CDK/include/asm/posix_types.h
-cmd_boot.o: /LinuxPPC/CDK/include/linux/string.h
-cmd_boot.o: /LinuxPPC/CDK/include/asm/string.h
-cmd_boot.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-cmd_boot.o: /home/wd/ppc/ppcboot/include/flash.h
-cmd_boot.o: /home/wd/ppc/ppcboot/include/command.h
-cmd_boot.o: /home/wd/ppc/ppcboot/include/cmd_boot.h
-cmd_boot.o: /home/wd/ppc/ppcboot/include/s_record.h
-cmd_boot.o: /home/wd/ppc/ppcboot/include/mpc8xx.h
-cmd_flash.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-cmd_flash.o: /home/wd/ppc/ppcboot/include/config.h
-cmd_flash.o: /LinuxPPC/CDK/include/linux/bitops.h
-cmd_flash.o: /LinuxPPC/CDK/include/asm/bitops.h
-cmd_flash.o: /LinuxPPC/CDK/include/asm/system.h
-cmd_flash.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-cmd_flash.o: /LinuxPPC/CDK/include/asm/processor.h
-cmd_flash.o: /LinuxPPC/CDK/include/linux/config.h
-cmd_flash.o: /LinuxPPC/CDK/include/asm/ptrace.h
-cmd_flash.o: /LinuxPPC/CDK/include/asm/residual.h
-cmd_flash.o: /LinuxPPC/CDK/include/asm/pnp.h
-cmd_flash.o: /LinuxPPC/CDK/include/asm/atomic.h
-cmd_flash.o: /LinuxPPC/CDK/include/asm/byteorder.h
-cmd_flash.o: /LinuxPPC/CDK/include/asm/types.h
-cmd_flash.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-cmd_flash.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-cmd_flash.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-cmd_flash.o: /LinuxPPC/CDK/include/linux/types.h
-cmd_flash.o: /LinuxPPC/CDK/include/linux/posix_types.h
-cmd_flash.o: /LinuxPPC/CDK/include/linux/stddef.h
-cmd_flash.o: /LinuxPPC/CDK/include/asm/posix_types.h
-cmd_flash.o: /LinuxPPC/CDK/include/linux/string.h
-cmd_flash.o: /LinuxPPC/CDK/include/asm/string.h
-cmd_flash.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-cmd_flash.o: /home/wd/ppc/ppcboot/include/flash.h
-cmd_flash.o: /home/wd/ppc/ppcboot/include/command.h
-cmd_flash.o: /home/wd/ppc/ppcboot/include/cmd_boot.h
-cmd_bootm.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-cmd_bootm.o: /home/wd/ppc/ppcboot/include/config.h
-cmd_bootm.o: /LinuxPPC/CDK/include/linux/bitops.h
-cmd_bootm.o: /LinuxPPC/CDK/include/asm/bitops.h
-cmd_bootm.o: /LinuxPPC/CDK/include/asm/system.h
-cmd_bootm.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-cmd_bootm.o: /LinuxPPC/CDK/include/asm/processor.h
-cmd_bootm.o: /LinuxPPC/CDK/include/linux/config.h
-cmd_bootm.o: /LinuxPPC/CDK/include/asm/ptrace.h
-cmd_bootm.o: /LinuxPPC/CDK/include/asm/residual.h
-cmd_bootm.o: /LinuxPPC/CDK/include/asm/pnp.h
-cmd_bootm.o: /LinuxPPC/CDK/include/asm/atomic.h
-cmd_bootm.o: /LinuxPPC/CDK/include/asm/byteorder.h
-cmd_bootm.o: /LinuxPPC/CDK/include/asm/types.h
-cmd_bootm.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-cmd_bootm.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-cmd_bootm.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-cmd_bootm.o: /LinuxPPC/CDK/include/linux/types.h
-cmd_bootm.o: /LinuxPPC/CDK/include/linux/posix_types.h
-cmd_bootm.o: /LinuxPPC/CDK/include/linux/stddef.h
-cmd_bootm.o: /LinuxPPC/CDK/include/asm/posix_types.h
-cmd_bootm.o: /LinuxPPC/CDK/include/linux/string.h
-cmd_bootm.o: /LinuxPPC/CDK/include/asm/string.h
-cmd_bootm.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-cmd_bootm.o: /home/wd/ppc/ppcboot/include/flash.h
-cmd_bootm.o: /home/wd/ppc/ppcboot/include/command.h
-cmd_bootm.o: /home/wd/ppc/ppcboot/include/cmd_boot.h
-cmd_bootm.o: /home/wd/ppc/ppcboot/include/image.h
-cmd_bootm.o: /home/wd/ppc/ppcboot/include/malloc.h
-cmd_bootm.o: /LinuxPPC/CDK/lib/gcc-lib/powerpc-linux/2.95.2/include/stddef.h
-cmd_bootm.o: /home/wd/ppc/ppcboot/include/zlib.h
-cmd_nvedit.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-cmd_nvedit.o: /home/wd/ppc/ppcboot/include/config.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/linux/bitops.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/asm/bitops.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/asm/system.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/asm/processor.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/linux/config.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/asm/ptrace.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/asm/residual.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/asm/pnp.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/asm/atomic.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/asm/byteorder.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/asm/types.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/linux/types.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/linux/posix_types.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/linux/stddef.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/asm/posix_types.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/linux/string.h
-cmd_nvedit.o: /LinuxPPC/CDK/include/asm/string.h
-cmd_nvedit.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-cmd_nvedit.o: /home/wd/ppc/ppcboot/include/flash.h
-cmd_nvedit.o: /home/wd/ppc/ppcboot/include/command.h
-cmd_nvedit.o: /home/wd/ppc/ppcboot/include/cmd_nvedit.h
-s_record.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-s_record.o: /home/wd/ppc/ppcboot/include/config.h
-s_record.o: /LinuxPPC/CDK/include/linux/bitops.h
-s_record.o: /LinuxPPC/CDK/include/asm/bitops.h
-s_record.o: /LinuxPPC/CDK/include/asm/system.h
-s_record.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-s_record.o: /LinuxPPC/CDK/include/asm/processor.h
-s_record.o: /LinuxPPC/CDK/include/linux/config.h
-s_record.o: /LinuxPPC/CDK/include/asm/ptrace.h
-s_record.o: /LinuxPPC/CDK/include/asm/residual.h
-s_record.o: /LinuxPPC/CDK/include/asm/pnp.h
-s_record.o: /LinuxPPC/CDK/include/asm/atomic.h
-s_record.o: /LinuxPPC/CDK/include/asm/byteorder.h
-s_record.o: /LinuxPPC/CDK/include/asm/types.h
-s_record.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-s_record.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-s_record.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-s_record.o: /LinuxPPC/CDK/include/linux/types.h
-s_record.o: /LinuxPPC/CDK/include/linux/posix_types.h
-s_record.o: /LinuxPPC/CDK/include/linux/stddef.h
-s_record.o: /LinuxPPC/CDK/include/asm/posix_types.h
-s_record.o: /LinuxPPC/CDK/include/linux/string.h
-s_record.o: /LinuxPPC/CDK/include/asm/string.h
-s_record.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-s_record.o: /home/wd/ppc/ppcboot/include/flash.h
-s_record.o: /home/wd/ppc/ppcboot/include/s_record.h
-dlmalloc.o: /home/wd/ppc/ppcboot/include/malloc.h
-dlmalloc.o: /LinuxPPC/CDK/lib/gcc-lib/powerpc-linux/2.95.2/include/stddef.h
+sinclude Makedepend.cc
index 1418fbc3a7d1555fbe6ba987b84e0295693849f6..0791a775665f2a7ab6ff2635ba122f35787728b3 100644 (file)
@@ -37,7 +37,7 @@ clean:
        rm -f $(OBJS)
 
 distclean:     clean
-       rm -f $(SREC) $(SREC:.srec=) core *.bak
+       rm -f $(SREC) $(SREC:.srec=) core *.bak Makedepend.cc
 
 #########################################################################
 
@@ -47,61 +47,9 @@ distclean:   clean
 
 #########################################################################
 
-depend dep:
-       $(MAKEDEPEND) -- $(CFLAGS) -- $(OBJS:.o=.c)
+Makedepend.cc: Makefile $(OBJS:.o=.c)
+       $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@
 
-#########################################################################
-
-# DO NOT DELETE
+depend dep: Makedepend.cc
 
-hello_world.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-hello_world.o: /home/wd/ppc/ppcboot/include/config.h
-hello_world.o: /LinuxPPC/CDK/include/linux/bitops.h
-hello_world.o: /LinuxPPC/CDK/include/asm/bitops.h
-hello_world.o: /LinuxPPC/CDK/include/asm/system.h
-hello_world.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-hello_world.o: /LinuxPPC/CDK/include/asm/processor.h
-hello_world.o: /LinuxPPC/CDK/include/linux/config.h
-hello_world.o: /LinuxPPC/CDK/include/asm/ptrace.h
-hello_world.o: /LinuxPPC/CDK/include/asm/residual.h
-hello_world.o: /LinuxPPC/CDK/include/asm/pnp.h
-hello_world.o: /LinuxPPC/CDK/include/asm/atomic.h
-hello_world.o: /LinuxPPC/CDK/include/asm/byteorder.h
-hello_world.o: /LinuxPPC/CDK/include/asm/types.h
-hello_world.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-hello_world.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-hello_world.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-hello_world.o: /LinuxPPC/CDK/include/linux/types.h
-hello_world.o: /LinuxPPC/CDK/include/linux/posix_types.h
-hello_world.o: /LinuxPPC/CDK/include/linux/stddef.h
-hello_world.o: /LinuxPPC/CDK/include/asm/posix_types.h
-hello_world.o: /LinuxPPC/CDK/include/linux/string.h
-hello_world.o: /LinuxPPC/CDK/include/asm/string.h
-hello_world.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-hello_world.o: /home/wd/ppc/ppcboot/include/flash.h
-timer.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-timer.o: /home/wd/ppc/ppcboot/include/config.h
-timer.o: /LinuxPPC/CDK/include/linux/bitops.h
-timer.o: /LinuxPPC/CDK/include/asm/bitops.h
-timer.o: /LinuxPPC/CDK/include/asm/system.h
-timer.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-timer.o: /LinuxPPC/CDK/include/asm/processor.h
-timer.o: /LinuxPPC/CDK/include/linux/config.h
-timer.o: /LinuxPPC/CDK/include/asm/ptrace.h
-timer.o: /LinuxPPC/CDK/include/asm/residual.h /LinuxPPC/CDK/include/asm/pnp.h
-timer.o: /LinuxPPC/CDK/include/asm/atomic.h
-timer.o: /LinuxPPC/CDK/include/asm/byteorder.h
-timer.o: /LinuxPPC/CDK/include/asm/types.h
-timer.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-timer.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-timer.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-timer.o: /LinuxPPC/CDK/include/linux/types.h
-timer.o: /LinuxPPC/CDK/include/linux/posix_types.h
-timer.o: /LinuxPPC/CDK/include/linux/stddef.h
-timer.o: /LinuxPPC/CDK/include/asm/posix_types.h
-timer.o: /LinuxPPC/CDK/include/linux/string.h
-timer.o: /LinuxPPC/CDK/include/asm/string.h
-timer.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-timer.o: /home/wd/ppc/ppcboot/include/flash.h
-timer.o: /home/wd/ppc/ppcboot/include/commproc.h
-timer.o: /home/wd/ppc/ppcboot/include/mpc8xx_irq.h
+sinclude Makedepend.cc
index a318523c08cd0df38c8ea87a45fe0338410ccb6c..49bb62068254e01911cad3fa0b5fd8d1f0403279 100644 (file)
@@ -39,150 +39,11 @@ clean:
        rm -f $(START) $(OBJS)
 
 distclean:     clean
-       rm -f $(LIB) core *.bak
+       rm -f $(LIB) core *.bak Makedepend.cc
 
-#########################################################################
+Makedepend.cc: Makefile $(START:.o=.S) $(OBJS:.o=.c)
+       $(CC) -M $(CFLAGS) $(START:.o=.S) $(OBJS:.o=.c) > $@
 
-depend dep:
-       $(MAKEDEPEND) -- $(CFLAGS) -- $(START:.o=.S) $(OBJS:.o=.c)
+depend dep: Makedepend.cc
 
-#########################################################################
-
-# DO NOT DELETE
-
-start.o: /home/wd/ppc/ppcboot/include/config.h
-start.o: /home/wd/ppc/ppcboot/include/mpc8xx.h
-start.o: /home/wd/ppc/ppcboot/include/version.h
-start.o: /home/wd/ppc/ppcboot/include/ppc_asm.tmpl
-start.o: /home/wd/ppc/ppcboot/include/ppc_defs.h
-start.o: /LinuxPPC/CDK/include/asm/cache.h
-start.o: /LinuxPPC/CDK/include/linux/config.h
-start.o: /LinuxPPC/CDK/include/asm/processor.h
-start.o: /LinuxPPC/CDK/include/asm/ptrace.h
-start.o: /LinuxPPC/CDK/include/asm/residual.h /LinuxPPC/CDK/include/asm/pnp.h
-start.o: /home/wd/ppc/ppcboot/include/asm/mmu.h
-traps.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-traps.o: /home/wd/ppc/ppcboot/include/config.h
-traps.o: /LinuxPPC/CDK/include/linux/bitops.h
-traps.o: /LinuxPPC/CDK/include/asm/bitops.h
-traps.o: /LinuxPPC/CDK/include/asm/system.h
-traps.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-traps.o: /LinuxPPC/CDK/include/asm/processor.h
-traps.o: /LinuxPPC/CDK/include/linux/config.h
-traps.o: /LinuxPPC/CDK/include/asm/ptrace.h
-traps.o: /LinuxPPC/CDK/include/asm/residual.h /LinuxPPC/CDK/include/asm/pnp.h
-traps.o: /LinuxPPC/CDK/include/asm/atomic.h
-traps.o: /LinuxPPC/CDK/include/asm/byteorder.h
-traps.o: /LinuxPPC/CDK/include/asm/types.h
-traps.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-traps.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-traps.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-traps.o: /LinuxPPC/CDK/include/linux/types.h
-traps.o: /LinuxPPC/CDK/include/linux/posix_types.h
-traps.o: /LinuxPPC/CDK/include/linux/stddef.h
-traps.o: /LinuxPPC/CDK/include/asm/posix_types.h
-traps.o: /LinuxPPC/CDK/include/linux/string.h
-traps.o: /LinuxPPC/CDK/include/asm/string.h
-traps.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-traps.o: /home/wd/ppc/ppcboot/include/flash.h
-serial.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-serial.o: /home/wd/ppc/ppcboot/include/config.h
-serial.o: /LinuxPPC/CDK/include/linux/bitops.h
-serial.o: /LinuxPPC/CDK/include/asm/bitops.h
-serial.o: /LinuxPPC/CDK/include/asm/system.h
-serial.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-serial.o: /LinuxPPC/CDK/include/asm/processor.h
-serial.o: /LinuxPPC/CDK/include/linux/config.h
-serial.o: /LinuxPPC/CDK/include/asm/ptrace.h
-serial.o: /LinuxPPC/CDK/include/asm/residual.h
-serial.o: /LinuxPPC/CDK/include/asm/pnp.h /LinuxPPC/CDK/include/asm/atomic.h
-serial.o: /LinuxPPC/CDK/include/asm/byteorder.h
-serial.o: /LinuxPPC/CDK/include/asm/types.h
-serial.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-serial.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-serial.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-serial.o: /LinuxPPC/CDK/include/linux/types.h
-serial.o: /LinuxPPC/CDK/include/linux/posix_types.h
-serial.o: /LinuxPPC/CDK/include/linux/stddef.h
-serial.o: /LinuxPPC/CDK/include/asm/posix_types.h
-serial.o: /LinuxPPC/CDK/include/linux/string.h
-serial.o: /LinuxPPC/CDK/include/asm/string.h
-serial.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-serial.o: /home/wd/ppc/ppcboot/include/flash.h
-serial.o: /home/wd/ppc/ppcboot/include/commproc.h
-cpu.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-cpu.o: /home/wd/ppc/ppcboot/include/config.h
-cpu.o: /LinuxPPC/CDK/include/linux/bitops.h
-cpu.o: /LinuxPPC/CDK/include/asm/bitops.h /LinuxPPC/CDK/include/asm/system.h
-cpu.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-cpu.o: /LinuxPPC/CDK/include/asm/processor.h
-cpu.o: /LinuxPPC/CDK/include/linux/config.h
-cpu.o: /LinuxPPC/CDK/include/asm/ptrace.h
-cpu.o: /LinuxPPC/CDK/include/asm/residual.h /LinuxPPC/CDK/include/asm/pnp.h
-cpu.o: /LinuxPPC/CDK/include/asm/atomic.h
-cpu.o: /LinuxPPC/CDK/include/asm/byteorder.h
-cpu.o: /LinuxPPC/CDK/include/asm/types.h
-cpu.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-cpu.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-cpu.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-cpu.o: /LinuxPPC/CDK/include/linux/types.h
-cpu.o: /LinuxPPC/CDK/include/linux/posix_types.h
-cpu.o: /LinuxPPC/CDK/include/linux/stddef.h
-cpu.o: /LinuxPPC/CDK/include/asm/posix_types.h
-cpu.o: /LinuxPPC/CDK/include/linux/string.h
-cpu.o: /LinuxPPC/CDK/include/asm/string.h
-cpu.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-cpu.o: /home/wd/ppc/ppcboot/include/flash.h /LinuxPPC/CDK/include/asm/cache.h
-speed.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-speed.o: /home/wd/ppc/ppcboot/include/config.h
-speed.o: /LinuxPPC/CDK/include/linux/bitops.h
-speed.o: /LinuxPPC/CDK/include/asm/bitops.h
-speed.o: /LinuxPPC/CDK/include/asm/system.h
-speed.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-speed.o: /LinuxPPC/CDK/include/asm/processor.h
-speed.o: /LinuxPPC/CDK/include/linux/config.h
-speed.o: /LinuxPPC/CDK/include/asm/ptrace.h
-speed.o: /LinuxPPC/CDK/include/asm/residual.h /LinuxPPC/CDK/include/asm/pnp.h
-speed.o: /LinuxPPC/CDK/include/asm/atomic.h
-speed.o: /LinuxPPC/CDK/include/asm/byteorder.h
-speed.o: /LinuxPPC/CDK/include/asm/types.h
-speed.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-speed.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-speed.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-speed.o: /LinuxPPC/CDK/include/linux/types.h
-speed.o: /LinuxPPC/CDK/include/linux/posix_types.h
-speed.o: /LinuxPPC/CDK/include/linux/stddef.h
-speed.o: /LinuxPPC/CDK/include/asm/posix_types.h
-speed.o: /LinuxPPC/CDK/include/linux/string.h
-speed.o: /LinuxPPC/CDK/include/asm/string.h
-speed.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-speed.o: /home/wd/ppc/ppcboot/include/flash.h
-speed.o: /home/wd/ppc/ppcboot/include/mpc8xx.h speed.h
-interrupts.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-interrupts.o: /home/wd/ppc/ppcboot/include/config.h
-interrupts.o: /LinuxPPC/CDK/include/linux/bitops.h
-interrupts.o: /LinuxPPC/CDK/include/asm/bitops.h
-interrupts.o: /LinuxPPC/CDK/include/asm/system.h
-interrupts.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-interrupts.o: /LinuxPPC/CDK/include/asm/processor.h
-interrupts.o: /LinuxPPC/CDK/include/linux/config.h
-interrupts.o: /LinuxPPC/CDK/include/asm/ptrace.h
-interrupts.o: /LinuxPPC/CDK/include/asm/residual.h
-interrupts.o: /LinuxPPC/CDK/include/asm/pnp.h
-interrupts.o: /LinuxPPC/CDK/include/asm/atomic.h
-interrupts.o: /LinuxPPC/CDK/include/asm/byteorder.h
-interrupts.o: /LinuxPPC/CDK/include/asm/types.h
-interrupts.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-interrupts.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-interrupts.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-interrupts.o: /LinuxPPC/CDK/include/linux/types.h
-interrupts.o: /LinuxPPC/CDK/include/linux/posix_types.h
-interrupts.o: /LinuxPPC/CDK/include/linux/stddef.h
-interrupts.o: /LinuxPPC/CDK/include/asm/posix_types.h
-interrupts.o: /LinuxPPC/CDK/include/linux/string.h
-interrupts.o: /LinuxPPC/CDK/include/asm/string.h
-interrupts.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-interrupts.o: /home/wd/ppc/ppcboot/include/flash.h
-interrupts.o: /home/wd/ppc/ppcboot/include/mpc8xx.h
-interrupts.o: /home/wd/ppc/ppcboot/include/mpc8xx_irq.h
-interrupts.o: /home/wd/ppc/ppcboot/include/commproc.h
+sinclude Makedepend.cc
index 42c45bbf37f6d203f18305dcfa0019480f08a1e1..4633d4aa31f01a211471b344fde21c8c68376fc3 100644 (file)
@@ -39,108 +39,11 @@ clean:
        rm -f $(OBJS)
 
 distclean:     clean
-       rm -f $(LIB) core *.bak
+       rm -f $(LIB) core *.bak Makedepend.cc
 
-#########################################################################
+Makedepend.cc: Makefile $(AOBJS:.o=.S) $(COBJS:.o=.c)
+       $(CC) -M $(CFLAGS) $(AOBJS:.o=.S) $(COBJS:.o=.c) > $@
 
-depend dep:
-       $(MAKEDEPEND) -- $(CFLAGS) -- $(AOBJS:.o=.S) $(COBJS:.o=.c)
+depend dep: Makedepend.cc
 
-#########################################################################
-
-# DO NOT DELETE
-
-ppcstring.o: /home/wd/ppc/ppcboot/include/ppc_asm.tmpl
-ppcstring.o: /LinuxPPC/CDK/include/asm/errno.h
-ctype.o: /LinuxPPC/CDK/include/linux/ctype.h
-vsprintf.o: /LinuxPPC/CDK/lib/gcc-lib/powerpc-linux/2.95.2/include/stdarg.h
-vsprintf.o: /LinuxPPC/CDK/include/linux/types.h
-vsprintf.o: /LinuxPPC/CDK/include/linux/posix_types.h
-vsprintf.o: /LinuxPPC/CDK/include/linux/stddef.h
-vsprintf.o: /LinuxPPC/CDK/include/asm/posix_types.h
-vsprintf.o: /LinuxPPC/CDK/include/asm/types.h
-vsprintf.o: /LinuxPPC/CDK/include/linux/string.h
-vsprintf.o: /LinuxPPC/CDK/include/asm/string.h
-vsprintf.o: /LinuxPPC/CDK/include/linux/ctype.h
-vsprintf.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-vsprintf.o: /home/wd/ppc/ppcboot/include/config.h
-vsprintf.o: /LinuxPPC/CDK/include/linux/bitops.h
-vsprintf.o: /LinuxPPC/CDK/include/asm/bitops.h
-vsprintf.o: /LinuxPPC/CDK/include/asm/system.h
-vsprintf.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-vsprintf.o: /LinuxPPC/CDK/include/asm/processor.h
-vsprintf.o: /LinuxPPC/CDK/include/linux/config.h
-vsprintf.o: /LinuxPPC/CDK/include/asm/ptrace.h
-vsprintf.o: /LinuxPPC/CDK/include/asm/residual.h
-vsprintf.o: /LinuxPPC/CDK/include/asm/pnp.h
-vsprintf.o: /LinuxPPC/CDK/include/asm/atomic.h
-vsprintf.o: /LinuxPPC/CDK/include/asm/byteorder.h
-vsprintf.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-vsprintf.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-vsprintf.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-vsprintf.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-vsprintf.o: /home/wd/ppc/ppcboot/include/flash.h
-extable.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-extable.o: /home/wd/ppc/ppcboot/include/config.h
-extable.o: /LinuxPPC/CDK/include/linux/bitops.h
-extable.o: /LinuxPPC/CDK/include/asm/bitops.h
-extable.o: /LinuxPPC/CDK/include/asm/system.h
-extable.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-extable.o: /LinuxPPC/CDK/include/asm/processor.h
-extable.o: /LinuxPPC/CDK/include/linux/config.h
-extable.o: /LinuxPPC/CDK/include/asm/ptrace.h
-extable.o: /LinuxPPC/CDK/include/asm/residual.h
-extable.o: /LinuxPPC/CDK/include/asm/pnp.h /LinuxPPC/CDK/include/asm/atomic.h
-extable.o: /LinuxPPC/CDK/include/asm/byteorder.h
-extable.o: /LinuxPPC/CDK/include/asm/types.h
-extable.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-extable.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-extable.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-extable.o: /LinuxPPC/CDK/include/linux/types.h
-extable.o: /LinuxPPC/CDK/include/linux/posix_types.h
-extable.o: /LinuxPPC/CDK/include/linux/stddef.h
-extable.o: /LinuxPPC/CDK/include/asm/posix_types.h
-extable.o: /LinuxPPC/CDK/include/linux/string.h
-extable.o: /LinuxPPC/CDK/include/asm/string.h
-extable.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-extable.o: /home/wd/ppc/ppcboot/include/flash.h
-string.o: /LinuxPPC/CDK/include/linux/types.h
-string.o: /LinuxPPC/CDK/include/linux/posix_types.h
-string.o: /LinuxPPC/CDK/include/linux/stddef.h
-string.o: /LinuxPPC/CDK/include/asm/posix_types.h
-string.o: /LinuxPPC/CDK/include/asm/types.h
-string.o: /LinuxPPC/CDK/include/linux/string.h
-string.o: /LinuxPPC/CDK/include/asm/string.h
-display_options.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-display_options.o: /home/wd/ppc/ppcboot/include/config.h
-display_options.o: /LinuxPPC/CDK/include/linux/bitops.h
-display_options.o: /LinuxPPC/CDK/include/asm/bitops.h
-display_options.o: /LinuxPPC/CDK/include/asm/system.h
-display_options.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-display_options.o: /LinuxPPC/CDK/include/asm/processor.h
-display_options.o: /LinuxPPC/CDK/include/linux/config.h
-display_options.o: /LinuxPPC/CDK/include/asm/ptrace.h
-display_options.o: /LinuxPPC/CDK/include/asm/residual.h
-display_options.o: /LinuxPPC/CDK/include/asm/pnp.h
-display_options.o: /LinuxPPC/CDK/include/asm/atomic.h
-display_options.o: /LinuxPPC/CDK/include/asm/byteorder.h
-display_options.o: /LinuxPPC/CDK/include/asm/types.h
-display_options.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-display_options.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-display_options.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-display_options.o: /LinuxPPC/CDK/include/linux/types.h
-display_options.o: /LinuxPPC/CDK/include/linux/posix_types.h
-display_options.o: /LinuxPPC/CDK/include/linux/stddef.h
-display_options.o: /LinuxPPC/CDK/include/asm/posix_types.h
-display_options.o: /LinuxPPC/CDK/include/linux/string.h
-display_options.o: /LinuxPPC/CDK/include/asm/string.h
-display_options.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-display_options.o: /home/wd/ppc/ppcboot/include/flash.h
-zlib.o: /home/wd/ppc/ppcboot/include/zlib.h
-zlib.o: /LinuxPPC/CDK/include/linux/string.h
-zlib.o: /LinuxPPC/CDK/include/linux/types.h
-zlib.o: /LinuxPPC/CDK/include/linux/posix_types.h
-zlib.o: /LinuxPPC/CDK/include/linux/stddef.h
-zlib.o: /LinuxPPC/CDK/include/asm/posix_types.h
-zlib.o: /LinuxPPC/CDK/include/asm/types.h /LinuxPPC/CDK/include/asm/string.h
-crc32.o: /home/wd/ppc/ppcboot/include/zlib.h
+sinclude Makedepend.cc
index a6d96670effcb3e1f06416593678c33c9eaee14c..b4c7965d0362f4e0b879a4a3ff2addfc29c64caf 100644 (file)
@@ -53,52 +53,11 @@ clean:
        rm -f $(OBJS)
 
 distclean:     clean
-       rm -f $(BINS) core *.bak
+       rm -f $(BINS) core *.bak Makedepend.cc
 
-#########################################################################
+Makedepend.cc: Makefile $(OBJS:.o=.c)
+       $(CC) -M $(CPPFLAGS) -I../include $(OBJS:.o=.c) > $@
 
-depend dep:
-       $(MAKEDEPEND) -- $(CPPFLAGS) -I../include -- $(OBJS:.o=.c)
+depend dep: Makedepend.cc
 
-#########################################################################
-
-# DO NOT DELETE
-
-img2srec.o: /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stddef.h
-img2srec.o: /usr/include/stdio.h /usr/include/features.h
-img2srec.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
-img2srec.o: /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stdarg.h
-img2srec.o: /usr/include/bits/types.h /usr/include/libio.h
-img2srec.o: /usr/include/_G_config.h /usr/include/bits/stdio_lim.h
-img2srec.o: /usr/include/stdlib.h /usr/include/sys/types.h
-img2srec.o: /usr/include/time.h /usr/include/endian.h
-img2srec.o: /usr/include/bits/endian.h /usr/include/sys/select.h
-img2srec.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
-img2srec.o: /usr/include/sys/sysmacros.h /usr/include/alloca.h
-img2srec.o: /usr/include/ctype.h /usr/include/string.h /usr/include/elf.h
-img2srec.o: /usr/include/stdint.h
-mkimage.o: /usr/include/errno.h /usr/include/features.h
-mkimage.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
-mkimage.o: /usr/include/bits/errno.h /usr/include/linux/errno.h
-mkimage.o: /usr/include/asm/errno.h /usr/include/fcntl.h
-mkimage.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h
-mkimage.o: /usr/include/bits/types.h
-mkimage.o: /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stddef.h
-mkimage.o: /usr/include/time.h /usr/include/endian.h
-mkimage.o: /usr/include/bits/endian.h /usr/include/sys/select.h
-mkimage.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
-mkimage.o: /usr/include/sys/sysmacros.h /usr/include/stdio.h
-mkimage.o: /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stdarg.h
-mkimage.o: /usr/include/libio.h /usr/include/_G_config.h
-mkimage.o: /usr/include/bits/stdio_lim.h /usr/include/stdlib.h
-mkimage.o: /usr/include/alloca.h /usr/include/string.h
-mkimage.o: /usr/include/netinet/in.h /usr/include/stdint.h
-mkimage.o: /usr/include/bits/socket.h /usr/include/bits/sockaddr.h
-mkimage.o: /usr/include/asm/socket.h /usr/include/asm/sockios.h
-mkimage.o: /usr/include/bits/in.h /usr/include/bits/byteswap.h
-mkimage.o: /usr/include/sys/mman.h /usr/include/bits/mman.h
-mkimage.o: /usr/include/sys/stat.h /usr/include/bits/stat.h
-mkimage.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
-mkimage.o: /usr/include/bits/confname.h /usr/include/getopt.h
-mkimage.o: ../include/image.h
-crc32.o: ../include/zlib.h
+sinclude Makedepend.cc
index af19d4732ad4e14e465cb04a606d71f4c7defe23..fac99bf0db7cfd6215a2b6c8d7005da774e67ece 100644 (file)
@@ -34,64 +34,13 @@ clean:
        rm -f $(SOBJS) $(OBJS)
 
 distclean:     clean
-       rm -f $(LIB) core *.bak
+       rm -f $(LIB) core *.bak Makedepend.cc
 
 #########################################################################
 
-depend dep:
-       $(MAKEDEPEND) -- $(CFLAGS) -- $(SOBJS:.o=.S) $(OBJS:.o=.c)
+Makedepend.cc: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
+       $(CC) -M $(CFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@
 
-#########################################################################
-
-# DO NOT DELETE
+depend dep: Makedepend.cc
 
-tqm8xx.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-tqm8xx.o: /home/wd/ppc/ppcboot/include/config.h
-tqm8xx.o: /LinuxPPC/CDK/include/linux/bitops.h
-tqm8xx.o: /LinuxPPC/CDK/include/asm/bitops.h
-tqm8xx.o: /LinuxPPC/CDK/include/asm/system.h
-tqm8xx.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-tqm8xx.o: /LinuxPPC/CDK/include/asm/processor.h
-tqm8xx.o: /LinuxPPC/CDK/include/linux/config.h
-tqm8xx.o: /LinuxPPC/CDK/include/asm/ptrace.h
-tqm8xx.o: /LinuxPPC/CDK/include/asm/residual.h
-tqm8xx.o: /LinuxPPC/CDK/include/asm/pnp.h /LinuxPPC/CDK/include/asm/atomic.h
-tqm8xx.o: /LinuxPPC/CDK/include/asm/byteorder.h
-tqm8xx.o: /LinuxPPC/CDK/include/asm/types.h
-tqm8xx.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-tqm8xx.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-tqm8xx.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-tqm8xx.o: /LinuxPPC/CDK/include/linux/types.h
-tqm8xx.o: /LinuxPPC/CDK/include/linux/posix_types.h
-tqm8xx.o: /LinuxPPC/CDK/include/linux/stddef.h
-tqm8xx.o: /LinuxPPC/CDK/include/asm/posix_types.h
-tqm8xx.o: /LinuxPPC/CDK/include/linux/string.h
-tqm8xx.o: /LinuxPPC/CDK/include/asm/string.h
-tqm8xx.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-tqm8xx.o: /home/wd/ppc/ppcboot/include/flash.h
-tqm8xx.o: /home/wd/ppc/ppcboot/include/mpc8xx.h tqm8xx.h
-flash.o: /home/wd/ppc/ppcboot/include/ppcboot.h
-flash.o: /home/wd/ppc/ppcboot/include/config.h
-flash.o: /LinuxPPC/CDK/include/linux/bitops.h
-flash.o: /LinuxPPC/CDK/include/asm/bitops.h
-flash.o: /LinuxPPC/CDK/include/asm/system.h
-flash.o: /LinuxPPC/CDK/include/linux/kdev_t.h
-flash.o: /LinuxPPC/CDK/include/asm/processor.h
-flash.o: /LinuxPPC/CDK/include/linux/config.h
-flash.o: /LinuxPPC/CDK/include/asm/ptrace.h
-flash.o: /LinuxPPC/CDK/include/asm/residual.h /LinuxPPC/CDK/include/asm/pnp.h
-flash.o: /LinuxPPC/CDK/include/asm/atomic.h
-flash.o: /LinuxPPC/CDK/include/asm/byteorder.h
-flash.o: /LinuxPPC/CDK/include/asm/types.h
-flash.o: /LinuxPPC/CDK/include/linux/byteorder/big_endian.h
-flash.o: /LinuxPPC/CDK/include/linux/byteorder/swab.h
-flash.o: /LinuxPPC/CDK/include/linux/byteorder/generic.h
-flash.o: /LinuxPPC/CDK/include/linux/types.h
-flash.o: /LinuxPPC/CDK/include/linux/posix_types.h
-flash.o: /LinuxPPC/CDK/include/linux/stddef.h
-flash.o: /LinuxPPC/CDK/include/asm/posix_types.h
-flash.o: /LinuxPPC/CDK/include/linux/string.h
-flash.o: /LinuxPPC/CDK/include/asm/string.h
-flash.o: /home/wd/ppc/ppcboot/include/asm/8xx_immap.h
-flash.o: /home/wd/ppc/ppcboot/include/flash.h
-flash.o: /home/wd/ppc/ppcboot/include/mpc8xx.h
+sinclude Makedepend.cc