"Fossies" - the Fresh Open Source Software Archive

Member "htmlrecode-1.3.1/argh/Makefile" (21 Jul 2009, 1062 Bytes) of package /linux/www/htmlrecode-1.3.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 VERSION=1.0.8
    2 ARCHDIR=archives/
    3 ARCHNAME=libargh-$(VERSION)
    4 ARCHFILES=argh.cc argh.hh argh.h argh-c.inc \
    5           Makefile.sets progdesc.php COPYING
    6 
    7 include Makefile.sets
    8 
    9 CPPFLAGS+=-DNEED_ARGH_H
   10 INSTALL=install
   11 INSTALLLIBS=libargh.so
   12 LIBDIR=/usr/local/lib
   13 INCDIR=/usr/local/include
   14 DEPFUN_INSTALL=bin
   15 
   16 all: libargh.so libargh.a
   17 
   18 libargh.so: argh.lo
   19 	$(CXX) -g -shared -Wl,-soname=$@ -o $@ $^
   20 argh.lo: argh.cc
   21 	$(CXX) $(CXXFLAGS) $(CPPFLAGS) -fpic -o $@ -c $<
   22 
   23 libargh.a: argh.o
   24 	ar -rc $@ $^
   25 
   26 include depfun.mak
   27 
   28 install: libargh.so libargh.a argh.hh argh.h install$(DEPFUN_INSTALL)
   29 	$(INSTALL) -s -m 0755 libargh.so $(LIBDIR)/libargh-$(VERSION).so
   30 	$(INSTALL) -s -m 0644 libargh.a $(LIBDIR)/
   31 	$(INSTALL) -m 0644 argh.hh argh.h $(INCDIR)/
   32 uninstall: uninstall$(DEPFUN_INSTALL)
   33 	rm -f $(LIBDIR)/libargh-$(VERSION).so $(LIBDIR)/libargh.a
   34 	rm -f $(INCDIR)/argh.hh $(INCDIR)/argh.h
   35 	
   36 clean:
   37 	rm -f libargh.so argh.lo argh.o libargh.a
   38 distclean: clean
   39 	rm -f *~ .depend
   40 realclean: distclean
   41 
   42 FORCE: ;
   43 .PHONY: clean distclean realclean all FORCE install uninstall