File: Makefile.am

package info (click to toggle)
xdelta 1.0.0-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 876 kB
  • ctags: 696
  • sloc: ansic: 5,154; sh: 4,717; lisp: 777; makefile: 64
file content (44 lines) | stat: -rw-r--r-- 952 bytes parent folder | download
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
bin_PROGRAMS    = xdelta

xdelta_SOURCES  = xdmain.c xdmd5.c getopt.c getopt1.c
xdelta_LDADD    = libxdelta.la -lz

include_HEADERS = xdelta.h serializeio.h xdser.h
noinst_HEADERS  = xdeltapriv.h xdmd5.h getopt.h

lib_LTLIBRARIES = libxdelta.la

libxdelta_la_SOURCES =	xdelta.c serializeio.c $(SERGEN_SOURCES)

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

SERGEN_ID = 3
SERGEN_PREFIX = xd

#
# Rules for the generated code
#

SER_DEF = $(SERGEN_PREFIX).ser

SER_SOURCE = $(top_srcdir)/reposer.el

stamp-ser: $(SER_SOURCE) $(SER_DEF)
	$(top_srcdir)/ser-comp $(SER_DEF) $(SERGEN_ID)
	touch stamp-ser

SER_OUT = $(SERGEN_PREFIX)ser.h $(SERGEN_PREFIX)ser.c

$(SER_OUT): stamp-ser

SERGEN_SOURCES = $(SERGEN_PREFIX)ser.c
BUILT_SOURCES  = $(SERGEN_SOURCES)

#
#
#

EXTRA_DIST = xd.ser $(SER_OUT) xdelta.magic xdser.c xdser.h reposer.el stamp-ser xdelta.prj

SUBDIRS=doc