1ARTSCLASSLIB = ../../classes/lib/libArts.la 2ARTSCLASSINC = -I../../classes/include 3CXX = @CXX@ 4CXXFLAGS = @CXXFLAGS@ 5top_builddir = ../.. 6LIBTOOL = @ /bin/sh $(top_builddir)/libtool 7 8all: artsports 9 10clean: 11 rm -f *.o *.lo artsports 12 rm -Rf .libs 13 14strip:: artsports 15 @-if [ -f .libs/artsports ]; then \ 16 strip .libs/artsports ; \ 17 else \ 18 strip artsports ; \ 19 fi 20 21artsports: artsports.o ${ARTSCLASSLIB} 22 ${LIBTOOL} ${CXX} ${CXXFLAGS} artsports.o ${ARTSCLASSLIB} @LIBS@ -o artsports 23 24artsports.o: artsports.cc ../../classes/include/*.hh 25 ${CXX} ${CXXFLAGS} ${ARTSCLASSINC} -c artsports.cc 26 27install:: strip 28 ${LIBTOOL} ../../install-sh -c -m 555 artsports ${DESTDIR}@bindir@/artsports 29 ../../install-sh -c -m 444 artsports.man ${DESTDIR}@mandir@/manl/artsports.l 30 31tarball:: 32 @TAR@ -rvf ../../@PKG_VERSION@_@OSNAME@.tar ${DESTDIR}@bindir@/artsports 33 @TAR@ -rvf ../../@PKG_VERSION@_@OSNAME@.tar ${DESTDIR}@mandir@/manl/artsports.l 34 35 36