File: Makefile

package info (click to toggle)
mixviews 1.20-10.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,928 kB
  • ctags: 5,960
  • sloc: cpp: 32,879; ansic: 2,110; makefile: 445; sh: 17
file content (484 lines) | stat: -rw-r--r-- 14,773 bytes parent folder | download
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
# Makefile generated by imake - do not edit!
# $TOG: imake.c /main/97 1997/06/20 20:23:51 kaleb $

CPU=LINUX
ABSTOP=./
XCONFIGDIR = /usr/X11R6/lib/X11/config

# Read "template" to understand how this Makefile was generated.
# Edit <arch.def> to add support for a new platform.
# Edit <InterViews/iv-linux.cf> to change platform-specific parameters.
# Edit <local.def> to change site-specific parameters.
# Edit </tmp/IIf.Xrni1l> to change actions that make should perform.

# architecture:  LINUX

# -------------------------------------------------------------------------
# from <local.def>:

     GPLUSPLUS_INCLUDE_DIR = /usr/lib/gcc-lib/i386-linux/2.95.2/../../../../include/g++-3
          TOOL_INCLUDE_DIR = /usr/local/include

    NORM_CCINCLUDES = -I$(CURRENT_DIR)/.. -I$(CURRENT_DIR)/../..  -I$(IVTOOLSSRC) $(BACKWARD_CCINCLUDES) -I$(IVTOOLSSRC)/include -I$(IVTOOLSSRC)/include/ivstd $(X_CCINCLUDES)

    APP_CCINCLUDES = $(NORM_CCINCLUDES)

             IVTOOLSSRC = /usr/X11R6

LIBUNIDRAWCOMMON = -L$(LIBDIR) -lUnidraw-common
LIBIVCOMMON = -L$(LIBDIR) -lIV-common
LIBTIME = -L$(LIBDIR) -lTime
LIBATTRIBUTE = -L$(LIBDIR) -lAttribute
LIBCOMUTIL = -L$(LIBDIR) -lComUtil
LIBCOMTERP = -L$(LIBDIR) -lComTerp
LIBIVGLYPH = -L$(LIBDIR) -lIVGlyph
LIBATTRGLYPH = -L$(LIBDIR) -lAttrGlyph
LIBCOMGLYPH = -L$(LIBDIR) -lComGlyph
LIBGLYPHTERP = -L$(LIBDIR) -lGlyphTerp
LIBUNIIDRAW = -L$(LIBDIR) -lUniIdraw
LIBTOPOFACE = -L$(LIBDIR) -lTopoFace
LIBOVERLAYUNIDRAW = -L$(LIBDIR) -lOverlayUnidraw

  LIBACEDISPATCH =

LIBCOMUNIDRAW = -L$(LIBDIR) -lComUnidraw
LIBFRAMEUNIDRAW = -L$(LIBDIR) -lFrameUnidraw
LIBGRAPHUNIDRAW = -L$(LIBDIR) -lGraphUnidraw
LIBDRAWSERV = -L$(LIBDIR) -lDrawServ

DEPUNIDRAWCOMMON = $(LIBDIR)/libUnidraw-common.so.$(VERSION)
DEPIVCOMMON = $(LIBDIR)/libIV-common.so.$(VERSION)
DEPTIME = $(LIBDIR)/libTime.so.$(VERSION)
DEPATTRIBUTE = $(LIBDIR)/libAttribute.so.$(VERSION)
DEPCOMUTIL = $(LIBDIR)/libComUtil.so.$(VERSION)
DEPCOMTERP = $(LIBDIR)/libComTerp.so.$(VERSION)
DEPIVGLYPH = $(LIBDIR)/libIVGlyph.so.$(VERSION)
DEPATTRGLYPH = $(LIBDIR)/libAttrGlyph.so.$(VERSION)
DEPCOMGLYPH = $(LIBDIR)/libComGlyph.so.$(VERSION)
DEPGLYPHTERP = $(LIBDIR)/libGlyphTerp.so.$(VERSION)
DEPUNIIDRAW = $(LIBDIR)/libUniIdraw.so.$(VERSION)
DEPTOPOFACE = $(LIBDIR)/libTopoFace.so.$(VERSION)
DEPOVERLAYUNIDRAW = $(LIBDIR)/libOverlayUnidraw.so.$(VERSION)

    DEPACEDISPATCH =

