INSTALLBIN = cloud cloudmap INSTALLMAN = cloud.8 cloudmap.1 CC_ADD = -g -DVERSION=\"$(VERSION)\" BUILDBINS = $(INSTALLBIN) OBJ_cloud = cloud.o dequal.o kroute.o oq.o pollloop.o stdio-util.o\ timer.o LIBS_cloud = -larc4 -lrijndael -lsha LIBS_cloudmap = -lm crctable: gen-crc-table ./gen-crc-table > crctable PREDEPEND += crctable CLEANFILES += crctable .MAIN: $(BUILDBINS) # defaults the package-with-version string to be # $(.CURDIR:T), which is wrong for us. VERSION != eval "`mcgrep -1 VER= ../TRANSCRIPT`"; echo cloud-$$VER .include