From 31403008097ad8137fc70df22ab41a84e146446a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 17 May 2015 13:29:35 +0200 Subject: specifications for timed functions + fix manpage formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') 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") -- cgit v1.2.3-70-g09d2