]>
Commit | Line | Data |
---|---|---|
0662f2bb ML |
1 | ## |
2 | ## This file is part of the libserialport project. | |
3 | ## | |
4 | ## Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com> | |
5 | ## Copyright (C) 2013 Martin Ling <martin-libserialport@earth.li> | |
6 | ## | |
7 | ## This program is free software: you can redistribute it and/or modify | |
8 | ## it under the terms of the GNU Lesser General Public License as | |
9 | ## published by the Free Software Foundation, either version 3 of the | |
10 | ## License, or (at your option) any later version. | |
11 | ## | |
12 | ## This program is distributed in the hope that it will be useful, | |
13 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | ## GNU General Public License for more details. | |
16 | ## | |
17 | ## You should have received a copy of the GNU Lesser General Public License | |
18 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
19 | ## | |
20 | ||
21 | ACLOCAL_AMFLAGS = -I autostuff | |
22 | ||
23 | AM_CPPFLAGS = -I$(top_srcdir) | |
24 | ||
25 | lib_LTLIBRARIES = libserialport.la | |
26 | ||
bd791fe1 | 27 | libserialport_la_SOURCES = serialport.c |
27e231ff | 28 | if LINUX |
bd791fe1 | 29 | libserialport_la_SOURCES += linux_termios.c linux_termios.h |
27e231ff | 30 | endif |
0662f2bb ML |
31 | |
32 | libserialport_la_LIBADD = $(LIBOBJS) | |
33 | ||
34 | libserialport_la_LDFLAGS = $(SP_LIB_LDFLAGS) | |
35 | ||
36 | library_includedir = $(includedir) | |
f6a1fb65 | 37 | library_include_HEADERS = libserialport.h |
0662f2bb ML |
38 | |
39 | pkgconfigdir = $(libdir)/pkgconfig | |
40 | pkgconfig_DATA = libserialport.pc | |
41 | ||
8814faa3 UH |
42 | EXTRA_DIST = Doxyfile |
43 | ||
0662f2bb ML |
44 | MAINTAINERCLEANFILES = ChangeLog |
45 | ||
46 | .PHONY: ChangeLog | |
47 | ChangeLog: | |
48 | git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog | |
49 | ||
50 | dist-hook: ChangeLog | |
cd5f5281 | 51 | |
104f093d UH |
52 | doc: $(library_include_HEADERS) $(top_srcdir)/Doxyfile |
53 | doxygen $(top_srcdir)/Doxyfile |