tomwalters@0
|
1 #-------------------------------------------------------------------------
|
tomwalters@0
|
2 #
|
tomwalters@0
|
3 # Copyright (c) Applied Psychology Unit, Medical Research Council. 1993
|
tomwalters@0
|
4 # ===========================================================================
|
tomwalters@0
|
5 # Permission to use, copy, modify, and distribute this software without fee
|
tomwalters@0
|
6 # is hereby granted for research purposes, provided that this copyright
|
tomwalters@0
|
7 # notice appears in all copies and in all supporting documentation, and that
|
tomwalters@0
|
8 # the software is not redistributed for any fee (except for a nominal
|
tomwalters@0
|
9 # shipping charge). Anyone wanting to incorporate all or part of this
|
tomwalters@0
|
10 # software in a commercial product must obtain a license from the Medical
|
tomwalters@0
|
11 # Research Council.
|
tomwalters@0
|
12 #
|
tomwalters@0
|
13 # The MRC makes no representations about the suitability of this
|
tomwalters@0
|
14 # software for any purpose. It is provided "as is" without express or
|
tomwalters@0
|
15 # implied warranty.
|
tomwalters@0
|
16 #
|
tomwalters@0
|
17 # THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
tomwalters@0
|
18 # ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
tomwalters@0
|
19 # THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES
|
tomwalters@0
|
20 # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
tomwalters@0
|
21 # WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
tomwalters@0
|
22 # ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
tomwalters@0
|
23 # SOFTWARE.
|
tomwalters@0
|
24 #
|
tomwalters@0
|
25 #-------------------------------------------------------------------------
|
tomwalters@0
|
26 #
|
tomwalters@0
|
27 # makefile for xreview
|
tomwalters@0
|
28 #
|
tomwalters@0
|
29 # M.Akeroyd. Christmas 1993.
|
tomwalters@0
|
30 #
|
tomwalters@0
|
31 # Revisions: MAA & mitch d'souza: autumn 1993:
|
tomwalters@0
|
32 # changed the definition of 'CC' so that it would work on
|
tomwalters@0
|
33 # Sparc/Openwindows/gcc: seems the -Bstatic gest rid of a
|
tomwalters@0
|
34 # well-known Sun bug, and the -Xlinker stops it looking in
|
tomwalters@0
|
35 # the default lib location /usr/local/lib
|
tomwalters@0
|
36 # Also added lots of extra libs (Xext, Xt, m), again so as
|
tomwalters@0
|
37 # to work under Sparc/Openwindows/gcc.
|
tomwalters@0
|
38 #
|
tomwalters@0
|
39 #--------------------------------------------------------------------------
|
tomwalters@0
|
40
|
tomwalters@0
|
41 # linux 386 pc
|
tomwalters@0
|
42 #CC = gcc
|
tomwalters@0
|
43 #CFLAGS= -DHOST_LINUXPC -O -I/usr/local/X386/include -L/usr/local/X386/lib
|
tomwalters@0
|
44 #LIBS = -lXmu -lX11
|
tomwalters@0
|
45
|
tomwalters@0
|
46 # Sparc (NOT openwindows)
|
tomwalters@0
|
47 #CC = gcc
|
tomwalters@0
|
48 ###CFLAGS= -O -I/usr/local2/include -L/usr/local2/lib
|
tomwalters@0
|
49 #LIBS = -lXmu -lX11
|
tomwalters@0
|
50
|
tomwalters@0
|
51 # Sparc & Openwindows
|
tomwalters@0
|
52 #CC = gcc -Xlinker -Bstatic
|
tomwalters@0
|
53 #CFLAGS = -O -s -I/usr/openwin/include -L/usr/openwin/lib
|
tomwalters@0
|
54 #LIBS = -lXt -lXext -lXmu -lX11 -lm
|
tomwalters@0
|
55
|
tomwalters@0
|
56 # DECstation 3100
|
tomwalters@0
|
57 #CC = gcc
|
tomwalters@0
|
58 #CFLAGS= -DHOST_DECSTATION -O -I/usr/local2/include -L/usr/local2/lib
|
tomwalters@0
|
59 #LIBS = -lXmu -lX11
|
tomwalters@0
|
60
|
tomwalters@0
|
61 #--------------------------------------------------------------------------
|
tomwalters@0
|
62
|
tomwalters@0
|
63 TARFILE = xreview.tar
|
tomwalters@0
|
64
|
tomwalters@0
|
65 all: synthirn xreview
|
tomwalters@0
|
66
|
tomwalters@0
|
67 clean:
|
tomwalters@0
|
68 rm -f *.o xreview $(TARFILE)
|
tomwalters@0
|
69
|
tomwalters@0
|
70 tidy:
|
tomwalters@0
|
71 rm -f *.o
|
tomwalters@0
|
72
|
tomwalters@0
|
73 tar:
|
tomwalters@0
|
74 tar cvf $(TARFILE) cartoon.c initialise.c buttons.c graphics.c \
|
tomwalters@0
|
75 switch_control.c switch_axes.c switch_buttons.c xreview.c \
|
tomwalters@0
|
76 xreview.h xreview.bitmap stipple_a disclaimer.text releasenotes.text \
|
tomwalters@0
|
77 makefile synthirn.c
|
tomwalters@0
|
78
|
tomwalters@0
|
79 #--------------------------------------------------------------------------
|
tomwalters@0
|
80 synthirn: synthirn.o
|
tomwalters@0
|
81 $(CC) -o synthirn synthirn.o -lm
|
tomwalters@0
|
82
|
tomwalters@0
|
83 synthirn.o: synthirn.c
|
tomwalters@0
|
84 $(CC) -c synthirn.c
|
tomwalters@0
|
85
|
tomwalters@0
|
86 synthdramp: synthdramp.o
|
tomwalters@0
|
87 $(CC) -o synthdramp synthdramp.o -lm
|
tomwalters@0
|
88
|
tomwalters@0
|
89 synthdramp.o: synthdramp.c
|
tomwalters@0
|
90 $(CC) -c synthdramp.c
|
tomwalters@0
|
91
|
tomwalters@0
|
92 xreview: cartoon.o initialise.o buttons.o graphics.o \
|
tomwalters@0
|
93 switch_control.o switch_axes.o switch_buttons.o \
|
tomwalters@0
|
94 xreview.h xreview.bitmap stipple_a \
|
tomwalters@0
|
95 xreview.o
|
tomwalters@0
|
96 $(CC) $(CFLAGS) -o xreview \
|
tomwalters@0
|
97 cartoon.o initialise.o buttons.o graphics.o \
|
tomwalters@0
|
98 switch_control.o switch_axes.o switch_buttons.o \
|
tomwalters@0
|
99 xreview.o $(LDFLAGS)
|
tomwalters@0
|
100
|
tomwalters@0
|
101 cartoon.o: cartoon.c xreview.h
|
tomwalters@0
|
102 $(CC) $(CFLAGS) -c cartoon.c
|
tomwalters@0
|
103
|
tomwalters@0
|
104 initialise.o: initialise.c xreview.h xreview.bitmap stipple_a
|
tomwalters@0
|
105 $(CC) $(CFLAGS) -c initialise.c
|
tomwalters@0
|
106
|
tomwalters@0
|
107 buttons.o: buttons.c xreview.h
|
tomwalters@0
|
108 $(CC) $(CFLAGS) -c buttons.c
|
tomwalters@0
|
109
|
tomwalters@0
|
110 graphics.o: graphics.c xreview.h
|
tomwalters@0
|
111 $(CC) $(CFLAGS) -c graphics.c
|
tomwalters@0
|
112
|
tomwalters@0
|
113 switch_control.o: switch_control.c xreview.h
|
tomwalters@0
|
114 $(CC) $(CFLAGS) -c switch_control.c
|
tomwalters@0
|
115
|
tomwalters@0
|
116 switch_axes.o: switch_axes.c xreview.h
|
tomwalters@0
|
117 $(CC) $(CFLAGS) -c switch_axes.c
|
tomwalters@0
|
118
|
tomwalters@0
|
119 switch_buttons.o: switch_buttons.c xreview.h
|
tomwalters@0
|
120 $(CC) $(CFLAGS) -c switch_buttons.c
|
tomwalters@0
|
121
|
tomwalters@0
|
122 xreview.o: xreview.c xreview.h
|
tomwalters@0
|
123 $(CC) $(CFLAGS) -c xreview.c
|
tomwalters@0
|
124
|
tomwalters@0
|
125 #--------------------------------------------------------------------------
|
tomwalters@0
|
126
|
tomwalters@0
|
127
|
tomwalters@0
|
128
|
tomwalters@0
|
129
|
tomwalters@0
|
130
|
tomwalters@0
|
131
|
tomwalters@0
|
132
|
tomwalters@0
|
133
|
tomwalters@0
|
134
|