File: Makefile

package info (click to toggle)
eieio 0.16-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 364 kB
  • ctags: 414
  • sloc: lisp: 4,518; sh: 62; makefile: 42
file content (80 lines) | stat: -rw-r--r-- 2,185 bytes parent folder | download | duplicates (2)
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
77
78
79
80
# Automatically Generated Makefile by EDE.
# For use with: make
#
# DO NOT MODIFY THIS FILE OR YOUR CHANGES MAY BE LOST.
# EDE is the Emacs Development Environment.
# http://www.ultranet.com/~zappo/ede.shtml
# 

ede_FILES=Project.ede Makefile

eieio_LISP=eieio.el eieio-comp.el eieio-opt.el eieio-custom.el eieio-doc.el eieio-base.el compare-strings.el
EMACS=emacs
examples_LISP=tree.el call-tree.el chart.el eieio-speedbar.el
eieio_info_TEXINFOS=eieio.texi
MAKEINFO=makeinfo
test_LISP=eieio-tests.el
Misc_MISC=INSTALL
VERSION=0.16
DISTDIR=eieio-$(VERSION)
top_builddir = 

DEP_FILES=.deps/.P

all: eieio examples eieio.info

DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
-include $(DEP_FILES)

eieio: $(eieio_LISP)
	@echo "(add-to-list 'load-path nil)" > $@-compile-script
	@for loadpath in "${LOADPATH}"; do \
	   echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
	 done
	@echo "(setq debug-on-error t)" >> $@-compile-script
	$(EMACS) -batch -l $@-compile-script -f batch-byte-compile $^

examples: $(examples_LISP)
	@echo "(add-to-list 'load-path nil)" > $@-compile-script
	@for loadpath in "${LOADPATH}"; do \
	   echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
	 done
	@echo "(setq debug-on-error t)" >> $@-compile-script
	$(EMACS) -batch -l $@-compile-script -f batch-byte-compile $^

eieio.info: $(eieio_info_TEXINFOS)
	makeinfo -o $@ $<

test: $(test_LISP)
	@echo "(add-to-list 'load-path nil)" > $@-compile-script
	@for loadpath in "${LOADPATH}"; do \
	   echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
	 done
	@echo "(setq debug-on-error t)" >> $@-compile-script
	$(EMACS) -batch -l $@-compile-script -f batch-byte-compile $^

Misc: 
	@

tags: $(eieio_LISP) $(examples_LISP) $(eieio_info_TEXINFOS) $(test_LISP) $(Misc_MISC) 
	etags $^


clean:
	rm -f *.elc *.info


dist:
	rm -rf $(DISTDIR)
	mkdir $(DISTDIR)
	cp $(eieio_LISP) $(examples_LISP) $(eieio_info_TEXINFOS) $(test_LISP) $(Misc_MISC) $(ede_FILES) $(DISTDIR)
	tar -cvzf $(DISTDIR).tar.gz $(DISTDIR)
	rm -rf $(DISTDIR)

Makefile: Project.ede
	@echo Makefile is out of date!  It needs to be regenerated by EDE.
	@false



# End of Makefile