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