configure/tests/command/Makefile.NetBSD

33 lines
494 B
Makefile

TARGETS = phony $(OBJDIR)target $(OBJDIR)xinstall
RM = rm -f
LN = ln -f
MKDIR = mkdir -m 0755 -p
INSTALL = install
all: $(TARGETS)
phony:
exit 42
$(OBJDIR)target:
$(MAKE) command
$(OBJDIR)xinstall:
$(MAKE) command
clean:
$(RM) --
distclean: clean
$(RM) -- $(TARGETS)
install: all
$(MKDIR) $(DESTDIR)$(PREFIX)
$(INSTALL) -m 0644 $(OBJDIR)xinstall $(DESTDIR)$(PREFIX)/xinstall
uninstall:
$(RM) -- $(DESTDIR)$(PREFIX)/xinstall
.PHONY: all clean distclean install uninstall phony