File: Makefile.in

package info (click to toggle)
loki 2.4.7.4-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 3,884 kB
  • ctags: 3,416
  • sloc: ansic: 38,653; yacc: 4,974; sh: 2,615; lex: 706; makefile: 368
file content (42 lines) | stat: -rw-r--r-- 794 bytes parent folder | download | duplicates (6)
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
SHELL = /bin/sh

SUBDIRS = libsrc prepsrc lokisrc utils
INSTALLDIRS = prepsrc lokisrc utils

SED = @SED@
PERL = @PERL@
@SET_MAKE@
all: progs

progs: include/config.h depend
	for subdir in $(SUBDIRS); do \
	(cd $$subdir; $(MAKE)) \
	done

tests:
	(cd test; $(MAKE))

install: progs
	for subdir in $(INSTALLDIRS); do \
	(cd $$subdir; $(MAKE) install) \
	done

depend: include/config.h
	for subdir in $(SUBDIRS); do \
	(cd $$subdir; $(MAKE) depend) \
	done
	touch depend
	
clean:
	for subdir in $(SUBDIRS) test; do \
	(cd $$subdir; $(MAKE) clean) \
	done
	rm -f *~ core a.out *.bak depend

distclean:
	rm -f *~ core a.out *.bak include/config.h config.status \
	config.log config.cache loki_cnt depend
	for subdir in $(SUBDIRS) test; do \
	(cd $$subdir; $(MAKE) distclean) \
	done
	rm -f Makefile