source: trunk/third/scrollkeeper/libs/Makefile.am @ 20861

Revision 20861, 866 bytes checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20860, which included commits to RCS files with non-trunk default branches.
Line 
1lib_LTLIBRARIES=libscrollkeeper.la
2
3INCLUDES = \
4        $(XML_CFLAGS) \
5        $(XSLT_CFLAGS) \
6        $(HOST_TYPE) \
7        -DSCROLLKEEPER_STATEDIR=\""$(localstatedir)"\"
8
9libscrollkeeper_la_SOURCES = \
10        scrollkeeper.h \
11        error.c \
12        file.c \
13        i18n.c \
14        merge.c \
15        extract.c \
16        install.c \
17        database.c \
18        uninstall.c \
19        update-url.c
20       
21# Ideally, BUILT_SOURCES should be used here. However, that variable does not
22# quite work until automake-1.7 is used, so we do it manually for now.
23built_sources = scrollkeeper.h
24
25$(OBJECTS) $(libscrollkeeper_la_OBJECTS): $(built_sources)
26
27libscrollkeeper_la_LIBADD = $(XML_LIBS) $(XSLT_LIBS)
28
29scrollkeeper.h : Makefile $(srcdir)/scrollkeeper.h.in
30        sed -e 's,@localstatedir\@,$(localstatedir),g' \
31            -e 's,@prefix\@,$(prefix),g' \
32            $(srcdir)/scrollkeeper.h.in > scrollkeeper.h
33
34EXTRA_DIST = scrollkeeper.h.in
35
36CLEANFILES = $(built_sources)
Note: See TracBrowser for help on using the repository browser.