Lines 1-8
Link Here
|
1 |
# Copyright (C) 1990-2006 Bard Ermentrout |
1 |
# Copyright (C) 1990-2006 Bard Ermentrout |
2 |
# Edited for Debian GNU/Linux. |
2 |
# Edited for Debian GNU/Linux. |
3 |
DESTDIR = |
3 |
#DESTDIR = @destdir@ |
4 |
BINDIR = $(DESTDIR)/usr/X11R6/bin |
4 |
#BINDIR = $(DESTDIR)/usr/X11R6/bin |
5 |
DOCDIR = $(DESTDIR)/usr/share/doc/xppaut |
5 |
#DOCDIR = $(DESTDIR)/usr/share/doc/xppaut |
6 |
# End Debian Edit |
6 |
# End Debian Edit |
7 |
################################# |
7 |
################################# |
8 |
# |
8 |
# |
Lines 20-26
Link Here
|
20 |
################################## |
20 |
################################## |
21 |
# Standard Linux distributions # |
21 |
# Standard Linux distributions # |
22 |
################################## |
22 |
################################## |
23 |
CFLAGS= -g -O -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR=$(VERSION) -I/usr/X11R6/include |
23 |
MY_CFLAGS= -DAUTO -DCVODE_YES -DNOERRNO -DHAVEDLL -DMYSTR=$(VERSION) -I/usr/X11R6/include |
24 |
#CFLAGS= -g -O -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR=$(VERSION) -I/usr/X11R6/include |
24 |
#CFLAGS= -g -O -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR=$(VERSION) -I/usr/X11R6/include |
25 |
LDFLAGS= -L/usr/X11R6/lib |
25 |
LDFLAGS= -L/usr/X11R6/lib |
26 |
LIBS= -lX11 -lm -ldl |
26 |
LIBS= -lX11 -lm -ldl |
Lines 151-156
Link Here
|
151 |
menudrive.o userbut.o |
151 |
menudrive.o userbut.o |
152 |
AUTOOBJ = autlib1.o autlib2.o autlib3.o autevd.o run_auto.o autpp.o \ |
152 |
AUTOOBJ = autlib1.o autlib2.o autlib3.o autevd.o run_auto.o autpp.o \ |
153 |
diagram.o auto_nox.o auto_x11.o flowkm_small.o |
153 |
diagram.o auto_nox.o auto_x11.o flowkm_small.o |
|
|
154 |
|
155 |
.c.o: |
156 |
$(CC) $(CFLAGS) $(MY_CFLAGS) -c $*.c |
157 |
|
154 |
###################################################################### |
158 |
###################################################################### |
155 |
# |
159 |
# |
156 |
# |
160 |
# |
Lines 185-203
Link Here
|
185 |
cd mkavi ; make |
189 |
cd mkavi ; make |
186 |
# |
190 |
# |
187 |
# Edited for Debian GNU/Linux. |
191 |
# Edited for Debian GNU/Linux. |
188 |
install: xppaut |
192 |
install: xppaut xppdoc |
189 |
# Make necessary installation directories |
193 |
# Make necessary installation directories |
190 |
mkdir -p $(BINDIR) |
194 |
mkdir -p $(BINDIR) |
191 |
mkdir -p $(DOCDIR)/html |
195 |
mkdir -p $(DOCDIR)/html |
192 |
mkdir -p $(DOCDIR)/examples |
196 |
mkdir -p $(DOCDIR)/examples |
193 |
mkdir -p $(DESTDIR)/usr/X11R6/man/man1 |
197 |
mkdir -p $(MANDIR)/man1 |
194 |
# Put everything home |
198 |
# Put everything home |
195 |
strip xppaut |
199 |
strip xppaut |
196 |
cp xppaut $(BINDIR) |
200 |
cp xppaut $(BINDIR) |
197 |
cp -r ode* $(DOCDIR)/examples |
201 |
cp -r ode* $(DOCDIR)/examples |
198 |
cp -r help/* $(DOCDIR)/html |
202 |
cp -r help/* $(DOCDIR)/html |
199 |
cp README *.pdf $(DOCDIR) |
203 |
cp README *.pdf $(DOCDIR) |
200 |
cp xppaut.1 $(DESTDIR)/usr/X11R6/man/man1 |
204 |
cp xppaut.1 $(MANDIR)/man1 |
201 |
# End Debian Ed |
205 |
# End Debian Ed |
202 |
uninstall: |
206 |
uninstall: |
203 |
# Remove everything you created |
207 |
# Remove everything you created |
Lines 232-249
Link Here
|
232 |
# clean |
236 |
# clean |
233 |
############################################## |
237 |
############################################## |
234 |
clean: |
238 |
clean: |
235 |
rm *.o;rm libI77/*.o;rm cvodesrc/*.o |
239 |
rm -f *.o;rm -f libI77/*.o;rm -f cvodesrc/*.o |
|
|
240 |
rm -f *.a;rm -f libI77/*.a;rm -f cvodesrc/*.a |
241 |
find . -name \*.ps | xargs rm |
242 |
find . -name \*.pdf | xargs rm |
243 |
find . -name \*.dvi | xargs rm |
244 |
find . -name \*~ | xargs rm |
245 |
|
236 |
####################################################### |
246 |
####################################################### |
237 |
# Documentation |
247 |
# Documentation |
238 |
####################################################### |
248 |
####################################################### |
239 |
xppdoc: |
249 |
xppdoc: |
240 |
latex xpp_doc |
250 |
latex xpp_doc |
241 |
latex xpp_doc |
251 |
latex xpp_doc |
242 |
latex xpp_doc |
252 |
latex xpp_doc |
243 |
dvips -o xpp_doc.ps xpp_doc |
253 |
dvips -o xpp_doc.ps xpp_doc |
244 |
ps2pdf xpp_doc.ps |
254 |
ps2pdf xpp_doc.ps |
245 |
latex xpp_sum |
255 |
latex xpp_sum |
246 |
latex xpp_sum |
256 |
latex xpp_sum |
247 |
dvips -o xpp_sum.ps xpp_sum |
257 |
dvips -o xpp_sum.ps xpp_sum |
248 |
ps2pdf xpp_sum.ps |
258 |
ps2pdf xpp_sum.ps |
249 |
|
259 |
|