summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 4e6ae202d1508e5d6c4cef1ac5b3a598de08f947 (plain)
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

INCLUDES = -I$(top_srcdir)/libedsio $(GLIB_CFLAGS)

bin_PROGRAMS    = xdelta
bin_SCRIPTS	= xdelta-config

xdelta_SOURCES  = xdmain.c getopt.c getopt1.c

xdelta_LDADD    = libxdelta.la				\
		  $(top_srcdir)/libedsio/libedsio.la	\
		  $(GLIB_LIBS)				\
		  -lz

include_HEADERS = xdelta.h xd_edsio.h
noinst_HEADERS  = xdeltapriv.h getopt.h

lib_LTLIBRARIES = libxdelta.la

libxdelta_la_SOURCES = xdelta.c xdapply.c $(SER_SOURCES)
libxdelta_la_LIBADD  = $(GLIB_LIBS) $(top_srcdir)/libedsio/*.lo

EXTRA_DIST = xd.ser $(SER_OUT) xdelta.magic xdelta.prj xdelta.m4	\
	autogen.sh stamp-ser xdrsync.c

SUBDIRS = libedsio . test doc djgpp

m4datadir = $(datadir)/aclocal
m4data_DATA = xdelta.m4

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xdelta.pc

## $Format: "libxdelta_la_LDFLAGS = -version-info $LibCurrent$:$LibRevision$:$LibAge$" $
libxdelta_la_LDFLAGS = -version-info 2:0:0

#
# Rules for the generated code
#

stamp-ser: $(top_srcdir)/libedsio/edsio.el xd.ser
	$(top_srcdir)/libedsio/edsio-comp xd.ser
	touch stamp-ser

SER_OUT = xd_edsio.h xd_edsio.c

$(SER_OUT): stamp-ser

SER_SOURCES   = xd_edsio.c
BUILT_SOURCES = $(SER_SOURCES)

#
#
#