aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-17 13:29:35 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-17 13:29:35 +0200
commit31403008097ad8137fc70df22ab41a84e146446a (patch)
treee40e4c3bce6c51ada8ff7c129ad183efc24e81b2 /Makefile
parentadd -x option to create command, and -n option to broadcast command (diff)
downloadbus-31403008097ad8137fc70df22ab41a84e146446a.tar.gz
bus-31403008097ad8137fc70df22ab41a84e146446a.tar.bz2
bus-31403008097ad8137fc70df22ab41a84e146446a.tar.xz
specifications for timed functions + fix manpage formatting
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1921abb..04779e3 100644
--- a/Makefile
+++ b/Makefile
@@ -68,12 +68,12 @@ bin/libbus.a: obj/bus-fpic.o
bin/bus: obj/cmdline-nofpic.o obj/bus-nofpic.o
@echo CC -o $@
@mkdir -p bin
- @${CC} ${FLAGS} -o $@ $^ ${LDFLAGS}
+ @${CC} ${FLAGS} -lrt -o $@ $^ ${LDFLAGS}
bin/libbus.so.${LIB_VERSION}: obj/bus-fpic.o
@echo CC -o $@
@mkdir -p bin
- @${CC} ${FLAGS} -shared -Wl,-soname,libbus.so.${LIB_MAJOR} -o $@ $^ ${LDFLAGS}
+ @${CC} ${FLAGS} -lrt -shared -Wl,-soname,libbus.so.${LIB_MAJOR} -o $@ $^ ${LDFLAGS}
bin/libbus.so.${LIB_MAJOR}:
@echo LN -s $@
@@ -161,6 +161,9 @@ uninstall:
-rm -- $(foreach M,${MAN3},"${DESTDIR}${MANDIR}/man3/${M}.3")
-rm -- "${DESTDIR}${MANDIR}/man3/bus_poll_start.3"
-rm -- "${DESTDIR}${MANDIR}/man3/bus_poll_stop.3"
+ -rm -- "${DESTDIR}${MANDIR}/man3/bus_poll_timed.3"
+ -rm -- "${DESTDIR}${MANDIR}/man3/bus_read_timed.3"
+ -rm -- "${DESTDIR}${MANDIR}/man3/bus_write_timed.3"
-rm -- $(foreach M,${MAN5},"${DESTDIR}${MANDIR}/man5/${M}.5")
-rm -- $(foreach M,${MAN7},"${DESTDIR}${MANDIR}/man7/${M}.7")