From 4c2448d871d5407dcffb8582c762c9b83b2f194b Mon Sep 17 00:00:00 2001 From: Rutger Hofman Date: Thu, 23 Apr 2009 14:07:08 +0000 Subject: [PATCH] Rename *.c to cmd_*.c in cmd/. PART 1 of 2. Incomplete commit\! git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1523 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/src/cmd/Makefile.am | 84 +++++++++---------- urjtag/src/cmd/{addpart.c => cmd_addpart.c} | 0 urjtag/src/cmd/{bit.c => cmd_bit.c} | 0 urjtag/src/cmd/{bsdl.c => cmd_bsdl.c} | 0 urjtag/src/cmd/{bus.c => cmd_bus.c} | 0 urjtag/src/cmd/{cable.c => cmd_cable.c} | 0 urjtag/src/cmd/{cmd.c => cmd_cmd.c} | 0 urjtag/src/cmd/{debug.c => cmd_debug.c} | 0 urjtag/src/cmd/{detect.c => cmd_detect.c} | 0 .../cmd/{detectflash.c => cmd_detectflash.c} | 0 .../src/cmd/{discovery.c => cmd_discovery.c} | 0 urjtag/src/cmd/{dr.c => cmd_dr.c} | 0 urjtag/src/cmd/{endian.c => cmd_endian.c} | 0 .../cmd/{eraseflash.c => cmd_eraseflash.c} | 0 urjtag/src/cmd/{flashmem.c => cmd_flashmem.c} | 0 .../src/cmd/{frequency.c => cmd_frequency.c} | 0 urjtag/src/cmd/{get.c => cmd_get.c} | 0 urjtag/src/cmd/{help.c => cmd_help.c} | 0 urjtag/src/cmd/{idcode.c => cmd_idcode.c} | 0 urjtag/src/cmd/{include.c => cmd_include.c} | 0 urjtag/src/cmd/{initbus.c => cmd_initbus.c} | 0 .../cmd/{instruction.c => cmd_instruction.c} | 0 .../{jtag_data_dir.c => cmd_jtag_data_dir.c} | 0 urjtag/src/cmd/{parse.c => cmd_parse.c} | 0 urjtag/src/cmd/{part.c => cmd_part.c} | 0 urjtag/src/cmd/{peekpoke.c => cmd_peekpoke.c} | 0 urjtag/src/cmd/{pod.c => cmd_pod.c} | 0 urjtag/src/cmd/{print.c => cmd_print.c} | 0 urjtag/src/cmd/{quit.c => cmd_quit.c} | 0 urjtag/src/cmd/{readmem.c => cmd_readmem.c} | 0 urjtag/src/cmd/{register.c => cmd_register.c} | 0 urjtag/src/cmd/{reset.c => cmd_reset.c} | 0 urjtag/src/cmd/{salias.c => cmd_salias.c} | 0 urjtag/src/cmd/{scan.c => cmd_scan.c} | 0 urjtag/src/cmd/{set.c => cmd_set.c} | 0 urjtag/src/cmd/{shell.c => cmd_shell.c} | 0 urjtag/src/cmd/{shift.c => cmd_shift.c} | 0 urjtag/src/cmd/{signal.c => cmd_signal.c} | 0 urjtag/src/cmd/{svf.c => cmd_svf.c} | 0 urjtag/src/cmd/{test.c => cmd_test.c} | 0 urjtag/src/cmd/{usleep.c => cmd_usleep.c} | 0 urjtag/src/cmd/{writemem.c => cmd_writemem.c} | 0 42 files changed, 42 insertions(+), 42 deletions(-) rename urjtag/src/cmd/{addpart.c => cmd_addpart.c} (100%) rename urjtag/src/cmd/{bit.c => cmd_bit.c} (100%) rename urjtag/src/cmd/{bsdl.c => cmd_bsdl.c} (100%) rename urjtag/src/cmd/{bus.c => cmd_bus.c} (100%) rename urjtag/src/cmd/{cable.c => cmd_cable.c} (100%) rename urjtag/src/cmd/{cmd.c => cmd_cmd.c} (100%) rename urjtag/src/cmd/{debug.c => cmd_debug.c} (100%) rename urjtag/src/cmd/{detect.c => cmd_detect.c} (100%) rename urjtag/src/cmd/{detectflash.c => cmd_detectflash.c} (100%) rename urjtag/src/cmd/{discovery.c => cmd_discovery.c} (100%) rename urjtag/src/cmd/{dr.c => cmd_dr.c} (100%) rename urjtag/src/cmd/{endian.c => cmd_endian.c} (100%) rename urjtag/src/cmd/{eraseflash.c => cmd_eraseflash.c} (100%) rename urjtag/src/cmd/{flashmem.c => cmd_flashmem.c} (100%) rename urjtag/src/cmd/{frequency.c => cmd_frequency.c} (100%) rename urjtag/src/cmd/{get.c => cmd_get.c} (100%) rename urjtag/src/cmd/{help.c => cmd_help.c} (100%) rename urjtag/src/cmd/{idcode.c => cmd_idcode.c} (100%) rename urjtag/src/cmd/{include.c => cmd_include.c} (100%) rename urjtag/src/cmd/{initbus.c => cmd_initbus.c} (100%) rename urjtag/src/cmd/{instruction.c => cmd_instruction.c} (100%) rename urjtag/src/cmd/{jtag_data_dir.c => cmd_jtag_data_dir.c} (100%) rename urjtag/src/cmd/{parse.c => cmd_parse.c} (100%) rename urjtag/src/cmd/{part.c => cmd_part.c} (100%) rename urjtag/src/cmd/{peekpoke.c => cmd_peekpoke.c} (100%) rename urjtag/src/cmd/{pod.c => cmd_pod.c} (100%) rename urjtag/src/cmd/{print.c => cmd_print.c} (100%) rename urjtag/src/cmd/{quit.c => cmd_quit.c} (100%) rename urjtag/src/cmd/{readmem.c => cmd_readmem.c} (100%) rename urjtag/src/cmd/{register.c => cmd_register.c} (100%) rename urjtag/src/cmd/{reset.c => cmd_reset.c} (100%) rename urjtag/src/cmd/{salias.c => cmd_salias.c} (100%) rename urjtag/src/cmd/{scan.c => cmd_scan.c} (100%) rename urjtag/src/cmd/{set.c => cmd_set.c} (100%) rename urjtag/src/cmd/{shell.c => cmd_shell.c} (100%) rename urjtag/src/cmd/{shift.c => cmd_shift.c} (100%) rename urjtag/src/cmd/{signal.c => cmd_signal.c} (100%) rename urjtag/src/cmd/{svf.c => cmd_svf.c} (100%) rename urjtag/src/cmd/{test.c => cmd_test.c} (100%) rename urjtag/src/cmd/{usleep.c => cmd_usleep.c} (100%) rename urjtag/src/cmd/{writemem.c => cmd_writemem.c} (100%) diff --git a/urjtag/src/cmd/Makefile.am b/urjtag/src/cmd/Makefile.am index bd19bc59..c626356b 100644 --- a/urjtag/src/cmd/Makefile.am +++ b/urjtag/src/cmd/Makefile.am @@ -25,53 +25,53 @@ include $(top_srcdir)/Makefile.rules noinst_LIBRARIES = libcmd.a -libcmd_a_SOURCES = \ - frequency.c \ - cable.c \ - reset.c \ - discovery.c \ - idcode.c \ - detect.c \ - detectflash.c \ - help.c \ - quit.c \ - scan.c \ - signal.c \ - salias.c \ - bit.c \ - register.c \ - initbus.c \ - print.c \ - part.c \ - bus.c \ - instruction.c \ - shift.c \ - dr.c \ - get.c \ - test.c \ - debug.c \ - shell.c \ - set.c \ - endian.c \ - parse.c \ - peekpoke.c \ - pod.c \ - readmem.c \ - writemem.c \ - flashmem.c \ - eraseflash.c \ - include.c \ - addpart.c \ - cmd.c \ - usleep.c \ - jtag_data_dir.c +libcmd_a_SOURCES = +libcmd_a_SOURCES += cmd_frequency.c +libcmd_a_SOURCES += cmd_cable.c +libcmd_a_SOURCES += cmd_reset.c +libcmd_a_SOURCES += cmd_discovery.c +libcmd_a_SOURCES += cmd_idcode.c +libcmd_a_SOURCES += cmd_detect.c +libcmd_a_SOURCES += cmd_detectflash.c +libcmd_a_SOURCES += cmd_help.c +libcmd_a_SOURCES += cmd_quit.c +libcmd_a_SOURCES += cmd_scan.c +libcmd_a_SOURCES += cmd_signal.c +libcmd_a_SOURCES += cmd_salias.c +libcmd_a_SOURCES += cmd_bit.c +libcmd_a_SOURCES += cmd_register.c +libcmd_a_SOURCES += cmd_initbus.c +libcmd_a_SOURCES += cmd_print.c +libcmd_a_SOURCES += cmd_part.c +libcmd_a_SOURCES += cmd_bus.c +libcmd_a_SOURCES += cmd_instruction.c +libcmd_a_SOURCES += cmd_shift.c +libcmd_a_SOURCES += cmd_dr.c +libcmd_a_SOURCES += cmd_get.c +libcmd_a_SOURCES += cmd_test.c +libcmd_a_SOURCES += cmd_debug.c +libcmd_a_SOURCES += cmd_shell.c +libcmd_a_SOURCES += cmd_set.c +libcmd_a_SOURCES += cmd_endian.c +libcmd_a_SOURCES += cmd_parse.c +libcmd_a_SOURCES += cmd_peekpoke.c +libcmd_a_SOURCES += cmd_pod.c +libcmd_a_SOURCES += cmd_readmem.c +libcmd_a_SOURCES += cmd_writemem.c +libcmd_a_SOURCES += cmd_flashmem.c +libcmd_a_SOURCES += cmd_eraseflash.c +libcmd_a_SOURCES += cmd_include.c +libcmd_a_SOURCES += cmd_addpart.c +libcmd_a_SOURCES += cmd_cmd.c +libcmd_a_SOURCES += cmd_usleep.c +libcmd_a_SOURCES += cmd_jtag_data_dir.c if ENABLE_SVF -libcmd_a_SOURCES += svf.c +libcmd_a_SOURCES += cmd_svf.c endif if ENABLE_BSDL -libcmd_a_SOURCES += bsdl.c +libcmd_a_SOURCES += cmd_bsdl.c endif AM_CPPFLAGS = -DJTAG_BIN_DIR=\"$(bindir)\" -DJTAG_DATA_DIR=\"$(pkgdatadir)\" diff --git a/urjtag/src/cmd/addpart.c b/urjtag/src/cmd/cmd_addpart.c similarity index 100% rename from urjtag/src/cmd/addpart.c rename to urjtag/src/cmd/cmd_addpart.c diff --git a/urjtag/src/cmd/bit.c b/urjtag/src/cmd/cmd_bit.c similarity index 100% rename from urjtag/src/cmd/bit.c rename to urjtag/src/cmd/cmd_bit.c diff --git a/urjtag/src/cmd/bsdl.c b/urjtag/src/cmd/cmd_bsdl.c similarity index 100% rename from urjtag/src/cmd/bsdl.c rename to urjtag/src/cmd/cmd_bsdl.c diff --git a/urjtag/src/cmd/bus.c b/urjtag/src/cmd/cmd_bus.c similarity index 100% rename from urjtag/src/cmd/bus.c rename to urjtag/src/cmd/cmd_bus.c diff --git a/urjtag/src/cmd/cable.c b/urjtag/src/cmd/cmd_cable.c similarity index 100% rename from urjtag/src/cmd/cable.c rename to urjtag/src/cmd/cmd_cable.c diff --git a/urjtag/src/cmd/cmd.c b/urjtag/src/cmd/cmd_cmd.c similarity index 100% rename from urjtag/src/cmd/cmd.c rename to urjtag/src/cmd/cmd_cmd.c diff --git a/urjtag/src/cmd/debug.c b/urjtag/src/cmd/cmd_debug.c similarity index 100% rename from urjtag/src/cmd/debug.c rename to urjtag/src/cmd/cmd_debug.c diff --git a/urjtag/src/cmd/detect.c b/urjtag/src/cmd/cmd_detect.c similarity index 100% rename from urjtag/src/cmd/detect.c rename to urjtag/src/cmd/cmd_detect.c diff --git a/urjtag/src/cmd/detectflash.c b/urjtag/src/cmd/cmd_detectflash.c similarity index 100% rename from urjtag/src/cmd/detectflash.c rename to urjtag/src/cmd/cmd_detectflash.c diff --git a/urjtag/src/cmd/discovery.c b/urjtag/src/cmd/cmd_discovery.c similarity index 100% rename from urjtag/src/cmd/discovery.c rename to urjtag/src/cmd/cmd_discovery.c diff --git a/urjtag/src/cmd/dr.c b/urjtag/src/cmd/cmd_dr.c similarity index 100% rename from urjtag/src/cmd/dr.c rename to urjtag/src/cmd/cmd_dr.c diff --git a/urjtag/src/cmd/endian.c b/urjtag/src/cmd/cmd_endian.c similarity index 100% rename from urjtag/src/cmd/endian.c rename to urjtag/src/cmd/cmd_endian.c diff --git a/urjtag/src/cmd/eraseflash.c b/urjtag/src/cmd/cmd_eraseflash.c similarity index 100% rename from urjtag/src/cmd/eraseflash.c rename to urjtag/src/cmd/cmd_eraseflash.c diff --git a/urjtag/src/cmd/flashmem.c b/urjtag/src/cmd/cmd_flashmem.c similarity index 100% rename from urjtag/src/cmd/flashmem.c rename to urjtag/src/cmd/cmd_flashmem.c diff --git a/urjtag/src/cmd/frequency.c b/urjtag/src/cmd/cmd_frequency.c similarity index 100% rename from urjtag/src/cmd/frequency.c rename to urjtag/src/cmd/cmd_frequency.c diff --git a/urjtag/src/cmd/get.c b/urjtag/src/cmd/cmd_get.c similarity index 100% rename from urjtag/src/cmd/get.c rename to urjtag/src/cmd/cmd_get.c diff --git a/urjtag/src/cmd/help.c b/urjtag/src/cmd/cmd_help.c similarity index 100% rename from urjtag/src/cmd/help.c rename to urjtag/src/cmd/cmd_help.c diff --git a/urjtag/src/cmd/idcode.c b/urjtag/src/cmd/cmd_idcode.c similarity index 100% rename from urjtag/src/cmd/idcode.c rename to urjtag/src/cmd/cmd_idcode.c diff --git a/urjtag/src/cmd/include.c b/urjtag/src/cmd/cmd_include.c similarity index 100% rename from urjtag/src/cmd/include.c rename to urjtag/src/cmd/cmd_include.c diff --git a/urjtag/src/cmd/initbus.c b/urjtag/src/cmd/cmd_initbus.c similarity index 100% rename from urjtag/src/cmd/initbus.c rename to urjtag/src/cmd/cmd_initbus.c diff --git a/urjtag/src/cmd/instruction.c b/urjtag/src/cmd/cmd_instruction.c similarity index 100% rename from urjtag/src/cmd/instruction.c rename to urjtag/src/cmd/cmd_instruction.c diff --git a/urjtag/src/cmd/jtag_data_dir.c b/urjtag/src/cmd/cmd_jtag_data_dir.c similarity index 100% rename from urjtag/src/cmd/jtag_data_dir.c rename to urjtag/src/cmd/cmd_jtag_data_dir.c diff --git a/urjtag/src/cmd/parse.c b/urjtag/src/cmd/cmd_parse.c similarity index 100% rename from urjtag/src/cmd/parse.c rename to urjtag/src/cmd/cmd_parse.c diff --git a/urjtag/src/cmd/part.c b/urjtag/src/cmd/cmd_part.c similarity index 100% rename from urjtag/src/cmd/part.c rename to urjtag/src/cmd/cmd_part.c diff --git a/urjtag/src/cmd/peekpoke.c b/urjtag/src/cmd/cmd_peekpoke.c similarity index 100% rename from urjtag/src/cmd/peekpoke.c rename to urjtag/src/cmd/cmd_peekpoke.c diff --git a/urjtag/src/cmd/pod.c b/urjtag/src/cmd/cmd_pod.c similarity index 100% rename from urjtag/src/cmd/pod.c rename to urjtag/src/cmd/cmd_pod.c diff --git a/urjtag/src/cmd/print.c b/urjtag/src/cmd/cmd_print.c similarity index 100% rename from urjtag/src/cmd/print.c rename to urjtag/src/cmd/cmd_print.c diff --git a/urjtag/src/cmd/quit.c b/urjtag/src/cmd/cmd_quit.c similarity index 100% rename from urjtag/src/cmd/quit.c rename to urjtag/src/cmd/cmd_quit.c diff --git a/urjtag/src/cmd/readmem.c b/urjtag/src/cmd/cmd_readmem.c similarity index 100% rename from urjtag/src/cmd/readmem.c rename to urjtag/src/cmd/cmd_readmem.c diff --git a/urjtag/src/cmd/register.c b/urjtag/src/cmd/cmd_register.c similarity index 100% rename from urjtag/src/cmd/register.c rename to urjtag/src/cmd/cmd_register.c diff --git a/urjtag/src/cmd/reset.c b/urjtag/src/cmd/cmd_reset.c similarity index 100% rename from urjtag/src/cmd/reset.c rename to urjtag/src/cmd/cmd_reset.c diff --git a/urjtag/src/cmd/salias.c b/urjtag/src/cmd/cmd_salias.c similarity index 100% rename from urjtag/src/cmd/salias.c rename to urjtag/src/cmd/cmd_salias.c diff --git a/urjtag/src/cmd/scan.c b/urjtag/src/cmd/cmd_scan.c similarity index 100% rename from urjtag/src/cmd/scan.c rename to urjtag/src/cmd/cmd_scan.c diff --git a/urjtag/src/cmd/set.c b/urjtag/src/cmd/cmd_set.c similarity index 100% rename from urjtag/src/cmd/set.c rename to urjtag/src/cmd/cmd_set.c diff --git a/urjtag/src/cmd/shell.c b/urjtag/src/cmd/cmd_shell.c similarity index 100% rename from urjtag/src/cmd/shell.c rename to urjtag/src/cmd/cmd_shell.c diff --git a/urjtag/src/cmd/shift.c b/urjtag/src/cmd/cmd_shift.c similarity index 100% rename from urjtag/src/cmd/shift.c rename to urjtag/src/cmd/cmd_shift.c diff --git a/urjtag/src/cmd/signal.c b/urjtag/src/cmd/cmd_signal.c similarity index 100% rename from urjtag/src/cmd/signal.c rename to urjtag/src/cmd/cmd_signal.c diff --git a/urjtag/src/cmd/svf.c b/urjtag/src/cmd/cmd_svf.c similarity index 100% rename from urjtag/src/cmd/svf.c rename to urjtag/src/cmd/cmd_svf.c diff --git a/urjtag/src/cmd/test.c b/urjtag/src/cmd/cmd_test.c similarity index 100% rename from urjtag/src/cmd/test.c rename to urjtag/src/cmd/cmd_test.c diff --git a/urjtag/src/cmd/usleep.c b/urjtag/src/cmd/cmd_usleep.c similarity index 100% rename from urjtag/src/cmd/usleep.c rename to urjtag/src/cmd/cmd_usleep.c diff --git a/urjtag/src/cmd/writemem.c b/urjtag/src/cmd/cmd_writemem.c similarity index 100% rename from urjtag/src/cmd/writemem.c rename to urjtag/src/cmd/cmd_writemem.c