WAD_LIBS=@WAD_LIBS@
WAD_DEPS=@WAD_DEPS@
WAD_INCS=@WAD_INCS@

EXTRA_PROGRAMS +=		wad
bin_PROGRAMS +=	@WAD_TARGETS@

man_MANS += tools/wad/wad.1

wad_SOURCES=	tools/wad/grab.c tools/wad/script.c tools/wad/wad.c
wad_LDADD=	$(WAD_LIBS)
wad_DEPENDENCIES= $(WAD_DEPS)

EXTRA_DIST += tools/wad/wad.h
