923
|
1 # |
|
2 # Makefile for octave's scripts/strings directory |
|
3 # |
|
4 # John W. Eaton |
1452
|
5 # jwe@bevo.che.wisc.edu |
|
6 # University of Wisconsin-Madison |
923
|
7 # Department of Chemical Engineering |
|
8 |
|
9 TOPDIR = ../.. |
|
10 |
|
11 script_sub_dir = strings |
|
12 |
|
13 srcdir = @srcdir@ |
|
14 top_srcdir = @top_srcdir@ |
|
15 VPATH = @srcdir@ |
|
16 |
|
17 include $(TOPDIR)/Makeconf |
|
18 |
|
19 INSTALL = @INSTALL@ |
|
20 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
21 INSTALL_DATA = @INSTALL_DATA@ |
|
22 |
6283
|
23 SOURCES = base2dec.m bin2dec.m blanks.m deblank.m dec2base.m \ |
|
24 dec2bin.m dec2hex.m findstr.m hex2dec.m index.m isletter.m \ |
|
25 lower.m mat2str.m rindex.m split.m str2double.m str2mat.m \ |
|
26 str2num.m strcat.m strcmpi.m strfind.m strjust.m strmatch.m \ |
|
27 strncmpi.m strrep.m strtok.m strtrunc.m strvcat.m substr.m upper.m |
923
|
28 |
6796
|
29 DISTFILES = $(addprefix $(srcdir)/,Makefile.in $(SOURCES)) |
923
|
30 |
6283
|
31 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) |
923
|
32 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
33 |
5597
|
34 all: PKG_ADD |
923
|
35 .PHONY: all |
|
36 |
2811
|
37 install install-strip: |
4225
|
38 $(do-script-install) |
2811
|
39 .PHONY: install install-strip |
923
|
40 |
|
41 uninstall: |
4225
|
42 $(do-script-uninstall) |
923
|
43 .PHONY: uninstall |
|
44 |
|
45 clean: |
|
46 .PHONY: clean |
|
47 |
5597
|
48 PKG_ADD: $(FCN_FILES) |
|
49 @echo "making PKG_ADD" |
|
50 @$(do-mkpkgadd) |
|
51 |
923
|
52 tags: $(SOURCES) |
|
53 ctags $(SOURCES) |
|
54 |
|
55 TAGS: $(SOURCES) |
|
56 etags $(SOURCES) |
|
57 |
|
58 mostlyclean: clean |
|
59 .PHONY: mostlyclean |
|
60 |
|
61 distclean: clean |
5866
|
62 rm -f Makefile PKG_ADD |
923
|
63 .PHONY: distclean |
|
64 |
1391
|
65 maintainer-clean: distclean |
923
|
66 rm -f tags TAGS |
1391
|
67 .PHONY: maintainer-clean |
923
|
68 |
|
69 dist: |
6467
|
70 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/strings |
923
|
71 .PHONY: dist |