-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
2803 lines (2600 loc) · 93.7 KB
/
Makefile.in
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
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# hacks/Makefile.in --- xscreensaver, Copyright (c) 1997-2011 Jamie Zawinski.
# the `../configure' script generates `hacks/Makefile' from this file.
@SET_MAKE@
.SUFFIXES:
.SUFFIXES: .c .o
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ..
install_prefix =
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
datarootdir = @datarootdir@
datadir = @datadir@
mandir = @mandir@
libexecdir = @libexecdir@
mansuffix = 6
manNdir = $(mandir)/man$(mansuffix)
HACKDIR = @HACKDIR@
HACK_CONF_DIR = @HACK_CONF_DIR@
CC = @CC@
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
DEFS = -DSTANDALONE @DEFS@
LIBS = @LIBS@
PERL = @PERL@
DEPEND = @DEPEND@
DEPEND_FLAGS = @DEPEND_FLAGS@
DEPEND_DEFINES = @DEPEND_DEFINES@
SHELL = /bin/sh
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_DIRS = @INSTALL_DIRS@
X_CFLAGS = @X_CFLAGS@
X_LIBS = @X_LIBS@
X_PRE_LIBS = @X_PRE_LIBS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
XMU_LIBS = @XMU_LIBS@
# Note: see comment in ../driver/Makefile.in for explanation of X_LIBS, etc.
#
HACK_PRE = $(LIBS) $(X_LIBS)
HACK_POST = $(X_PRE_LIBS) -lXt -lX11 $(XMU_LIBS) -lXext $(X_EXTRA_LIBS) -lm
HACK_LIBS = $(HACK_PRE) @HACK_LIBS@ $(HACK_POST)
XPM_LIBS = $(HACK_PRE) @XPM_LIBS@ @HACK_LIBS@ $(HACK_POST)
JPEG_LIBS = @JPEG_LIBS@
XLOCK_LIBS = $(HACK_LIBS)
PTY_LIBS = @PTY_LIBS@
MINIXPM = $(UTILS_BIN)/minixpm.o
UTILS_SRC = $(srcdir)/../utils
UTILS_BIN = ../utils
INCLUDES_1 = -I. -I$(srcdir) -I$(UTILS_SRC) -I..
INCLUDES = $(INCLUDES_1) @INCLUDES@
UTIL_SRCS = $(UTILS_SRC)/alpha.c $(UTILS_SRC)/colors.c \
$(UTILS_SRC)/grabclient.c \
$(UTILS_SRC)/hsv.c $(UTILS_SRC)/resources.c \
$(UTILS_SRC)/spline.c $(UTILS_SRC)/usleep.c \
$(UTILS_SRC)/visual.c $(UTILS_SRC)/logo.c \
$(UTILS_SRC)/minixpm.c \
$(UTILS_SRC)/yarandom.c $(UTILS_SRC)/erase.c \
$(UTILS_SRC)/xshm.c $(UTILS_SRC)/xdbe.c
UTIL_OBJS = $(UTILS_BIN)/alpha.o $(UTILS_BIN)/colors.o \
$(UTILS_BIN)/grabclient.o \
$(UTILS_BIN)/hsv.o $(UTILS_BIN)/resources.o \
$(UTILS_BIN)/spline.o $(UTILS_BIN)/usleep.o \
$(UTILS_BIN)/visual.o $(UTILS_BIN)/logo.o \
$(UTILS_SRC)/minixpm.c \
$(UTILS_BIN)/yarandom.o $(UTILS_BIN)/erase.o \
$(UTILS_BIN)/xshm.o $(UTILS_BIN)/xdbe.o \
$(UTILS_BIN)/colorbars.o
SRCS = attraction.c ball2d.c blitspin.c bouboule.c braid.c bubbles.c \
bubbles-default.c decayscreen.c deco.c drift.c flag.c \
flame.c forest.c vines.c galaxy.c grav.c greynetic.c \
halo.c helix.c hopalong.c hypercube.c ifs.c imsmap.c \
julia.c kaleidescope.c laser.c lightning.c lisa.c lmorph.c \
maze.c moire.c noseguy.c pedal.c penrose.c pyro.c qix.c \
rocks.c rorschach.c screenhack.c sierpinski.c slidescreen.c \
slip.c sphere.c spiral.c strange.c swirl.c xlockmore.c \
fps.c goop.c starfish.c munch.c fadeplot.c \
rd-bomb.c coral.c mountain.c triangle.c lissie.c worm.c \
rotor.c ant.c xjack.c xlyap.c xscreensaver-sgigl.c \
cynosure.c moire2.c flow.c epicycle.c interference.c \
truchet.c bsod.c crystal.c discrete.c distort.c kumppa.c \
demon.c loop.c t3d.c penetrate.c deluxe.c compass.c \
squiral.c xflame.c wander.c spotlight.c critical.c \
phosphor.c xmatrix.c petri.c shadebobs.c xsublim.c ccurve.c \
blaster.c bumps.c ripples.c xspirograph.c \
nerverot.c xrayswarm.c hyperball.c zoom.c whirlwindwarp.c \
rotzoomer.c whirlygig.c speedmine.c vermiculate.c \
xpm-pixmap.c webcollage-helper.c twang.c apollonian.c \
euler2d.c juggle.c polyominoes.c thornbird.c fluidballs.c \
anemone.c halftone.c metaballs.c eruption.c popsquares.c \
barcode.c piecewise.c cloudlife.c fontglide.c apple2.c \
apple2-main.c analogtv.c xanalogtv.c pong.c wormhole.c \
pacman.c pacman_ai.c pacman_level.c \
fuzzyflakes.c anemotaxis.c memscroller.c substrate.c \
intermomentary.c fireworkx.c fireworkx_mmx.S fiberlamp.c \
boxfit.c interaggregate.c celtic.c cwaves.c m6502.c \
asm6502.c abstractile.c lcdscrub.c \
webcollage-cocoa.m webcollage-helper-cocoa.m
SCRIPTS = vidwhacker webcollage ljlatest
# Programs that are mentioned in XScreenSaver.ad, and that have XML files,
# but that are not shipped with xscreensaver itself.
#
EXTERNALS = cosmos electricsheep fireflies goban \
sphereeversion ssystem xaos xdaliclock xearth xfishtank \
xmountains xplanet xsnow
OBJS = attraction.o ball2d.o blitspin.o bouboule.o braid.o bubbles.o \
bubbles-default.o decayscreen.o deco.o drift.o flag.o \
flame.o forest.o vines.o galaxy.o grav.o greynetic.o \
halo.o helix.o hopalong.o hypercube.o ifs.o imsmap.o \
julia.o kaleidescope.o laser.o lightning.o lisa.o lmorph.o \
maze.o moire.o noseguy.o pedal.o penrose.o pyro.o qix.o \
rocks.o rorschach.o screenhack.o sierpinski.o slidescreen.o \
slip.o sphere.o spiral.o strange.o swirl.o xlockmore.o \
fps.o goop.o starfish.o munch.o fadeplot.o \
rd-bomb.o coral.o mountain.o triangle.o lissie.o worm.o \
rotor.o ant.o xjack.o xlyap.o xscreensaver-sgigl.o \
cynosure.o moire2.o flow.o epicycle.o interference.o \
truchet.o bsod.o crystal.o discrete.o distort.o kumppa.o \
demon.o loop.o t3d.o penetrate.o deluxe.o compass.o \
squiral.o xflame.o wander.o spotlight.o critical.o \
phosphor.o xmatrix.o petri.o shadebobs.o xsublim.o ccurve.o \
blaster.o bumps.o ripples.o xspirograph.o \
nerverot.o xrayswarm.o hyperball.o zoom.o whirlwindwarp.o \
rotzoomer.o whirlygig.o speedmine.o vermiculate.o \
xpm-pixmap.o webcollage-helper.o twang.o apollonian.o \
euler2d.o juggle.o polyominoes.o thornbird.o fluidballs.o \
anemone.o halftone.o metaballs.o eruption.o popsquares.o \
barcode.o piecewise.o cloudlife.o fontglide.o apple2.o \
apple2-main.o analogtv.o xanalogtv.o pong.o wormhole.o \
pacman.o pacman_ai.o pacman_level.o \
fuzzyflakes.o anemotaxis.o memscroller.o substrate.o \
intermomentary.o fireworkx.o fiberlamp.o boxfit.o \
interaggregate.o celtic.o cwaves.o webcollage-cocoa.o \
webcollage-helper-cocoa.o m6502.o asm6502.o abstractile.o \
lcdscrub.o
EXES = attraction ball2d blitspin bouboule braid decayscreen deco \
drift flame galaxy grav greynetic halo \
helix hopalong ifs imsmap julia kaleidescope \
maze moire noseguy pedal \
penrose pyro qix rocks rorschach sierpinski slidescreen \
slip strange swirl goop starfish munch \
fadeplot rd-bomb coral mountain triangle \
xjack xlyap cynosure moire2 flow epicycle \
interference truchet bsod crystal discrete distort kumppa \
demon loop penetrate deluxe compass squiral xflame \
wander spotlight phosphor xmatrix petri shadebobs \
ccurve blaster bumps ripples xspirograph \
nerverot xrayswarm zoom whirlwindwarp rotzoomer \
speedmine vermiculate twang apollonian euler2d \
polyominoes thornbird fluidballs anemone halftone \
metaballs eruption popsquares barcode piecewise cloudlife \
fontglide apple2 xanalogtv pong wormhole \
pacman fuzzyflakes anemotaxis memscroller substrate \
intermomentary fireworkx fiberlamp boxfit interaggregate \
celtic cwaves m6502 abstractile lcdscrub \
@JPEG_EXES@
JPEG_EXES = webcollage-helper
RETIRED_EXES = ant bubbles critical flag forest hyperball hypercube laser \
lightning lisa lissie lmorph rotor sphere spiral t3d vines \
whirlygig worm xsublim juggle
HACK_OBJS_1 = fps.o $(UTILS_BIN)/resources.o $(UTILS_BIN)/visual.o \
$(UTILS_BIN)/usleep.o $(UTILS_BIN)/yarandom.o @XMU_OBJS@
HACK_OBJS = screenhack.o $(HACK_OBJS_1)
XLOCK_OBJS = screenhack.o xlockmore.o $(COLOR_OBJS) $(HACK_OBJS_1)
COLOR_OBJS = $(UTILS_BIN)/hsv.o $(UTILS_BIN)/colors.o
GRAB_OBJS = $(UTILS_BIN)/grabclient.o
XSHM_OBJS = $(UTILS_BIN)/xshm.o
XDBE_OBJS = $(UTILS_BIN)/xdbe.o
HDRS = screenhack.h screenhackI.h fps.h fpsI.h xlockmore.h \
xlockmoreI.h automata.h bubbles.h xpm-pixmap.h \
apple2.h analogtv.h pacman.h pacman_ai.h pacman_level.h \
asm6502.h
MEN = anemone.man apollonian.man attraction.man \
blaster.man blitspin.man bouboule.man braid.man bsod.man \
bumps.man ccurve.man compass.man coral.man \
crystal.man cynosure.man decayscreen.man \
deco.man deluxe.man demon.man discrete.man distort.man \
drift.man epicycle.man euler2d.man fadeplot.man \
flame.man flow.man fluidballs.man galaxy.man \
goop.man grav.man greynetic.man halo.man helix.man \
hopalong.man ifs.man imsmap.man \
interference.man julia.man \
kaleidescope.man kumppa.man \
loop.man maze.man moire.man \
moire2.man mountain.man munch.man nerverot.man noseguy.man \
pedal.man penetrate.man penrose.man petri.man phosphor.man \
polyominoes.man pyro.man qix.man rd-bomb.man ripples.man \
rocks.man rorschach.man rotzoomer.man \
shadebobs.man sierpinski.man slidescreen.man slip.man \
speedmine.man \
spotlight.man squiral.man starfish.man strange.man \
swirl.man thornbird.man triangle.man truchet.man \
twang.man vermiculate.man vidwhacker.man \
wander.man webcollage.man whirlwindwarp.man \
xflame.man xjack.man xlyap.man xmatrix.man \
xrayswarm.man xspirograph.man \
zoom.man halftone.man eruption.man metaballs.man \
barcode.man piecewise.man cloudlife.man ljlatest.man \
fontglide.man apple2.man xanalogtv.man pong.man \
wormhole.man pacman.man fuzzyflakes.man \
anemotaxis.man memscroller.man substrate.man \
intermomentary.man fireworkx.man fiberlamp.man boxfit.man \
interaggregate.man celtic.man cwaves.man abstractile.man \
lcdscrub.man
RETIRED_MEN = ant.man bubbles.man critical.man flag.man forest.man \
laser.man lightning.man lisa.man lissie.man lmorph.man \
rotor.man sphere.man spiral.man t3d.man vines.man \
whirlygig.man worm.man xsublim.man juggle.man \
hypercube.man hyperball.man
STAR = *
EXTRAS = README Makefile.in xml2man.pl m6502.sh .gdbinit \
euler2d.tex check-configs.pl munge-ad.pl \
config/README \
config/$(STAR).xml \
config/$(STAR).dtd \
config/$(STAR).xsd \
images/$(STAR).xbm \
images/$(STAR).xpm \
images/bubbles/$(STAR).pov \
images/bubbles/$(STAR).xpm \
images/noseguy/$(STAR).xbm \
images/noseguy/$(STAR).xpm \
images/m6502/$(STAR).asm \
images/molecules/$(STAR).pdb \
images/pacman/$(STAR).xpm
VMSFILES = compile_axp.com compile_decc.com link_axp.com link_decc.com \
vms_axp.opt vms_axp_12.opt vms_decc.opt vms_decc_12.opt
TARFILES = $(SRCS) $(HDRS) $(SCRIPTS) $(MEN) $(RETIRED_MEN) \
$(EXTRAS) $(VMSFILES)
default: all
all: $(EXES) $(RETIRED_EXES)
install: install-program install-scripts install-xml install-man
uninstall: uninstall-program uninstall-xml uninstall-man
install-strip:
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
install
# the hacks, in $HACKDIR
install-program:: $(EXES)
@if [ ! -d $(install_prefix)$(HACKDIR) ]; then \
$(INSTALL_DIRS) $(install_prefix)$(HACKDIR) ; \
fi ; \
for program in $(EXES); do \
echo $(INSTALL_PROGRAM) $$program \
$(install_prefix)$(HACKDIR)/$$program ; \
$(INSTALL_PROGRAM) $$program \
$(install_prefix)$(HACKDIR)/$$program ; \
done
install-scripts: $(SCRIPTS) munge-scripts
@for program in $(SCRIPTS); do \
if [ -r $$program ] ; then \
p=$$program ; \
else \
p=$(srcdir)/$$program ; \
fi ; \
echo $(INSTALL_SCRIPT) $$p \
$(install_prefix)$(HACKDIR)/$$program ; \
$(INSTALL_SCRIPT) $$p \
$(install_prefix)$(HACKDIR)/$$program ; \
done
munge-scripts: $(SCRIPTS)
@tmp=/tmp/mf.$$$$ ; \
perl="${PERL}" ; \
rm -f $$tmp ; \
for program in $(SCRIPTS); do \
sed "s@^\(#!\)\(/[^ ]*/perl[^ ]*\)\(.*\)\$$@\1$$perl\3@" \
< $(srcdir)/$$program > $$tmp ; \
if ! cmp -s $(srcdir)/$$program $$tmp ; then \
echo "$$program: setting interpreter to $$perl" >&2 ; \
cat $$tmp > ./$$program ; \
fi ; \
done ; \
rm -f $$tmp
# When installing man pages, we install "foo.man" as "foo.N" and update
# the .TH line in the installed file with one like
#
# .TH XScreenSaver N "V.VV (DD-MMM-YYYY)" "X Version 11"
#
# where N is the manual section suffix.
#
install-man: $(MEN)
@men="$(MEN)" ; \
U=$(UTILS_SRC)/version.h ; \
V=`sed -n 's/.*xscreensaver \([0-9]\.[^)]*)\).*/\1/p' < $$U` ; \
T=/tmp/xs$$$$.$(mansuffix) ; \
TH=".TH XScreenSaver $(mansuffix) \"$$V\" \"X Version 11\"" ; \
echo "installing man pages: $$TH" ; \
\
if [ ! -d $(install_prefix)$(manNdir) ]; then \
$(INSTALL_DIRS) $(install_prefix)$(manNdir) ; \
fi ; \
\
for man in $$men; do \
instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ; \
manbase=`echo $$man | sed 's/\.man$$//'` ; \
TH=".TH $$manbase $(mansuffix) \"$$V\" \"X Version 11\" \"XScreenSaver manual\"" ; \
sed -e "s/^\.TH.*/$$TH/" \
-e 's@(MANSUFFIX)@($(mansuffix))@g' \
< $(srcdir)/$$man > $$T ; \
echo $(INSTALL_DATA) $(srcdir)/$$man \
$(install_prefix)$(manNdir)/$$instname ; \
$(INSTALL_DATA) $$T \
$(install_prefix)$(manNdir)/$$instname ; \
done ; \
rm -f $$T
install-xml:
@dest=$(install_prefix)$(HACK_CONF_DIR) ; \
if [ ! -d $$dest ]; then \
$(INSTALL_DIRS) $$dest ; \
fi ; \
src=$(srcdir)/config ; \
for file in $(EXES) $(SCRIPTS) $(EXTERNALS) ; do \
if [ -f $$src/$$file.xml ]; then \
echo $(INSTALL_DATA) $$src/$$file.xml $$dest/$$file.xml ; \
$(INSTALL_DATA) $$src/$$file.xml $$dest/$$file.xml ; \
fi ; \
done
uninstall-program:
@for program in $(EXES) $(RETIRED_EXES) $(SCRIPTS); do \
echo rm -f $(install_prefix)$(HACKDIR)/$$program ; \
rm -f $(install_prefix)$(HACKDIR)/$$program ; \
done
uninstall-man:
@men="$(MEN) $(RETIRED_MEN)" ; \
for man in $$men; do \
instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ; \
echo rm -f $(install_prefix)$(manNdir)/$$instname* ; \
rm -f $(install_prefix)$(manNdir)/$$instname* ; \
done
uninstall-xml:
@dest=$(install_prefix)$(HACK_CONF_DIR) ; \
for file in $(EXES) $(RETIRED_EXES) $(SCRIPTS) $(EXTERNALS) ; do \
echo rm -f $$dest/$$file.xml ; \
rm -f $$dest/$$file.xml ; \
done
clean:
-rm -f *.o a.out core $(EXES) $(RETIRED_EXES) m6502.h
distclean: clean
-rm -f Makefile TAGS *~ "#"*
# Adds all current dependencies to Makefile
depend:
$(DEPEND) -s '# DO NOT DELETE: updated by make depend' \
$(DEPEND_FLAGS) -- \
$(INCLUDES) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) -- \
$(SRCS)
# Adds some dependencies to Makefile.in -- not totally accurate, but pretty
# close. This excludes dependencies on files in /usr/include, etc. It tries
# to include only dependencies on files which are themselves a part of this
# package.
distdepend:: m6502.h
@echo updating dependencies in `pwd`/Makefile.in... ; \
$(DEPEND) -w 0 -f - \
-s '# DO NOT DELETE: updated by make distdepend' $(DEPEND_FLAGS) -- \
$(INCLUDES_1) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) -- \
$(SRCS) 2>/dev/null | \
sort -d | \
( \
awk '/^# .*Makefile.in ---/,/^# DO .*distdepend/' < Makefile.in ; \
sed -e '/^#.*/d' \
-e 's@ \./@ @g;s@ /[^ ]*@@g;/^.*:$$/d' \
-e 's@\.\./utils@$$(UTILS_SRC)@g' \
-e 's@ \([^$$]\)@ $$(srcdir)/\1@g' \
-e 's@ $$(srcdir)/\(.*config.h\)@ \1@g' \
-e 's@ $$(srcdir)/\(m6502.h\)@ \1@g' ; \
echo '' \
) > /tmp/distdepend.$$$$ && \
mv Makefile.in Makefile.in.bak && \
mv /tmp/distdepend.$$$$ Makefile.in
TAGS: tags
tags:
find $(srcdir) -name '*.[chly]' -print | xargs etags -a
echo_tarfiles:
@echo $(TARFILES)
check_men:
@badmen="" ; \
for exe in $(EXES) $(SCRIPTS); do \
if ! [ -f $(srcdir)/$$exe.man \
-o "$$exe" = webcollage-helper ]; then \
badmen="$$badmen $$exe" ; \
fi ; \
done ; \
if [ -n "$$badmen" ]; then \
echo "" ; \
echo "Warning: The following programs have no manuals:" ; \
echo "" ; \
for m in $$badmen ; do \
echo " $$m" ; \
done ; \
fi
validate_xml:
@echo "Validating XML..." ; \
cd $(srcdir) ; ./check-configs.pl $(EXES)
munge_ad_file:
@echo "Updating hack list in XScreenSaver.ad.in..." ; \
cd $(srcdir) ; ./munge-ad.pl ../driver/XScreenSaver.ad.in
# Rules for generating the VMS makefiles on Unix, so that it doesn't have to
# be done by hand...
#
VMS_AXP_COMPILE_1=$$ CC/DECC/PREFIX=ALL/DEFINE=(VMS,HAVE_CONFIG_H,STANDALONE
VMS_AXP_COMPILE_2=)/INCL=([],[-],[-.UTILS])
compile_axp.com: Makefile.in
@echo generating $@ from $<... ; \
( for c in $(SRCS) ; do \
c=`echo $$c | tr a-z A-Z` ; \
echo "$(VMS_AXP_COMPILE_1)$(VMS_AXP_COMPILE_2) $$c" ; \
done ; \
) | sort -d > $@
compile_decc.com: compile_axp.com
@echo generating $@ from $<... ; \
sed 's/axp/decc/g' < $< > $@
#### TODO: generating link_axp.com is kinda tricky...
link_decc.com: link_axp.com
@echo generating $@ from $<... ; \
sed 's/axp/decc/g' < $< > $@
$(srcdir)/../setup.com: Makefile.in
@echo generating $@ from $<... ; \
( echo '$$! Xscreensaver - definition of various DCL symbols' ; \
echo '$$ set NOON' ; \
echo '$$ set def [.HACKS]' ; \
echo '$$ mydisk = f$$trnlmn("SYS$$DISK")' ; \
echo '$$ mydir = mydisk+f$$directory()' ; \
( for c in $(EXES) ; do \
c2="$${c} " ; \
c2=`echo "$${c2}" | sed 's/^\(........*\) $$/\1/'` ; \
echo '$$' "$${c2}:== $$'mydir'$${c}" ; \
done ; \
) | sort -d ; \
echo '$$ set def [-.DRIVER]' ; \
echo '$$ mydir = mydisk+f$$directory()' ; \
echo "$$ xscreensaver :== $$'mydir'xscreensaver" ; \
echo "$$ xscreen*command :== $$'mydir'xscreensaver-command" ; \
echo '$$ set def [-]' ; \
echo '$$ exit' ; \
) > $@
distdepend:: compile_axp.com compile_decc.com
distdepend:: link_axp.com link_decc.com
distdepend:: $(srcdir)/../setup.com
distdepend:: check_men validate_xml munge_ad_file
# Rules for noticing when the objects from the utils directory are out of
# date with respect to their sources, and going and building them according
# to the rules in their own Makefile...
#
$(UTILS_BIN)/alpha.o: $(UTILS_SRC)/alpha.c
$(UTILS_BIN)/colors.o: $(UTILS_SRC)/colors.c
$(UTILS_BIN)/grabclient.o: $(UTILS_SRC)/grabclient.c
$(UTILS_BIN)/hsv.o: $(UTILS_SRC)/hsv.c
$(UTILS_BIN)/resources.o: $(UTILS_SRC)/resources.c
$(UTILS_BIN)/spline.o: $(UTILS_SRC)/spline.c
$(UTILS_BIN)/usleep.o: $(UTILS_SRC)/usleep.c
$(UTILS_BIN)/visual.o: $(UTILS_SRC)/visual.c
$(UTILS_BIN)/xmu.o: $(UTILS_SRC)/xmu.c
$(UTILS_BIN)/logo.o: $(UTILS_SRC)/logo.c
$(UTILS_BIN)/minixpm.o: $(UTILS_SRC)/minixpm.c
$(UTILS_BIN)/yarandom.o: $(UTILS_SRC)/yarandom.c
$(UTILS_BIN)/erase.o: $(UTILS_SRC)/erase.c
$(UTILS_BIN)/xshm.o: $(UTILS_SRC)/xshm.c
$(UTILS_BIN)/xdbe.o: $(UTILS_SRC)/xdbe.c
$(UTIL_OBJS):
cd $(UTILS_BIN) ; \
$(MAKE) $(@F) CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
# How we build object files in this directory.
.c.o:
$(CC) -c $(INCLUDES) $(DEFS) $(CFLAGS) $(X_CFLAGS) $<
# Make sure these are regenerated when the version number ticks.
screenhack.o: $(UTILS_SRC)/version.h
# Some abbreviations to keep the lines short...
XPM = xpm-pixmap.o
ALP = $(UTILS_BIN)/alpha.o
HSV = $(UTILS_BIN)/hsv.o
SPL = $(UTILS_BIN)/spline.o
LOGO = $(UTILS_BIN)/logo.o $(UTILS_BIN)/minixpm.o
GRAB = $(GRAB_OBJS)
ERASE = $(UTILS_BIN)/erase.o
COL = $(COLOR_OBJS)
SHM = $(XSHM_OBJS)
DBE = $(XDBE_OBJS)
BARS = $(UTILS_BIN)/colorbars.o $(LOGO)
ATV = analogtv.o $(SHM)
APPLE2 = apple2.o $(ATV)
CC_HACK = $(CC) $(LDFLAGS)
xscreensaver-sgigl: xscreensaver-sgigl.c
$(CC) $(LDFLAGS) -o $@ $< -I$(UTILS_SRC) $(HACK_PRE) \
$(XMU_LIBS) -lX11 -lXext $(X_EXTRA_LIBS) -lm
# The rules for those hacks which follow the `screenhack.c' API.
# If make wasn't such an utter abomination, these could all be combined
# into one rule, but we don't live in such a perfect world. The $< rule
# is pretty much useless in the face of more than one dependency, as far
# as I can tell.
#
attraction: attraction.o $(HACK_OBJS) $(COL) $(SPL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(SPL) $(HACK_LIBS)
ball2d: ball2d.o $(HACK_OBJS) $(COL) $(SPL) $(DBE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(SPL) $(DBE) $(HACK_LIBS)
blitspin: blitspin.o $(HACK_OBJS) $(GRAB) $(XPM)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(XPM) $(XPM_LIBS)
bubbles: bubbles.o $(HACK_OBJS) bubbles-default.o $(XPM)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) bubbles-default.o $(XPM) $(XPM_LIBS)
decayscreen: decayscreen.o $(HACK_OBJS) $(GRAB)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS)
deco: deco.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
flame: flame.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
greynetic: greynetic.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
halo: halo.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
helix: helix.o $(HACK_OBJS) $(HSV) $(ERASE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HSV) $(ERASE) $(HACK_LIBS)
hypercube: hypercube.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
imsmap: imsmap.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
kaleidescope: kaleidescope.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
lmorph: lmorph.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
maze: maze.o $(HACK_OBJS) $(ERASE) $(LOGO)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(ERASE) $(LOGO) $(HACK_LIBS)
moire: moire.o $(HACK_OBJS) $(COL) $(SHM)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(SHM) $(HACK_LIBS)
moire2: moire2.o $(HACK_OBJS) $(COL) $(DBE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(DBE) $(HACK_LIBS)
noseguy: noseguy.o $(HACK_OBJS) $(XPM)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(XPM) $(XPM_LIBS)
pedal: pedal.o $(HACK_OBJS) $(HSV) $(ERASE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HSV) $(ERASE) $(HACK_LIBS)
pyro: pyro.o $(HACK_OBJS) $(HSV)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HSV) $(HACK_LIBS)
qix: qix.o $(HACK_OBJS) $(HSV) $(ALP)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HSV) $(ALP) $(HACK_LIBS)
rocks: rocks.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
rorschach: rorschach.o $(HACK_OBJS) $(HSV) $(ERASE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HSV) $(ERASE) $(HACK_LIBS)
slidescreen: slidescreen.o $(HACK_OBJS) $(GRAB)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS)
goop: goop.o $(HACK_OBJS) $(HSV) $(ALP) $(SPL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HSV) $(ALP) $(SPL) $(HACK_LIBS)
starfish: starfish.o $(HACK_OBJS) $(COL) $(SPL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(SPL) $(HACK_LIBS)
munch: munch.o $(HACK_OBJS) $(COL) $(SPL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(SPL) $(HACK_LIBS)
rd-bomb: rd-bomb.o $(HACK_OBJS) $(COL) $(SHM)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(SHM) $(HACK_LIBS)
coral: coral.o $(HACK_OBJS) $(COL) $(ERASE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(ERASE) $(HACK_LIBS)
xjack: xjack.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
xlyap: xlyap.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
cynosure: cynosure.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
epicycle: epicycle.o $(HACK_OBJS) $(COL) $(ERASE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(ERASE) $(HACK_LIBS)
interference: interference.o $(HACK_OBJS) $(COL) $(SHM) $(DBE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(SHM) $(DBE) $(HACK_LIBS)
truchet: truchet.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
bsod: bsod.o $(HACK_OBJS) $(GRAB) $(APPLE2) $(XPM)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(APPLE2) $(XPM) $(XPM_LIBS)
apple2: apple2.o apple2-main.o $(HACK_OBJS) $(ATV) $(GRAB)
$(CC_HACK) -o $@ $@.o apple2-main.o $(HACK_OBJS) $(ATV) $(GRAB) $(XPM_LIBS) $(PTY_LIBS)
xanalogtv: xanalogtv.o $(HACK_OBJS) $(ATV) $(GRAB) $(XPM)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(ATV) $(GRAB) $(XPM) $(XPM_LIBS) $(HACK_LIBS)
distort: distort.o $(HACK_OBJS) $(GRAB) $(SHM)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(SHM) $(HACK_LIBS)
kumppa: kumppa.o $(HACK_OBJS) $(DBE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(DBE) $(HACK_LIBS)
t3d: t3d.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
penetrate: penetrate.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
deluxe: deluxe.o $(HACK_OBJS) $(ALP) $(COL) $(DBE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(ALP) $(COL) $(DBE) $(HACK_LIBS)
compass: compass.o $(HACK_OBJS) $(DBE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(DBE) $(HACK_LIBS)
squiral: squiral.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
xflame: xflame.o $(HACK_OBJS) $(SHM) $(XPM)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(SHM) $(XPM) $(XPM_LIBS)
wander: wander.o $(HACK_OBJS) $(COL) $(ERASE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(ERASE) $(HACK_LIBS)
spotlight: spotlight.o $(HACK_OBJS) $(GRAB)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS)
critical: critical.o $(HACK_OBJS) $(COL) $(ERASE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(ERASE) $(HACK_LIBS)
phosphor: phosphor.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS) $(PTY_LIBS)
xmatrix: xmatrix.o $(HACK_OBJS) $(XPM)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(XPM) $(XPM_LIBS)
petri: petri.o $(HACK_OBJS) $(COL) $(SPL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(SPL) $(HACK_LIBS)
shadebobs: shadebobs.o $(HACK_OBJS) $(COL) $(SPL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(SPL) $(HACK_LIBS)
ccurve: ccurve.o $(HACK_OBJS) $(COL) $(SPL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(ERASE) $(HACK_LIBS)
blaster: blaster.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
bumps: bumps.o $(HACK_OBJS) $(GRAB) $(SHM)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(SHM) $(HACK_LIBS)
ripples: ripples.o $(HACK_OBJS) $(SHM) $(COL) $(GRAB)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(SHM) $(COL) $(GRAB) $(HACK_LIBS)
xspirograph: xspirograph.o $(HACK_OBJS) $(COL) $(ERASE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(ERASE) $(HACK_LIBS)
nerverot: nerverot.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
xrayswarm: xrayswarm.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
hyperball: hyperball.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
zoom: zoom.o $(HACK_OBJS) $(GRAB)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(HACK_LIBS)
whirlwindwarp: whirlwindwarp.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
rotzoomer: rotzoomer.o $(HACK_OBJS) $(GRAB) $(SHM)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(SHM) $(HACK_LIBS)
whirlygig: whirlygig.o $(HACK_OBJS) $(DBE) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(DBE) $(COL) $(HACK_LIBS)
speedmine: speedmine.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
vermiculate: vermiculate.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
twang: twang.o $(HACK_OBJS) $(GRAB) $(SHM)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(GRAB) $(SHM) $(HACK_LIBS)
fluidballs: fluidballs.o $(HACK_OBJS) $(DBE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(DBE) $(HACK_LIBS)
anemone: anemone.o $(HACK_OBJS) $(COL) $(DBE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(DBE) $(HACK_LIBS)
halftone: halftone.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
metaballs: metaballs.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
eruption: eruption.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
popsquares: popsquares.o $(HACK_OBJS) $(DBE) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(DBE) $(COL) $(HACK_LIBS)
barcode: barcode.o $(HACK_OBJS) $(HSV)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HSV) $(HACK_LIBS)
piecewise: piecewise.o $(HACK_OBJS) $(COL) $(DBE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(DBE) $(HACK_LIBS)
cloudlife: cloudlife.o $(HACK_OBJS) $(COL) $(DBE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(DBE) $(HACK_LIBS)
fontglide: fontglide.o $(HACK_OBJS) $(DBE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(DBE) $(HACK_LIBS)
pong: pong.o $(HACK_OBJS) $(ATV) $(GRAB) $(XPM)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(ATV) $(GRAB) $(XPM) $(XPM_LIBS) $(HACK_LIBS)
wormhole: wormhole.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
fuzzyflakes: fuzzyflakes.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
anemotaxis: anemotaxis.o $(HACK_OBJS) $(COL) $(DBE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(DBE) $(HACK_LIBS)
memscroller: memscroller.o $(HACK_OBJS) $(SHM) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(SHM) $(COL) $(HACK_LIBS)
substrate: substrate.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
intermomentary: intermomentary.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
interaggregate: interaggregate.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
fireworkx: fireworkx.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
boxfit: boxfit.o $(HACK_OBJS) $(COL) $(GRAB)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(GRAB) $(HACK_LIBS)
ifs: ifs.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
celtic: celtic.o $(HACK_OBJS) $(COL) $(ERASE)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(ERASE) $(HACK_LIBS)
cwaves: cwaves.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
m6502.h:
@echo "building m6502.h from $(srcdir)/images/m6502/*.asm"; \
UTILS_SRC="$(UTILS_SRC)" \
$(srcdir)/m6502.sh m6502.h $(srcdir)/images/m6502/*.asm
m6502.o: m6502.h
m6502: m6502.o asm6502.o $(HACK_OBJS) $(ATV)
$(CC_HACK) -o $@ $@.o asm6502.o $(HACK_OBJS) $(ATV) $(HACK_LIBS)
abstractile: abstractile.o $(HACK_OBJS) $(COL)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(COL) $(HACK_LIBS)
lcdscrub: lcdscrub.o $(HACK_OBJS)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS) $(HACK_LIBS)
# The rules for those hacks which follow the `xlockmore' API.
#
bouboule: bouboule.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
braid: braid.o $(XLOCK_OBJS) $(ERASE)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(ERASE) $(HACK_LIBS)
drift: drift.o $(XLOCK_OBJS) $(ERASE)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(ERASE) $(HACK_LIBS)
flag: flag.o $(XLOCK_OBJS) $(XPM)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(XPM) $(XPM_LIBS)
forest: forest.o $(XLOCK_OBJS) $(ERASE)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(ERASE) $(HACK_LIBS)
vines: vines.o $(XLOCK_OBJS) $(ERASE)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(ERASE) $(HACK_LIBS)
galaxy: galaxy.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
grav: grav.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
hopalong: hopalong.o $(XLOCK_OBJS) $(ERASE)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(ERASE) $(HACK_LIBS)
julia: julia.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
laser: laser.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
lightning: lightning.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
lisa: lisa.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
lissie: lissie.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
penrose: penrose.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
sierpinski: sierpinski.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
slip: slip.o $(XLOCK_OBJS) $(GRAB)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(GRAB) $(HACK_LIBS)
sphere: sphere.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
spiral: spiral.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
strange: strange.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
swirl: swirl.o $(XLOCK_OBJS) $(SHM)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(SHM) $(HACK_LIBS)
fadeplot: fadeplot.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
mountain: mountain.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
triangle: triangle.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
worm: worm.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
rotor: rotor.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
ant: ant.o $(XLOCK_OBJS) $(ERASE)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(ERASE) $(HACK_LIBS)
demon: demon.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
loop: loop.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
flow: flow.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
discrete: discrete.o $(XLOCK_OBJS) $(ERASE)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(ERASE) $(HACK_LIBS)
crystal: crystal.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
apollonian: apollonian.o $(XLOCK_OBJS) $(ERASE)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(ERASE) $(HACK_LIBS)
euler2d: euler2d.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
juggle: juggle.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
polyominoes: polyominoes.o $(XLOCK_OBJS) $(ERASE)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(ERASE) $(HACK_LIBS)
thornbird: thornbird.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
PACOBJS=pacman_ai.o pacman_level.o
pacman: pacman.o $(PACOBJS) $(XLOCK_OBJS) $(XPM)
$(CC_HACK) -o $@ $@.o $(PACOBJS) $(XLOCK_OBJS) $(XPM) $(XPM_LIBS)
fiberlamp: fiberlamp.o $(XLOCK_OBJS)
$(CC_HACK) -o $@ $@.o $(XLOCK_OBJS) $(HACK_LIBS)
# These are not like the others.
#
xsublim: xsublim.o $(HACK_OBJS_1)
$(CC_HACK) -o $@ $@.o $(HACK_OBJS_1) $(HACK_LIBS)
webcollage-helper: webcollage-helper.o
$(CC_HACK) -o $@ $@.o $(XPM_LIBS) $(JPEG_LIBS)
##############################################################################
#
# DO NOT DELETE: updated by make distdepend
abstractile.o: ../config.h
abstractile.o: $(srcdir)/fps.h
abstractile.o: $(srcdir)/screenhackI.h
abstractile.o: $(srcdir)/screenhack.h
abstractile.o: $(UTILS_SRC)/colors.h
abstractile.o: $(UTILS_SRC)/grabscreen.h
abstractile.o: $(UTILS_SRC)/hsv.h
abstractile.o: $(UTILS_SRC)/resources.h
abstractile.o: $(UTILS_SRC)/usleep.h
abstractile.o: $(UTILS_SRC)/visual.h
abstractile.o: $(UTILS_SRC)/yarandom.h
analogtv.o: $(srcdir)/analogtv.h
analogtv.o: ../config.h
analogtv.o: $(srcdir)/images/6x10font.xbm
analogtv.o: $(UTILS_SRC)/grabscreen.h
analogtv.o: $(UTILS_SRC)/resources.h
analogtv.o: $(UTILS_SRC)/utils.h
analogtv.o: $(UTILS_SRC)/xshm.h
analogtv.o: $(UTILS_SRC)/yarandom.h
anemone.o: ../config.h
anemone.o: $(srcdir)/fps.h
anemone.o: $(srcdir)/screenhackI.h
anemone.o: $(srcdir)/screenhack.h