4
|
1 # |
|
2 # Makefile for octave's scripts directory |
|
3 # |
|
4 # John W. Eaton |
1452
|
5 # jwe@bevo.che.wisc.edu |
|
6 # University of Wisconsin-Madison |
4
|
7 # Department of Chemical Engineering |
|
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 |
2452
|
25 DISTFILES = Makefile.in ChangeLog $(SOURCES) configure.in \ |
|
26 configure mkinstalldirs |
4
|
27 |
2069
|
28 SUBDIRS = audio control elfun general image io linear-algebra \ |
1591
|
29 miscellaneous plot polynomial set signal specfun \ |
|
30 special-matrix startup statistics strings time |
686
|
31 |
|
32 DISTSUBDIRS = $(SUBDIRS) |
569
|
33 |
2624
|
34 BINDISTSUBDIRS = $(SUBDIRS) |
|
35 |
688
|
36 FCN_FILES = # $(wildcard $(srcdir)/*.m) |
|
37 FCN_FILES_NO_DIR = # $(notdir $(FCN_FILES)) |
4
|
38 |
1182
|
39 all: $(SUBDIRS) |
4
|
40 .PHONY: all |
|
41 |
1182
|
42 $(SUBDIRS): |
|
43 echo making all in $@ |
|
44 cd $@ ; $(MAKE) all |
|
45 .PHONY: $(SUBDIRS) |
|
46 |
1391
|
47 install uninstall clean mostlyclean distclean maintainer-clean:: |
1685
|
48 @$(subdir-for-command) |
1391
|
49 .PHONY: install uninstall clean mostlyclean distclean maintainer-clean |
1182
|
50 |
|
51 install:: |
2597
|
52 ls -LR $(datadir)/octave $(libexecdir)/octave > $(datadir)/octave/ls-R |
4
|
53 |
1182
|
54 uninstall:: |
1154
|
55 rm -f $(datadir)/octave/ls-R |
4
|
56 |
1182
|
57 tags TAGS:: $(SOURCES) |
|
58 $(SUBDIR_FOR_COMMAND) |
4
|
59 |
1182
|
60 tags:: |
4
|
61 ctags $(SOURCES) |
|
62 |
1182
|
63 TAGS:: $(SOURCES) |
4
|
64 etags $(SOURCES) |
|
65 |
1182
|
66 distclean:: |
1459
|
67 rm -f Makefile config.log config.status |
4
|
68 |
2392
|
69 maintainer-clean:: |
|
70 rm -f tags TAGS Makefile config.log config.status |
4
|
71 |
|
72 dist: |
2642
|
73 ln $(DISTFILES) ../`cat ../.fname`/scripts |
690
|
74 for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/scripts/$$dir; cd $$dir; $(MAKE) $@; cd ..; done |
4
|
75 .PHONY: dist |
2624
|
76 |
|
77 bin-dist: |
|
78 for dir in $(BINDISTSUBDIRS); do mkdir ../`cat ../.fname`/scripts/$$dir; cd $$dir; $(MAKE) $@; cd ..; done |
|
79 .PHONY: bin-dist |