DEPCOMUNIDRAW = $(LIBDIR)/libComUnidraw.so.$(VERSION)
DEPFRAMEUNIDRAW = $(LIBDIR)/libFrameUnidraw.so.$(VERSION)
DEPGRAPHUNIDRAW = $(LIBDIR)/libGraphUnidraw.so.$(VERSION)
DEPDRAWSERV = $(LIBDIR)/libDrawServ.so.$(VERSION)

# -------------------------------------------------------------------------

   PROJECTDIR = /proj

   RELEASE = ivtools-0.7

   VERSION = 0.7.9

   REPOSITORY_FILES = *.c *.cc *.cxx *.C *.h Imakefile *.def template README INSTALL VERSION MANIFEST COPYRIGHT ANNOUNCE README.ivmkcm *.patch *.bugfix.? *.script *.sed comutil.arg comterp.err comutil.ci comterp.arg comterp.ci site.def.SUN4 site.def.LINUX site.def.SGI site.def.HP800 site.def.ALPHA WishList *.defaults *.cf HOWTO Copyright *.sh CHANGES CHANGES-0.? *.cpp ivmkmf *.bash *.1  *.3 config.guess config.sub configure configure.in MANIFEST.perceps MANIFEST.comterp *.mk config.mk.in *.tmpl *.flt *.m4

              SHELL = /bin/sh

              IMAKE = imake
         IMAKEFLAGS = \
	-T "template"\
	-I$(ABSTOP)/config -I$(CONFIGDIR) -I$(CONFIGDIR)/.. -I$(XCONFIGDIR) -I$(IVTOOLSSRC)/../config\
	$(SPECIAL_IMAKEFLAGS)
 SPECIAL_IMAKEFLAGS =   -DUseInstalled
             DEPEND = makedepend
     DEPEND_CCFLAGS = -DMAKEDEPEND $(CCDEFINES) $(CCINCLUDES) -I$(GPLUSPLUS_INCLUDE_DIR) -I$(TOOL_INCLUDE_DIR) -UHAVE_ACE
               MAKE = make
           PASSARCH = ARCH="$(ARCH)" SPECIAL_IMAKEFLAGS="$(SPECIAL_IMAKEFLAGS)" CMFLAGS="$(CMFLAGS)" CMMSG="$(CMMSG)"
          ARCHORCPU = $(CPU)
               ARCH = $(ARCHORCPU)$(SPECIAL_ARCH)
       SPECIAL_ARCH =

           CCDRIVER = c++
           CCSUFFIX = c
            CDRIVER = gcc
            CSUFFIX = c
                SRC = /home/buildd/build/failed/mixviews-1.20/.
              SLASH = /
               SRCS = $(SRC)$(SLASH)*.$(CCSUFFIX)
               OBJS = *.o
               AOUT = a.out

            CCFLAGS = $(APP_CCFLAGS) $(IV_CCFLAGS) $(OTHER_CCFLAGS) $(EXTRA_CCFLAGS)
         IV_CCFLAGS = \
	$(DEBUG_CCFLAGS)\
	$(OPTIMIZE_CCFLAGS)\
	$(SHARED_CCFLAGS)\
	$(CCDEFINES)\
	$(CCINCLUDES)
      DEBUG_CCFLAGS = -g
   OPTIMIZE_CCFLAGS = -O6
     SHARED_CCFLAGS =
      EXTRA_CCFLAGS =

          CCDEFINES = $(APP_CCDEFINES) $(IV_CCDEFINES) $(OTHER_CCDEFINES) $(EXTRA_CCDEFINES)
       IV_CCDEFINES = $(LANGUAGE_CCDEFINES) $(BACKWARD_CCDEFINES)
 LANGUAGE_CCDEFINES = -Dcplusplus_2_1
 BACKWARD_CCDEFINES =
    EXTRA_CCDEFINES =

 CLIPPOLY_CCDEFINES =
      ACE_CCDEFINES =
      IUE_CCDEFINES =

         CCINCLUDES = $(APP_CCINCLUDES) $(OTHER_CCINCLUDES) $(EXTRA_CCINCLUDES)
      IV_CCINCLUDES = IvCCIncludes
