~gaul/percona-data-recovery-tool-for-innodb/disable-pointer-sign-warnings

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: aleksandr.kuzminsky
  • Date: 2012-09-05 10:09:17 UTC
  • mfrom: (68.2.1 ibd_rename_ids)
  • Revision ID: aleksandr.kuzminsky@bm-smm01-20120905100917-tp84zmco2xohdgjh
* Added tool ibd_rename_ids:


    InnoDB tablespace, table, and index id renamer

    This utility allows renaming InnoDB ids, useful for recovering ibd
    files without corresponding frm files. This initial commit requires
    innodb_file_per_table due to confusion between tablespace and table
    ids.


* Changed name of tool innochecksum to innochecksum_changer to prevent conflicts with the similar tool from MySQL distribution

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
PREFIX?=/usr/local/bin
8
8
 
9
 
BINARIES=constraints_parser page_parser page_printer innochecksum ibdconnect s_tables s_indexes bgrep
 
9
BINARIES=constraints_parser page_parser page_printer innochecksum_changer ibdconnect s_tables s_indexes bgrep ibd_rename_ids
10
10
all: prerequisites $(BINARIES)
11
11
 
12
12
prerequisites:
48
48
constraints_parser: constraints_parser.c lib/tables_dict.o lib/print_data.o lib/check_data.o lib/libut.a lib/libmystrings.a
49
49
        gcc $(CFLAGS) $(INCLUDES) -o $@ $^
50
50
 
51
 
innochecksum: innochecksum.c include/innochecksum.h
 
51
innochecksum_changer: innochecksum.c include/innochecksum.h
52
52
        gcc $(CFLAGS) $(INCLUDES) -o $@ $<
53
53
 
54
54
ibdconnect: ibdconnect.c include/ibdconnect.h include/sys_defs.h
63
63
s_indexes: s_indexes.c
64
64
        gcc $(CFLAGS) $(INCLUDES) -o $@ $<
65
65
 
 
66
ibd_rename_ids: ibd_rename_ids.c include/innochecksum.h
 
67
        gcc $(CFLAGS) $(INCLUDES) -o $@ $<
 
68
 
66
69
dict_parsers: all
67
70
        @mkdir -p bin
68
71
        @ln -fs table_defs.h.SYS_TABLES include/table_defs.h