"Fossies" - the Fresh Open Source Software Archive

Member "htmlrecode-1.3.1/Makefile" (21 Jul 2009, 1403 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.3.1
    2 include Makefile.sets
    3 #LDFLAGS=-liconv - not needed apparently
    4 
    5 # Note: If you get linkage errors from basic_string this and that,
    6 #       try this kind of command to force using an older g++ version.
    7 #CXX=/usr/gcc3/bin/i586-pc-linux-gnu-g++
    8 
    9 CPPFLAGS := $(CPPFLAGS) -Iargh
   10 
   11 ARCHDIR=archives/
   12 ARCHNAME=htmlrecode-$(VERSION)
   13 
   14 ARCHFILES=Makefile.sets COPYING progdesc.php configure \
   15           htmlparser1.cc htmlparser2.cc \
   16           htmlrecode.cc htmlrecode.hh autoptr entities.h \
   17           argh/argh.cc argh/argh.hh argh/argh.h argh/argh-c.inc argh/docmaker.php \
   18           argh/Makefile argh/depfun.mak argh/Makefile.sets argh/progdesc.php \
   19           argh/COPYING argh/README.html
   20 
   21 BINDIR=/usr/local/bin
   22 INSTALL=install
   23 INSTALLPROGS=htmlrecode
   24 DEPFUN_INSTALL=sdirs
   25 SUBDIRS=argh
   26 
   27 # For DYNAMIC argh-linking, use:
   28 #ARGHLINK=-Largh -largh
   29 # For STATIC argh-linking, use:
   30 ARGHLINK=argh/libargh.a
   31 
   32 
   33 all: subdirs htmlrecode
   34 
   35 subdirs: $(SUBDIRS)
   36 $(SUBDIRS):
   37 	@$(MAKE) -C $@
   38 
   39 
   40 htmlrecode: htmlrecode.o
   41 	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $< $(ARGHLINK)
   42 
   43 include depfun.mak
   44 
   45 
   46 install: installsdirs
   47 	make -C argh install
   48 uninstall: uninstallsdirs
   49 	make -C argh uninstall
   50 
   51 
   52 
   53 clean:
   54 	rm -f htmlrecode htmlrecode.o
   55 distclean: clean
   56 	rm -f *~ preview.c
   57 realclean: distclean
   58 
   59 
   60 
   61 FORCE: ;
   62 .PHONY: all FORCE \
   63         clean distclean realclean \
   64         subdirs $(SUBDIRS) \
   65         install uninstall