File: Makefile.in

package info (click to toggle)
cwiid 0.6.00%2Bsvn201-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,296 kB
  • ctags: 1,014
  • sloc: ansic: 7,371; makefile: 262; python: 255; lex: 176; yacc: 73; awk: 16
file content (53 lines) | stat: -rw-r--r-- 1,146 bytes parent folder | download | duplicates (10)
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
#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) $(BIN_DIRS) $(DOC_DIRS) $(BIND_DIRS) wmdemo

all install clean distclean uninstall: TARGET += $(MAKECMDGOALS)

all install clean distclean uninstall: $(BIN_DIRS) $(LIB_DIRS) $(BIND_DIRS)

install uninstall distclean: $(DOC_DIRS)

all clean distclean: wmdemo

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),distclean)
$(BIN_DIRS) $(BIND_DIRS): $(LIB_DIRS)
endif
endif

ifeq ($(MAKECMDGOALS),install)
$(BIN_DIRS) $(LIB_DIRS): $(CWIID_CONFIG_DIR) $(CWIID_PLUGINS_DIR)
endif

$(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: