- properly link libpgplot.so against -lpng (so that each program which links with libpgplot.so does not have to specify -lpng) - a bit cleaner (use macros where possible, etc.) Submitted by: knu
15 lines
578 B
Makefile
15 lines
578 B
Makefile
# $FreeBSD$
|
|
all:
|
|
make -f Makefile.flib X11BASE="${X11BASE}"
|
|
make -f Makefile.clib
|
|
make -f Makefile.bin X11BASE="${X11BASE}"
|
|
make -f Makefile.doc
|
|
|
|
install:
|
|
install -c *.a *.so.5* ${PREFIX}/lib
|
|
mkdir -p ${PREFIX}/share/pgplot
|
|
install -c grfont.dat rgb.txt pgplot.doc pgplot.html pgplot-routines.tex cpg/cpgplot.doc ${PREFIX}/share/pgplot
|
|
install -c cpgplot.h ${PREFIX}/include
|
|
install -c Makefile.demo examples/pgdemo*.f cpg/cpgdemo.c ${PREFIX}/share/pgplot
|
|
cp pgdispd/aaaread.me ${PREFIX}/share/pgplot/readme.pgdisp
|
|
install -c -s pgxwin_server pgdisp ${PREFIX}/bin
|