MAINTAINERCLEANFILES = Makefile.in AM_CFLAGS = -fPIC -Werror -funsigned-char -Wno-pointer-sign AM_CPPFLAGS = -I$(top_builddir)/include sbin_PROGRAMS = boothd boothd_SOURCES = config.c main.c paxos.c ticket.c transport.c \ pacemaker.c #boothd_LDLIBS = -lplumbgpl # doesn't work? boothd_LDFLAGS = $(OS_DYFLAGS) -L./ -lplumbgpl -lz boothd_CPPFLAGS = $(GLIB_CFLAGS) noinst_HEADERS = booth.h pacemaker.h \ config.h log.h paxos.h ticket.h transport.h if HAVE_HELP2MAN man_MANS = booth.8 boothd.8 MAINTAINERCLEANFILES += $(man_MANS) EXTRA_DIST = $(man_MANS) %.8: % $(HELP2MAN) -s 8 -N -o $@ ./$< booth.8: boothd.8 cp $< $@ endif lint: -splint $(INCLUDES) $(LINT_FLAGS) $(CFLAGS) *.c