forked from abstrakraft/cwiid
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.in
More file actions
54 lines (40 loc) · 1.13 KB
/
Makefile.in
File metadata and controls
54 lines (40 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#Copyright (C) 2007 L. Donnie Smith
include @top_builddir@/defs.mak
LIB_DIRS = libcwiid
#BIN_DIRS = wmgui wminput lswm
#DOC_DIRS = man doc
ifdef PYTHON
BIND_DIRS = python
endif
SUB_DIRS = $(LIB_DIRS) $(BIND_DIRS)
#$(BIN_DIRS) $(DOC_DIRS) wmdemo
all install clean distclean uninstall: TARGET += $(MAKECMDGOALS)
all install clean distclean uninstall: $(LIB_DIRS) $(BIND_DIRS)
#$(BIN_DIRS)
#install uninstall distclean: $(DOC_DIRS)
#all clean distclean: wmdemo
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),distclean)
$(BIND_DIRS): $(LIB_DIRS)
#$(BIN_DIRS)
endif
endif
ifeq ($(MAKECMDGOALS),install)
$(LIB_DIRS): $(CWIID_CONFIG_DIR) $(CWIID_PLUGINS_DIR)
endif
#$(BIN_DIRS)
$(SUB_DIRS):
$(MAKE) $(TARGET) -C $@
$(CWIID_CONFIG_DIR):
install -d $(CWIID_CONFIG_DIR)
$(CWIID_PLUGINS_DIR):
install -d $(CWIID_PLUGINS_DIR)
distclean:
rm -rf Makefile config.log config.status autom4te.cache \
defs.mak $(COMMON)/include/lib.mak $(COMMON)/include/config.h
uninstall:
rm -r $(CWIID_PLUGINS_DIR); true
uninstall_config:
rm -rf $(CWIID_CONFIG_DIR)
.PHONY: all install clean distclean uninstall uninstall_config $(SUB_DIRS)
.NOTPARALLEL: