]>
Commit | Line | Data |
---|---|---|
1 | AUTOMAKE_OPTIONS = foreign | |
2 | ||
3 | SUBDIRS = src | |
4 | ||
5 | pkgconfigdir = $(libdir)/pkgconfig | |
6 | pkgconfig_DATA = librb.pc | |
7 | ||
8 | BUILT_SOURCES = include/serno.h | |
9 | ||
10 | # NOTE: you'll want to change the below if you are unbundling | |
11 | include/serno.h: | |
12 | @if [ -f ../include/serno.h ]; then \ | |
13 | cp ../include/serno.h include/; \ | |
14 | else \ | |
15 | echo '#define SERNO "unknown"' >include/serno.h; \ | |
16 | echo '#define DATECODE 0UL' >>include/serno.h; \ | |
17 | fi | |
18 | ||
19 | clean-local: | |
20 | rm -f include/serno.h |