File: Imakefile

package info (click to toggle)
xlockmore 4.09-3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 5,440 kB
  • ctags: 6,552
  • sloc: ansic: 54,180; sh: 1,624; makefile: 689; tcl: 439; java: 269; perl: 149
file content (62 lines) | stat: -rw-r--r-- 1,861 bytes parent folder | download
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
55
56
57
58
59
60
61
62
#ifndef XCOMM
#define XCOMM /**/#
#endif
XCOMM @(#)Imakefile	4.07 97/11/25 xlockmore
XCOMM Many "ideas" taken from xscreensaver-1.34 by Jamie Zawinski.
XCOMM

VER = xlockmore
DISTVER = xlockmore-4.07

SUB_MAKEFILES = xlock/Makefile modes/glx/Makefile modes/Makefile xmlock/Makefile xalock/Makefile

SUBDIRS = xlock modes/glx modes xmlock xalock
 
MAKE_SUBDIR = for dir in $(SUBDIRS) ; do ( cd $$dir ; $(MAKE) $@ \
CC="$(CC)" CCOPTIONS="$(CCOPTIONS)" CDEBUGFLAGS="$(CDEBUGFLAGS)" \
BINDIR="$(BINDIR)" XAPPLOADDIR="$(XAPPLOADDIR)") ; done

all::
	@echo ""                  ; \
	echo "        ==========================================================" ; \
	echo ""                   ; \
	echo "        Did you read and edit iconfig.h? " ; \
	echo "           Otherwise it will assume a minimum configuration." ; \
	echo "        Run \"make depend\" if you can not find \"eyes.xbm\"." ; \
	echo ""                   ; \
	echo "        ==========================================================" ; \
	echo ""


all:: $(SUB_MAKEFILES)
	@$(MAKE_SUBDIR)

install:: all
	@$(MAKE_SUBDIR)

clean::
	@$(MAKE_SUBDIR)

depend::
	@$(MAKE_SUBDIR)

distclean : clean
	@$(MAKE_SUBDIR)
	-rm -f Makefile config.status config.cache config.log config.h
 
Makefiles:: $(SUB_MAKEFILES)
 
xlock/Makefile : Imakefile iconfig.h
	cd xlock  ; $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)/xlock

modes/glx/Makefile : modes/glx/Imakefile iconfig.h
	cd modes/glx ; $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)/modes/glx

modes/Makefile : modes/Imakefile iconfig.h
	cd modes  ; $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)/modes

xmlock/Makefile : xmlock/Imakefile iconfig.h
	cd xmlock  ; $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)/xmlock

xalock/Makefile : xalock/Imakefile iconfig.h
	cd xalock  ; $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)/xalock