BACKWARD_CCINCLUDES =
     TOP_CCINCLUDES = -I$(INCDIR)
       X_CCINCLUDES = -I$(XINCDIR)
   EXTRA_CCINCLUDES =

CLIPPOLY_CCINCLUDES =
     ACE_CCINCLUDES =
     IUE_CCINCLUDES =

             CFLAGS = $(APP_CCFLAGS) $(IV_CCFLAGS) $(OTHER_CCFLAGS) $(EXTRA_CCFLAGS)

          CCLDFLAGS = $(APP_CCLDFLAGS) $(IV_CCLDFLAGS) $(OTHER_CCLDFLAGS) $(EXTRA_CCLDFLAGS)
       IV_CCLDFLAGS = \
	$(DEBUG_CCFLAGS)\
	$(OPTIMIZE_CCFLAGS)\
	$(NONSHARED_CCLDFLAGS)
NONSHARED_CCLDFLAGS =
   SHARED_CCLDFLAGS =
    EXTRA_CCLDFLAGS =

          CCDEPLIBS = $(APP_CCDEPLIBS) $(IV_CCDEPLIBS) $(OTHER_CCDEPLIBS) $(EXTRA_CCDEPLIBS) $(_CCDEPLIBS)
       IV_CCDEPLIBS = \
	$(DEPLIBUNIDRAW)\
	$(DEPLIBGRAPHIC)\
	$(DEPLIBIV)\
	$(DEPLIBXEXT)\
	$(DEPLIBX11)\
	$(DEPLIBM)
    EXTRA_CCDEPLIBS =

           CCLDLIBS = $(APP_CCLDLIBS) $(IV_CCLDLIBS) $(OTHER_CCLDLIBS) $(EXTRA_CCLDLIBS)
        IV_CCLDLIBS = \
	$(LIBDIRPATH)\
	$(LDLIBUNIDRAW)\
	$(LDLIBGRAPHIC)\
	$(LDLIBIV)\
	$(XLIBDIRPATH)\
	$(LDLIBXEXT)\
	$(LDLIBX11)\
	$(ABSLIBDIRPATH)
    SHARED_CCLDLIBS =
     EXTRA_CCLDLIBS = -lstdc++ -lm

  CLIPPOLY_CCLDLIBS =
     CLIPPOLYLIBDIR =
    CLIPPOLYLIBBASE = libclippoly.so
       ACE_CCLDLIBS =
          ACELIBDIR =
         ACELIBBASE = libACE.so
       IUE_CCLDLIBS =
          IUELIBDIR =
         IUELIBBASE = libIUE.so

            INSTALL = install
       INSTPGMFLAGS = -s
       INSTBINFLAGS = -m 0755
       INSTUIDFLAGS = -m 4755
       INSTLIBFLAGS = -m 0644
       INSTINCFLAGS = -m 0444
       INSTMANFLAGS = -m 0444
       INSTDATFLAGS = -m 0444
      INSTKMEMFLAGS = -m 4755

                 AR = ar clq
                 AS = as
                 CP = cp
                CPP = /lib/cpp $(EXTRA_CCDEFINES) $(OTHER_CCDEFINES)
      PREPROCESSCMD = $(CCDRIVER) -E $(EXTRA_CCDEFINES) $(OTHER_CCDEFINES)
                 LD = ld
                 LN = ln -s
          MKDIRHIER = mkdirhier
                 MV = mv
             RANLIB = ranlib
    RANLIBINSTFLAGS =
                 RM = rm -f
              RMDIR = rm -rf
             RM_CMD = $(RM) ,* .emacs_* *..c *.BAK *.CKP *.a *.bak *.ln *.o a.out core errs make.log make.out tags TAGS
              TROFF = groff

                TOP = .
             RELTOP = .
        CURRENT_DIR = /home/buildd/build/failed/mixviews-1.20

             BINDIR = /usr/X11R6/bin
          CONFIGDIR = /usr/X11R6/lib/ivtools/config
             INCDIR = /usr/X11R6/include
             LIBDIR = /usr/X11R6/lib
          LIBABSDIR = /usr/X11R6/lib
          LIBALLDIR = /usr/X11R6/lib/ivtools
             MANDIR = /usr/X11R6/man

       ABSCONFIGDIR = /usr/X11R6/lib/ivtools/config
          ABSLIBDIR = /usr/X11R6/lib
       ABSLIBALLDIR = /usr/X11R6/lib/ivtools
       RELLIBALLDIR = $(TOP)/lib/ivtools
         XCONFIGDIR = /usr/X11R6/lib/X11/config
            XINCDIR = /usr/X11R6/include
            XLIBDIR = /usr/X11R6/lib
          PSFONTDIR = /usr/lib/ghostscript/fonts

all::

Makefile::
	-@if [ -f Makefile ]; then \
	$(RM) Makefile.bak; \
	$(MV) Makefile Makefile.bak; \
	else exit 0; fi
	-@echo "Making Makefile"
	-@if [ $(TOP) = $(CURRENT_DIR) ]; then \
	echo >.toplevel-make-makefile; else \
	echo >.not-toplevel-make-makefile; fi
	-@if [ -f .toplevel-make-makefile ]; then \
	echo;\
	echo "remaking top-level Makefile using:";\
	echo "    top-level directory -- $(ABSTOP)";\
	echo "    ivtools config directory -- $(CONFIGSRC)";\
	echo "    X11 config directory -- $(XCONFIGDIR)";\
	echo;\
	$(IMAKE) $(IMAKEFLAGS) -I$(ABSTOP)/config \
	-DTOPDIR=$(ABSTOP) -DRELTOPDIR=$(RELTOP) -DCURDIR=$(ABSTOP); fi
	-@if [ -f .not-toplevel-make-makefile ]; then \
	$(IMAKE) $(IMAKEFLAGS) -DTOPDIR=$(TOP) \
	-DRELTOPDIR=$(RELTOP) -DCURDIR=$(CURRENT_DIR); fi
	-@if [ $(TOP) = $(CURRENT_DIR) ]; then \
	$(RM) .toplevel-make-makefile; else \
	$(RM) .not-toplevel-make-makefile; fi
Makefiles::
depend::
install::
uninstall::

clean::
	@$(RM_CMD) "#"*

# -------------------------------------------------------------------------

#
# MiXViews - a sound editor and processor
#

# Note:  You must '#define HasGcc2 YES' in config/gcc.def to get the
# correct flags for the Gnu C and C++ compilers.
# If you cannot do that, then add that line immediately below this line.

CCSUFFIX = C

Makefiles::
	@echo "Making Makefiles" \
	"for $(ARCH) in $(CURRENT_DIR)/$(ARCH)"
	-@if [ ! -d $(ARCH) ]; then \
	mkdir $(ARCH); \
	chmod g+w $(ARCH); \
	fi; \
	if [ -f $(ARCH)/Makefile ]; then \
	$(RM) $(ARCH)/Makefile.bak; \
	$(MV) $(ARCH)/Makefile $(ARCH)/Makefile.bak; \
	fi; \
	if [ ! -f $(ARCH)/Makefile ]; then \
	touch $(ARCH)/Makefile.depend; \
	fi; \
	$(IMAKE) $(IMAKEFLAGS) \
	-DTOPDIR=$(TOP) -DRELTOPDIR=../$(RELTOP) \
	-DCURDIR=$(CURRENT_DIR)/$(ARCH) \
	-DInObjectCodeDir -s $(ARCH)/Makefile

depend::
	@(set -e;for i in $(ARCH); \
	do \
	if [ -d $$i ]; then  \
	echo "depending" \
	"for $(ARCH) in $(CURRENT_DIR)/$$i"; \
	cd $$i; \
	$(MAKE) $(PASSARCH) depend; cd ../ ; \
	else continue; fi; \
	done)

