~akopytov/percona-xtrabackup/bug1169509-2.0

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Alexey Kopytov
  • Date: 2011-04-21 06:36:29 UTC
  • mto: This revision was merged to the branch mainline in revision 249.
  • Revision ID: akopytov@gmail.com-20110421063629-s951sxdgt2gi93xw
Added initial support for Windows builds:

- removed the compatibility symlink from the source tree, it will be
created when packaging once the necessary changes are merged from the
release branch

- abstracted away regex API into xb_regex.h so we can use native regex
on POSIX systems and my_regex on Windows

- fixed a number of code issues which Visual Studio builds

- added CMakeLists.txt

- added building instructions in BUILD-WIN.txt

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
xtradb55: $(TARGET)
129
129
 
130
130
 
131
 
xtrabackup.o: xtrabackup.c
 
131
xtrabackup.o: xtrabackup.c xb_regex.h
132
132
        $(CC) $(CFLAGS) $(INC) $(DEFS) -c $*.c
133
133
 
134
134
$(TARGET): xtrabackup.o $(INNODBOBJS) $(MYSQLOBJS)
136
136
 
137
137
clean:
138
138
        rm -f *.o xtrabackup_* 
139
 
install:
140
 
        install -m 755 innobackupex-1.5.1 $(BIN_DIR)
141
 
        install -m 755 xtrabackup_*  $(BIN_DIR)