2007-03-26 08:48:00 +04:00
|
|
|
ROOT=..
|
2008-01-18 01:50:35 +03:00
|
|
|
include $(ROOT)/mk/hdr.mk
|
|
|
|
include $(ROOT)/mk/wmii.mk
|
2007-03-26 08:48:00 +04:00
|
|
|
|
2008-01-18 01:50:35 +03:00
|
|
|
wmiir.c: $(ROOT)/mk/wmii.mk
|
2007-03-26 20:57:46 +04:00
|
|
|
|
2008-10-14 08:17:01 +04:00
|
|
|
DIRS = wmii \
|
|
|
|
menu
|
2008-01-18 01:50:35 +03:00
|
|
|
TARG = wihack \
|
|
|
|
wmii.rc \
|
2008-01-21 02:00:21 +03:00
|
|
|
wmii.sh \
|
2008-01-18 01:50:35 +03:00
|
|
|
wmii9menu \
|
2007-03-26 08:48:00 +04:00
|
|
|
wmii9rc \
|
|
|
|
wmiir \
|
|
|
|
wmiistartrc
|
|
|
|
|
|
|
|
OFILES = util.o
|
2008-01-18 01:50:35 +03:00
|
|
|
FILTER = sed "s|CONFPREFIX|$(ETC)|g; \
|
|
|
|
s|CONFVERSION|$(CONFVERSION)|g; \
|
|
|
|
s|P9PATHS|$(P9PATHS)|g; \
|
|
|
|
s|LIBDIR|$(LIBDIR)|g; \
|
2008-05-30 01:22:56 +04:00
|
|
|
s|BINSH|$(BINSH)|g; \
|
2008-01-18 01:50:35 +03:00
|
|
|
s|AWKPATH|$(AWKPATH)|g"
|
2007-04-22 08:05:05 +04:00
|
|
|
|
2007-07-17 00:52:35 +04:00
|
|
|
LDFLAGS += -lfmt -lutf
|
2008-01-18 01:50:35 +03:00
|
|
|
CFLAGS += $(INCX11) -DVERSION=\"$(VERSION)\"
|
2007-03-26 08:48:00 +04:00
|
|
|
|
2008-01-18 01:50:35 +03:00
|
|
|
include $(ROOT)/mk/many.mk
|
|
|
|
include $(ROOT)/mk/dir.mk
|
2007-03-26 08:48:00 +04:00
|
|
|
|
2008-01-18 01:50:35 +03:00
|
|
|
OWMIIR=wmiir.o $(OFILES) $(LIBIXP)
|
|
|
|
wmiir.O: $(OWMIIR)
|
|
|
|
$(LINK) $@ $(STATIC) $(OWMIIR)
|
2007-03-26 08:48:00 +04:00
|
|
|
|
2008-12-11 02:09:58 +03:00
|
|
|
wmii/x11.o wmii/map.o: dall
|
|
|
|
true
|
2008-01-14 23:42:21 +03:00
|
|
|
|
2009-05-14 07:30:20 +04:00
|
|
|
O9MENU=wmii9menu.o clientutil.o wmii/x11.o wmii/map.o $(OFILES) $(LIBIXP)
|
2008-12-11 02:09:58 +03:00
|
|
|
wmii9menu.O: $(O9MENU)
|
2008-10-17 02:54:03 +04:00
|
|
|
$(LINK) $@ $(O9MENU) $(LIBX11) -lXext -lbio
|
2008-01-14 23:42:21 +03:00
|
|
|
|