all::
	@(set -e;for i in $(ARCH); \
	do \
	if [ -d $$i ]; then  \
	echo "making all" \
	"for $(ARCH) in $(CURRENT_DIR)/$$i"; \
	cd $$i; \
	$(MAKE) $(PASSARCH) all; cd ../ ; \
	else continue; fi; \
	done)

install::
	@(set -e;for i in $(ARCH); \
	do \
	if [ -d $$i ]; then  \
	echo "installing" \
	"for $(ARCH) in $(CURRENT_DIR)/$$i"; \
	cd $$i; \
	$(MAKE) $(PASSARCH) install; cd ../ ; \
	else continue; fi; \
	done)

uninstall::
	@(set -e;for i in $(ARCH); \
	do \
	if [ -d $$i ]; then  \
	echo "uninstalling" \
	"for $(ARCH) in $(CURRENT_DIR)/$$i"; \
	cd $$i; \
	$(MAKE) $(PASSARCH) uninstall; cd ../ ; \
	else continue; fi; \
	done)

clean::
	@(set -e;for i in $(ARCH); \
	do \
	if [ -d $$i ]; then  \
	echo "cleaning" \
	"for $(ARCH) in $(CURRENT_DIR)/$$i"; \
	cd $$i; \
	$(MAKE) $(PASSARCH) clean; cd ../ ; \
	else continue; fi; \
	done)

Makefiles.debug:
	@$(MAKE) ARCH="$(ARCH).debug" \
	SPECIAL_IMAKEFLAGS="$(SPECIAL_IMAKEFLAGS) -DUseDebug" \
	Makefiles
depend.debug:
	@$(MAKE) ARCH="$(ARCH).debug" \
	SPECIAL_IMAKEFLAGS="$(SPECIAL_IMAKEFLAGS) -DUseDebug" \
	depend
all.debug:
	@$(MAKE) ARCH="$(ARCH).debug" \
	SPECIAL_IMAKEFLAGS="$(SPECIAL_IMAKEFLAGS) -DUseDebug" \
	all
install.debug:
	@$(MAKE) ARCH="$(ARCH).debug" \
	SPECIAL_IMAKEFLAGS="$(SPECIAL_IMAKEFLAGS) -DUseDebug" \
	install
clean.debug:
	@$(MAKE) ARCH="$(ARCH).debug" \
	SPECIAL_IMAKEFLAGS="$(SPECIAL_IMAKEFLAGS) -DUseDebug" \
	clean

Makefiles.noshared:
	@$(MAKE) ARCH="$(ARCH).noshared" \
	SPECIAL_IMAKEFLAGS="$(SPECIAL_IMAKEFLAGS) -DUseNonShared" \
	Makefiles
depend.noshared:
	@$(MAKE) ARCH="$(ARCH).noshared" \
	SPECIAL_IMAKEFLAGS="$(SPECIAL_IMAKEFLAGS) -DUseNonShared" \
	depend
all.noshared:
	@$(MAKE) ARCH="$(ARCH).noshared" \
	SPECIAL_IMAKEFLAGS="$(SPECIAL_IMAKEFLAGS) -DUseNonShared" \
	all
install.noshared:
	@$(MAKE) ARCH="$(ARCH).noshared" \
	SPECIAL_IMAKEFLAGS="$(SPECIAL_IMAKEFLAGS) -DUseNonShared" \
	install
clean.noshared:
	@$(MAKE) ARCH="$(ARCH).noshared" \
	SPECIAL_IMAKEFLAGS="$(SPECIAL_IMAKEFLAGS) -DUseNonShared" \
	clean

cmchkin::
	-@if [ $(NO_IVMKCM) ]; then exit 0; else \
	if [ ! -d $(TOP)/cm ]; then \
	(cd $(TOP); cminstall); fi; fi
	-@if [ $(NO_IVMKCM) ]; then exit 0; else \
	csh -c '(setenv REPOSITORY_FILES "$(REPOSITORY_FILES)"; \
	cmchkin $(PACKAGE) $(TOP)/cm $(TOP) $(CURRENT_DIR))'; fi

