source: trunk/indexers/mg/src/scripts/Makefile.in@ 13700

Last change on this file since 13700 was 13700, checked in by kjdon, 17 years ago

removed GSDLOS variable - not used

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.6 KB
Line 
1###########################################################################
2#
3# Makefile.in -- Makefile for the MG system
4# Copyright (C) 1994 Neil Sharman
5#
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19#
20# @(#)Makefile.in 1.10 22 Mar 1994
21#
22###########################################################################
23
24PACKAGE = @PACKAGE@
25VERSION = @VERSION@
26
27SHELL = /bin/sh
28VPATH = @srcdir@
29exec_prefix = @exec_prefix@
30prefix = @prefix@
31srcdir = @srcdir@
32subdir = src/scripts
33top_srcdir = @top_srcdir@
34transform = @program_transform_name@
35
36DEFS = @DEFS@
37INSTALL = @INSTALL@
38INSTALL_DATA = @INSTALL_DATA@
39INSTALL_PROGRAM = @INSTALL_PROGRAM@
40TOUCH = echo timestamp >
41
42bindir = $(exec_prefix)/bin
43datadir = $(prefix)/share
44libexecdir = $(exec_prefix)/libexec
45localedir = $(datadir)/locale
46mandir = $(prefix)/man/man1
47
48SHFILES = mgbuild.sh mgbuild_4.sh mg_get.sh xmg.sh mg_get_merge.sh mgmerge.sh
49
50MISC = Makefile.in
51
52ALLFILES = $(SHFILES) $(MISC) $(MAN)
53
54DISTFILES = $(ALLFILES)
55
56EXEC = mgbuild mg_get xmg mg_get_merge mgmerge mgbuild_4
57
58MAN = mgbuild.1 mgbuild_4.1 mg_get.1 xmg.1 mg_get_merge.1 mgmerge.1
59
60# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
61
62
63all: $(EXEC)
64
65
66# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
67
68mgbuild : mgbuild.sh
69 @rm -f $@
70 cat mgbuild.sh >$@
71 chmod +x $@
72
73mgbuild_4 : mgbuild_4.sh
74 @rm -f $@
75 cat mgbuild_4.sh >$@
76 chmod +x $@
77
78mg_get : mg_get.sh
79 @rm -f $@
80 cat mg_get.sh >$@
81 chmod +x $@
82
83mgmerge : mgmerge.sh
84 @rm -f $@
85 cat mgmerge.sh >$@
86 chmod +x $@
87
88mg_get_merge : mg_get_merge.sh
89 @rm -f $@
90 cat mg_get_merge.sh >$@
91 chmod +x $@
92
93xmg : xmg.sh
94 @rm -f $@
95 cat xmg.sh >$@
96 chmod +x $@
97
98# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
99
100
101install: execinstall #maninstall
102uninstall: execuninstall manuninstall
103
104execinstall: $(EXEC)
105 for name in $(EXEC); do \
106 $(INSTALL_PROGRAM) $$name \
107 $(bindir)/`echo $$name | sed '$(transform)'`; \
108 done
109
110execuninstall:
111 for name in $(EXEC); do \
112 rm -f $(bindir)/`echo $$name | sed '$(transform)'`; \
113 done
114
115maninstall: $(MAN)
116 $(top_srcdir)/mkinstalldirs $(mandir); \
117 for f in $(MAN); do \
118 $(INSTALL_DATA) $$f $(mandir)/$$f ;\
119 done
120
121manuninstall: $(MAN)
122 for f in $(MAN); do \
123 rm -f $(mandir)/$$f ;\
124 done
125
126mostlyclean:
127
128clean: mostlyclean
129 rm -f $(EXEC)
130
131distclean: clean
132 rm -f ansi2knr
133 rm -f Makefile
134
135maintainer-clean: distclean
136 @echo "This command is intended only for maintainers to use;"
137 @echo "rebuilding the deleted files may require special tools."
138
139dist: $(DISTFILES)
140 for file in $(DISTFILES); do \
141 ln $(srcdir)/$$file $(distdir) 2> /dev/null \
142 || cp -p $(srcdir)/$$file $(distdir); \
143 done
144
145# screws up distclean (jrm21)
146#Makefile: Makefile.in ../../../../config.status
147# cd ../../../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
148
149# Tell versions [3.59,3.63) of GNU make not to export all variables.
150# Otherwise a system limit (for SysV at least) may be exceeded.
151.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.