4
|
1 # |
|
2 # Makefile for octave's scripts directory |
|
3 # |
|
4 # John W. Eaton |
|
5 # jwe@che.utexas.edu |
|
6 # Department of Chemical Engineering |
|
7 # The University of Texas at Austin |
|
8 |
|
9 TOPDIR = .. |
|
10 |
686
|
11 script_sub_dir = . |
|
12 |
4
|
13 srcdir = @srcdir@ |
409
|
14 top_srcdir = @top_srcdir@ |
4
|
15 VPATH = @srcdir@ |
|
16 |
|
17 include $(TOPDIR)/Makeconf |
|
18 |
651
|
19 INSTALL = @INSTALL@ |
|
20 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
21 INSTALL_DATA = @INSTALL_DATA@ |
|
22 |
688
|
23 SOURCES = # *.m |
4
|
24 |
|
25 DISTFILES = Makefile.in $(SOURCES) |
|
26 |
714
|
27 SUBDIRS = control elfun general image linear-algebra miscellaneous \ |
731
|
28 plot polynomial set signal specfun special-matrix startup \ |
919
|
29 statistics strings |
686
|
30 |
|
31 DISTSUBDIRS = $(SUBDIRS) |
569
|
32 |
688
|
33 FCN_FILES = # $(wildcard $(srcdir)/*.m) |
|
34 FCN_FILES_NO_DIR = # $(notdir $(FCN_FILES)) |
4
|
35 |
665
|
36 all: |
686
|
37 for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done |
4
|
38 .PHONY: all |
|
39 |
979
|
40 install: |
686
|
41 for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done |
4
|
42 .PHONY: install |
|
43 |
|
44 uninstall: |
686
|
45 for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done |
4
|
46 .PHONY: uninstall |
|
47 |
|
48 clean: |
|
49 .PHONY: clean |
|
50 |
|
51 tags: $(SOURCES) |
686
|
52 for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done |
4
|
53 ctags $(SOURCES) |
|
54 |
|
55 TAGS: $(SOURCES) |
686
|
56 for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done |
4
|
57 etags $(SOURCES) |
|
58 |
|
59 mostlyclean: clean |
686
|
60 for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done |
4
|
61 .PHONY: mostlyclean |
|
62 |
|
63 distclean: clean |
686
|
64 for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done |
4
|
65 rm -f Makefile |
|
66 .PHONY: distclean |
|
67 |
1071
|
68 realclean: |
686
|
69 for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done |
1071
|
70 rm -f tags TAGS Makefile |
4
|
71 .PHONY: realclean |
|
72 |
|
73 local-dist: |
|
74 ln $(DISTFILES) ../`cat ../.fname`/scripts |
690
|
75 for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/scripts/$$dir; cd $$dir; $(MAKE) $@; cd ..; done |
4
|
76 .PHONY: local-dist |
|
77 |
|
78 dist: |
|
79 ln $(DISTFILES) ../`cat ../.fname`/scripts |
690
|
80 for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/scripts/$$dir; cd $$dir; $(MAKE) $@; cd ..; done |
4
|
81 .PHONY: dist |