2007-03-26 08:48:00 +04:00
|
|
|
all:
|
|
|
|
|
2009-10-13 10:40:45 +04:00
|
|
|
install: all simpleinstall
|
|
|
|
uninstall: simpleuninstall
|
2007-03-26 08:48:00 +04:00
|
|
|
|
2009-10-13 10:40:45 +04:00
|
|
|
DOCDIR = $(DOC)
|
|
|
|
simpleinstall:
|
|
|
|
for f in $(DOCS); do \
|
|
|
|
$(INSTALL) 0644 $$f $(DOCDIR)/$$f; \
|
|
|
|
done
|
|
|
|
for f in $(TEXT); do \
|
|
|
|
$(INSTALL) 0644 $$f $(DIR)/$$f; \
|
|
|
|
done
|
|
|
|
for f in $(BINARY); do \
|
|
|
|
$(INSTALL) -b 0644 $$f $(DIR)/$$f; \
|
|
|
|
done
|
|
|
|
for f in $(EXECS); do \
|
|
|
|
$(INSTALL) -b 0755 $$f $(DIR)/$$f; \
|
2007-03-26 08:48:00 +04:00
|
|
|
done
|
|
|
|
|
|
|
|
cleandep:
|
2007-04-23 10:29:02 +04:00
|
|
|
echo CLEANDEP
|
2007-03-26 08:48:00 +04:00
|
|
|
rm .depend 2>/dev/null || true
|
|
|
|
|
2009-06-12 03:46:01 +04:00
|
|
|
tags:
|
|
|
|
files=; \
|
|
|
|
for f in $(OBJ); do \
|
|
|
|
[ -f "$$f.c" ] && files="$$files $$f.c"; \
|
|
|
|
done; \
|
|
|
|
echo CTAGS $$files $(TAGFILES) || \
|
|
|
|
ctags $$files $(TAGFILES)
|
|
|
|
|
|
|
|
.PHONY: all options clean dist install uninstall depend cleandep tags
|
2009-10-13 10:40:45 +04:00
|
|
|
.PHONY: simpleuninstall simpleinstall
|