File: Makefile

package info (click to toggle)
whitedune 0.30.10-2.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 42,004 kB
  • sloc: cpp: 116,017; ansic: 79,688; java: 20,101; sh: 3,248; yacc: 2,902; makefile: 1,717; lex: 848; awk: 363; perl: 270; objc: 143; lisp: 112; python: 22
file content (76 lines) | stat: -rw-r--r-- 2,811 bytes parent folder | download | duplicates (4)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# This Makefile is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.

dune:
	cd src && $(MAKE) $$DUNEMAKEFLAGS

configure: configure.in
	autoconf

clean:
	rm -f config.cache config.log config.status configure.lineno confdefs.h 
	rm -rf autom4te.cache ii_files
	rm -f test/dune_selftest
	cd src && $(MAKE) clean
	cd docs/export_example_c && $(MAKE) clean
	cd docs/export_example_c++ && $(MAKE) clean
	cd docs/export_example_java && $(MAKE) clean
	rm -f desktop/macosx/Droplet-Applet/build/Droplet-Applet.build/Droplet-Applet.build/Objects-normal/ppc/main.o
	find . -name nohup.out -type f -print | xargs rm -f
	find . -name snap.rgb -type f -print | xargs rm -f
	find . -name core -type f -print | xargs rm -f
	find . -name 'core.[0-9]*' -type f -print | xargs rm -f
	find . -name dune.core -type f -print | xargs rm -f
	find . -name 'vgcore.[0-9]*' -type f -print | xargs rm -f
	find . -name '.afpDeleted*' -type f -print | xargs rm -f
	find . -name '._*' -print | xargs rm -f
	rm -rf conf[0-9]* NONE

realclean: clean
	rm -rf desktop/macosx/white_dune.app
	rm -f bin/dune bin/efencedune bin/dumadune
	rm -f bin/dune.exe bin/efencedune.exe bin/dumadune.exe
	rm -f confdefs.h
	cd src && $(MAKE) realclean
	cd docs/developer_docs && make realclean 
	cd test && $(MAKE) realclean
	find . -name 'Makefile.bak' -print | xargs rm -f
	find . -name '.dune_preview_*.wrl' -print | xargs rm -f
	find . -name '.dune_textedit_*' -print | xargs rm -f
	find . -name '.dune_ecmascript_*' -print | xargs rm -f
	find . -name '.dune_shaderprogram_*' -print | xargs rm -f
	find . -name '.dune_upload_*' -print | xargs rm -f
	find . -name '.gdb_history' -print | xargs rm -f
	find . -name '.xvpics' -print | xargs rm -rf
	find . -name 'Untitled*.wrl' -print | xargs rm -rf
	find . -name 'Untitled*.wrl,v' -print | xargs rm -rf
	find . -name 'PureVrmlExport*.wrl' -print | xargs rm -rf
	find . -name 'PureVrmlExport*.wrl,v' -print | xargs rm -rf
	find . -name 'Ac3dExport*.ac' -print | xargs rm -rf
	find . -name 'C++Export*.cc' -print | xargs rm -rf
	find . -name 'LdrawExport*.dat' -print | xargs rm -rf
	find . -name 'KanimExport*.wrl' -print | xargs rm -rf
	find . -name 'KanimExport*.wrl,v' -print | xargs rm -rf
	find . -name 'KanimExport*.kanim' -print | xargs rm -rf
	find . -name 'Untitled*.x3dv' -print | xargs rm -rf
	find . -name 'Untitled*.x3dv,v' -print | xargs rm -rf
	find . -name 'Untitled*.x3d' -print | xargs rm -rf
	find . -name 'Untitled*.x3d,v' -print | xargs rm -rf
	find . -name 'gmon.out' -print | xargs rm -rf

tar.gz:
	sh batch/mktargz.sh

tar.bz2:
	sh batch/mktarbz2.sh

documentation:
	cd docs/developer_docs && $(MAKE)

selftest:
	cd test && $(MAKE) $$DUNEMAKEFLAGS

fastselftest:
	cd test && $(MAKE) $$DUNEMAKEFLAGS fasttests

# DO NOT DELETE