cmtag::
	-@if [ $(NO_IVMKCM) ]; then exit 0; else \
	if [ ! -d $(TOP)/cm ]; then \
	(echo "Build repository first with cmchkin"; exit 0;); fi; \
	if [ ! -d $(CURRENT_DIR)/CVS ]; then \
	(echo "Build repository first with cmchkin"; exit 0;); fi; fi
	-@if [ $(NO_IVMKCM) ]; then exit 0; else \
	cmtag $(CMFLAGS) $(CMARGS); fi

cmadd::
	-@if [ $(NO_IVMKCM) ]; then exit 0; else \
	if [ ! -d $(TOP)/cm ]; then \
	(echo "Build repository first with cmchkin"; exit 0;); fi; \
	if [ ! -d $(CURRENT_DIR)/CVS ]; then \
	(echo "Build repository first with cmchkin"; exit 0;); fi; fi
	-@if [ $(NO_IVMKCM) ]; then exit 0; else \
	csh -c '(setenv REPOSITORY_FILES "$(REPOSITORY_FILES)"; cmadd -m null_message)'; fi

cmupdate::
	-@if [ $(NO_IVMKCM) ]; then exit 0; else \
	if [ ! -d $(TOP)/cm ]; then \
	(echo "Build repository first with cmchkin"; exit 0;); fi; \
	if [ ! -d $(CURRENT_DIR)/CVS ]; then \
	(echo "Build repository first with cmchkin"; exit 0;); fi; fi
	-@if [ $(NO_IVMKCM) ]; then exit 0; else cmupdate; fi

cmcommit::
	-@if [ $(NO_IVMKCM) ]; then exit 0; else \
	if [ ! -d $(TOP)/cm ]; then \
	(echo "Build repository first with cmchkin"; exit 0;); fi; \
	if [ ! -d $(CURRENT_DIR)/CVS ]; then \
	(echo "Build repository first with cmchkin"; exit 0;); fi; fi
	-@if [ $(NO_IVMKCM) ]; then exit 0; else \
	if [ -z "$(CMMSG)" ]; then cmcommit $(CMFLAGS); \
	else cmcommit $(CMFLAGS) -m "$(CMMSG)"; fi; fi

COMPRESS = gzip
UNCOMPRESS = gunzip

dist:
	tar cvf - Imake* CHANGES README* mxv.doc mxv.bitmap *.[$(CCSUFFIX)ch]  | $(COMPRESS) > dist.tar.gz

uu: dist
	uuencode dist.tar.gz dist.tar.gz > dist.uu
	rm dist.tar.gz

mail: uu
	cat dist.uu | mail -s my_program me
	rm dist.uu

backup: dist
	@cd old; rm -r -f *
	mv dist.tar.gz old

compare:
	-@for file in *.[$(CCSUFFIX)ch]; 	do 	(diff -c 1/$$file $$file); 	done

fastcomp:
	-@for file in *.[$(CCSUFFIX)ch]; 	do 	(cmp 1/$$file $$file); 	done

diff:
	@touch diffs.NEW
	@echo '***************' >> diffs.NEW
	@echo `date` >> diffs.NEW
	@echo '***************' >> diffs.NEW
	@cd old; cat dist.tar.gz | $(UNCOMPRESS) | tar xf -
	-@for file in *.[$(CCSUFFIX)ch]; 		do 			if [ ! -f old/$$file ]; then 					(touch old/$$file); 			fi; 		done

	-/bin/diff -c -r old . | grep -v "^Only" | grep -v "^Common" >> diffs.NEW
	$(MAKE) backup

newtar:
	tar cvf - `find . \( -name "*.[Cch]" -o -name "I*" -o -name CHANGES \) -a -type f -a -newer .lastnew -print` | $(COMPRESS) > new.tar.gz
	@touch .lastnew

newmail: newtar
	cat new.tar.gz | uuencode new.tar.gz | mail -s 'new.tar.gz.uu' home
	rm new.tar.gz

tags:
	ctags -d *.[$(CCSUFFIX)ch]

copy:
	cp -p Imakefile CHANGES README* mxv.doc mxv.bitmap *.[Cch] 1