4 LTFLAGS
=--tag
=CC
--silent
5 CFLAGS
=-g
-O2
-pthread
-Wall
-Werror
=implicit-function-declaration
7 CPPFLAGS
=-DLINUX
=2 -D_REENTRANT
-D_GNU_SOURCE
-D_LARGEFILE64_SOURCE
9 COMPILE
=$(CC
) $(CPPFLAGS
) $(CFLAGS
) $(INCLUDES
)
10 LINK
=$(LIBTOOL
) $(LTFLAGS
) --mode
=link
$(CC
) $(CFLAGS
)
11 LT_COMPILE
=$(LIBTOOL
) $(LTFLAGS
) --mode
=compile
$(COMPILE
) $(CFLAGS
)
13 INCLUDES
=-I
/usr
/include/subversion-1
-I
/usr
/include/apr-1.0
14 LIBS
=-lsvn_client-1
-lsvn_ra-1
-lsvn_repos-1
-lsvn_delta-1
-lsvn_subr-1
-lapr-1
15 OBJECTS
=dump_editor.lo load_editor.lo svnrdump.lo svn17_compat.lo
19 svnrdump
$(EXEEXT
): $(OBJECTS
)
20 $(LINK
) $(LDFLAGS
) -o svnrdump
$(EXEEXT
) $(OBJECTS
) $(LIBS
)
23 $(LT_COMPILE
) -o
$@
-c
$<
25 dump_editor.lo
: dump_editor.c dump_editor.h svn17_compat.h
26 load_editor.lo
: load_editor.c load_editor.h svn17_compat.h
27 svnrdump.lo
: svnrdump.c dump_editor.h load_editor.h svn17_compat.h
28 svn17_compat.lo
: svn17_compat.c svn17_compat.h
30 check: svnrdump
$(EXEEXT
) svnrdump_tests.py
31 $(PYTHON
) svnrdump_tests.py
34 $(RM
) svnrdump
$(EXEEXT
)