forked from librsync/librsync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
75 lines (57 loc) · 2.61 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
## Process this file with automake to produce Makefile.in
# Copyright (C) 2000-2002, 2014, 2015 by Martin Pool <[email protected]>
# Copyright (C) 2003 by Donovan Baarda <[email protected]>
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation; either version 2.1 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
AUTOMAKE_OPTIONS = foreign
SUBDIRS = . doc testsuite popt
ACLOCAL_AMFLAGS = -I m4
MAINTAINERCLEANFILES = Makefile.in \
aclocal.m4 config.guess config.h.in config.sub configure \
depcomp install-sh ltmain.sh missing mkinstalldirs \
prototab.c prototab.h
EXTRA_DIST = autogen.sh configure.msc $(noinst_SCRIPTS) rdiff.magic \
librsync.spec README.RPM libversions.txt \
PCbuild/rdiff.dsp PCbuild/PCbuild.dsw PCbuild/config.h \
PCbuild/librsync-config.h
include_HEADERS = librsync.h librsync-config.h
lib_LTLIBRARIES = librsync.la
librsync_la_SOURCES = prototab.c prototab.h \
base64.c buf.c buf.h checksum.c checksum.h command.c \
command.h delta.c emit.c emit.h fileutil.c fileutil.h \
hex.c job.c job.h mdfour.c mdfour.h mksum.c msg.c netint.c netint.h \
patch.c readsums.c librsync.h librsync-config.h \
rollsum.c rollsum.h \
scoop.c search.c search.h stats.c stream.c stream.h sumset.c \
sumset.h trace.c trace.h tube.c types.h util.c util.h \
version.c whole.c whole.h snprintf.h \
blake2b-ref.c blake2.h blake2-impl.h
librsync_la_LIBADD = @LIBOBJS@
librsync_la_LDFLAGS = -version-info @librsync_libversion@
# This is the default for any programs that don't specify a preference.
LDADD = librsync.la
# This is the rdiff application
bin_PROGRAMS = rdiff
rdiff_SOURCES = rdiff.c isprefix.c isprefix.h librsync.h librsync-config.h \
trace.h
rdiff_LDADD = @BUILD_POPT@ librsync.la
rdiff_DEPENDENCIES = @BUILD_POPT@ librsync.la
# this script is used to build prototab.[ch]
noinst_SCRIPTS = mkprototab.pl
# Autogenerated by a script.
prototab.c prototab.h: $(srcdir)/mkprototab.pl
perl $(srcdir)/mkprototab.pl prototab.c prototab.h
# Rule to build popt if needed.
popt/libpopt.a:
(cd popt && $(MAKE) $(AM_MAKEFLAGS) libpopt.a)