Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 132 lines (108 sloc) 2.643 kB
4496a77 @MaxKellermann use autotools instead of plain Makefile
MaxKellermann authored
1 ACLOCAL_AMFLAGS = -I m4
2 AUTOMAKE_OPTIONS = foreign 1.9 dist-bzip2
3
5d2c92a @MaxKellermann moved public headers to include/mpd/
MaxKellermann authored
4 mpdincludedir = $(includedir)/mpd
5 mpdinclude_HEADERS = \
aea3f55 @MaxKellermann async: new libmpdclient sub-library for asynchronous connections
MaxKellermann authored
6 include/mpd/async.h \
5d2c92a @MaxKellermann moved public headers to include/mpd/
MaxKellermann authored
7 include/mpd/client.h \
8ad230a @MaxKellermann command: reimplemented mpd_send*() functions with mpd_send_command()
MaxKellermann authored
8 include/mpd/command.h \
5d2c92a @MaxKellermann moved public headers to include/mpd/
MaxKellermann authored
9 include/mpd/connection.h \
41512f2 @MaxKellermann entity: moved "cpos" code to mpd/cpos.h
MaxKellermann authored
10 include/mpd/cpos.h \
1c30f07 @MaxKellermann moved code to directory.c, directory.h
MaxKellermann authored
11 include/mpd/directory.h \
bdd0533 Split libmpdclient: entity
Marc Pavot authored
12 include/mpd/entity.h \
45c1e46 @MaxKellermann moved "enum mpd_error" to error.h
MaxKellermann authored
13 include/mpd/error.h \
5d2c92a @MaxKellermann moved public headers to include/mpd/
MaxKellermann authored
14 include/mpd/idle.h \
d013564 @MaxKellermann moved command list code to list.c
MaxKellermann authored
15 include/mpd/list.h \
b877bc3 @MaxKellermann parser: added a response parser library
MaxKellermann authored
16 include/mpd/parser.h \
e652fff @MaxKellermann moved "enum mpd_ack" to protocol.h
MaxKellermann authored
17 include/mpd/protocol.h \
deacf28 @MaxKellermann connection: moved pair receiving code to recv.c
MaxKellermann authored
18 include/mpd/recv.h \
81413e9 @MaxKellermann client: moved response functions to response.c
MaxKellermann authored
19 include/mpd/response.h \
da2cea6 @MaxKellermann replaced mpd_sendAddIdCommand() with mpd_run_addid()
MaxKellermann authored
20 include/mpd/run.h \
30a4727 @MaxKellermann send: new sub-library for sending commands with arguments
MaxKellermann authored
21 include/mpd/send.h \
539b21b Merge branch 'master' of git://git.musicpd.org/cirrus/libmpdclient
Marc Pavot authored
22 include/mpd/status.h \
23 include/mpd/stats.h \
07e0871 @MaxKellermann moved enum mpd_TagItems to mpd/tag.h
MaxKellermann authored
24 include/mpd/tag.h \
18edaeb @MaxKellermann moved code to output.c, output.h
MaxKellermann authored
25 include/mpd/output.h \
6b47d00 @MaxKellermann renamed return_element.h to pair.h
MaxKellermann authored
26 include/mpd/pair.h \
11cfd40 Rewrite 'Search' interface
Marc Pavot authored
27 include/mpd/search.h \
fc6e21b @MaxKellermann client: moved code to stored_playlist.c
MaxKellermann authored
28 include/mpd/song.h \
29 include/mpd/stored_playlist.h
5d2c92a @MaxKellermann moved public headers to include/mpd/
MaxKellermann authored
30
62bfe1d @MaxKellermann Makefile.am: prepend $(srcdir) for out-of-tree builds
MaxKellermann authored
31 AM_CPPFLAGS += -I$(srcdir)/include
5d2c92a @MaxKellermann moved public headers to include/mpd/
MaxKellermann authored
32
1beb078 @MaxKellermann moved sources to src/
MaxKellermann authored
33 lib_LTLIBRARIES = src/libmpdclient.la
4496a77 @MaxKellermann use autotools instead of plain Makefile
MaxKellermann authored
34
1beb078 @MaxKellermann moved sources to src/
MaxKellermann authored
35 src_libmpdclient_la_SOURCES = \
aea3f55 @MaxKellermann async: new libmpdclient sub-library for asynchronous connections
MaxKellermann authored
36 src/async.c \
f2f6bec @MaxKellermann added internal buffer library
MaxKellermann authored
37 src/buffer.h \
2cc167d @MaxKellermann connection: make "struct connection" opaque
MaxKellermann authored
38 src/internal.h \
ab6b293 @MaxKellermann manage tag string allocations in a pool
MaxKellermann authored
39 src/str_pool.c src/str_pool.h \
d10fa38 @MaxKellermann error: added "struct mpd_error"
MaxKellermann authored
40 src/ierror.c src/ierror.h \
f94949d @MaxKellermann added resolver library
MaxKellermann authored
41 src/resolver.c src/resolver.h \
8ad230a @MaxKellermann command: reimplemented mpd_send*() functions with mpd_send_command()
MaxKellermann authored
42 src/command.c \
5d2c92a @MaxKellermann moved public headers to include/mpd/
MaxKellermann authored
43 src/connection.c \
41512f2 @MaxKellermann entity: moved "cpos" code to mpd/cpos.h
MaxKellermann authored
44 src/cpos.c \
1c30f07 @MaxKellermann moved code to directory.c, directory.h
MaxKellermann authored
45 src/directory.c \
18edaeb @MaxKellermann moved code to output.c, output.h
MaxKellermann authored
46 src/output.c \
bdd0533 Split libmpdclient: entity
Marc Pavot authored
47 src/entity.c \
5d2c92a @MaxKellermann moved public headers to include/mpd/
MaxKellermann authored
48 src/idle.c \
d0db730 @MaxKellermann iso8601: new library for parsing ISO8601 time stamps
MaxKellermann authored
49 src/iso8601.h \
50 src/iso8601.c \
d013564 @MaxKellermann moved command list code to list.c
MaxKellermann authored
51 src/list.c \
b877bc3 @MaxKellermann parser: added a response parser library
MaxKellermann authored
52 src/parser.c \
c94a9da @MaxKellermann send: moved quote() and escape() to quote.c
MaxKellermann authored
53 src/quote.c src/quote.h \
deacf28 @MaxKellermann connection: moved pair receiving code to recv.c
MaxKellermann authored
54 src/recv.c \
81413e9 @MaxKellermann client: moved response functions to response.c
MaxKellermann authored
55 src/response.c \
da2cea6 @MaxKellermann replaced mpd_sendAddIdCommand() with mpd_run_addid()
MaxKellermann authored
56 src/run.c \
11cfd40 Rewrite 'Search' interface
Marc Pavot authored
57 src/search.c \
30a4727 @MaxKellermann send: new sub-library for sending commands with arguments
MaxKellermann authored
58 src/send.c \
640a3d7 @MaxKellermann socket: new socket library
MaxKellermann authored
59 src/socket.c src/socket.h \
5d2c92a @MaxKellermann moved public headers to include/mpd/
MaxKellermann authored
60 src/song.c \
539b21b Merge branch 'master' of git://git.musicpd.org/cirrus/libmpdclient
Marc Pavot authored
61 src/status.c \
fd3ee44 @MaxKellermann status: moved connection specific code to cstatus.c
MaxKellermann authored
62 src/cstatus.c \
539b21b Merge branch 'master' of git://git.musicpd.org/cirrus/libmpdclient
Marc Pavot authored
63 src/stats.c \
3c0d900 @MaxKellermann stats: moved connection specific code to cstats.c
MaxKellermann authored
64 src/cstats.c \
fc6e21b @MaxKellermann client: moved code to stored_playlist.c
MaxKellermann authored
65 src/stored_playlist.c \
23402f0 @MaxKellermann sync: new internal sub-library for synchronous mpd_async calls
MaxKellermann authored
66 src/sync.c src/sync.h \
da2cea6 @MaxKellermann replaced mpd_sendAddIdCommand() with mpd_run_addid()
MaxKellermann authored
67 src/tag.c
4496a77 @MaxKellermann use autotools instead of plain Makefile
MaxKellermann authored
68
1beb078 @MaxKellermann moved sources to src/
MaxKellermann authored
69 src_libmpdclient_la_LDFLAGS = -version-info @LIBMPDCLIENT_LIBTOOL_VERSION@ \
62bfe1d @MaxKellermann Makefile.am: prepend $(srcdir) for out-of-tree builds
MaxKellermann authored
70 -Wl,--version-script=$(srcdir)/libmpdclient.ld
4496a77 @MaxKellermann use autotools instead of plain Makefile
MaxKellermann authored
71
a734ab4 Add unit tests to libmpclient
Marc Pavot authored
72 noinst_PROGRAMS = src/example test/test
4496a77 @MaxKellermann use autotools instead of plain Makefile
MaxKellermann authored
73
1beb078 @MaxKellermann moved sources to src/
MaxKellermann authored
74 src_example_SOURCES = src/example.c
75 src_example_LDADD = src/libmpdclient.la
5a1b2a0 @MaxKellermann Makefile.am: added "sparse-check" target
MaxKellermann authored
76
a734ab4 Add unit tests to libmpclient
Marc Pavot authored
77 test_test_SOURCES = test/main.c
78 test_test_LDADD = src/libmpdclient.la
79
5a1b2a0 @MaxKellermann Makefile.am: added "sparse-check" target
MaxKellermann authored
80
81 #
82 # sparse
83 #
84
85 SPARSE = sparse
86 SPARSE_FLAGS =
87 SPARSE_CPPFLAGS = $(DEFAULT_INCLUDES) \
88 -I$(shell $(CC) -print-file-name=include) \
89 -I$(shell $(CC) -print-file-name=include-fixed)
90 sparse-check:
880f83c @MaxKellermann Makefile.am: run sparse once
MaxKellermann authored
91 $(SPARSE) -I. $(CFLAGS) $(AM_CPPFLAGS) $(SPARSE_FLAGS) $(SPARSE_CPPFLAGS) $(src_libmpdclient_la_SOURCES)
5f4f149 @MaxKellermann Makefile.am: moved documentation variables down
MaxKellermann authored
92
93 #
94 # Documentation
95 #
96
760182f @MaxKellermann Makefile.am: install COPYING
MaxKellermann authored
97 doc_DATA = README COPYING
5f4f149 @MaxKellermann Makefile.am: moved documentation variables down
MaxKellermann authored
98
a4be8a1 @MaxKellermann added doxygen.conf
MaxKellermann authored
99 if DOXYGEN
100
101 doc/api/html/index.html: doc/doxygen.conf $(wildcard include/mpd/*.h)
102 $(DOXYGEN) $<
103
104 all-local: doc/api/html/index.html
105
106 mostlyclean-local:
107 rm -rf doc/api
108
109 install-data-local: doc/api/html/index.html
110 $(mkinstalldirs) $(DESTDIR)$(docdir)/html
111 $(INSTALL_DATA) -c -m 644 doc/api/html/*.html doc/api/html/*.css \
112 doc/api/html/*.png doc/api/html/*.gif \
113 $(DESTDIR)$(docdir)/html
114
115 endif
116
5f4f149 @MaxKellermann Makefile.am: moved documentation variables down
MaxKellermann authored
117 #
e8c1b25 @MaxKellermann Makefile.am: install and distribute the pkg-config file
MaxKellermann authored
118 # Installation
119 #
120
5b700b6 @DaveDavenport Fix install path libmpdclient.pc (from datadir -> libdir)
DaveDavenport authored
121 pkgconfigdir = $(libdir)/pkgconfig
e8c1b25 @MaxKellermann Makefile.am: install and distribute the pkg-config file
MaxKellermann authored
122 pkgconfig_DATA = libmpdclient.pc
123
124 #
5f4f149 @MaxKellermann Makefile.am: moved documentation variables down
MaxKellermann authored
125 # Distribution
126 #
127
128 EXTRA_DIST = \
129 libmpdclient.ld \
e8c1b25 @MaxKellermann Makefile.am: install and distribute the pkg-config file
MaxKellermann authored
130 libmpdclient.pc.in \
5f4f149 @MaxKellermann Makefile.am: moved documentation variables down
MaxKellermann authored
131 $(doc_DATA)
Something went wrong with that request. Please try again.