wmii/mk/lib.mk
Kris Maglione 37d553300f Significant changes:
Improved focus semantics.
	/client/*/ctl slay command.
	Find unresponsive clients on kill.
	Draw titlebars of floating clients differently.
	Hack to set window properties of programs:
		wihack command/libwmii_hack.so library.
	Added wmii.rc, on which rc.wmii now depends.
	The usual cleanup.
2008-01-17 17:50:35 -05:00

31 lines
622 B
Makefile

PTARG = $(ROOT)/lib/$(TARG)
LIB = $(PTARG).a
OFILES = ${OBJ:=.o}
all: $(HFILES) $(LIB)
install: $(PTARG).install
uninstall: $(PTARG).uninstall
clean: libclean
depend: ${OBJ:=.depend}
libclean:
for i in $(LIB) $(OFILES); do \
rm -f $$i; \
done 2>/dev/null || true
printinstall:
echo 'Install directories:'
echo ' Lib: $(LIBDIR)'
$(LIB): $(OFILES)
echo AR $$($(CLEANNAME) $(BASE)/$@)
mkdir $(ROOT)/lib 2>/dev/null || true
$(AR) $@ $(OFILES)
SOMKSH=case "$(MAKESO)" in 1|[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]) echo $(ROOT)/mk/so.mk;; *) echo /dev/null;; esac
SOMK:=${shell $(SOMKSH)}
SOMK!=$(SOMKSH)
include $(SOMK)