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