"Fossies" - the Fresh Open Source Software Archive

Member "bonnie++-2.00a/Makefile.in" (30 Dec 2008, 2272 Bytes) of package /linux/privat/bonnie++-2.00a.tgz:


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 EXES=bonnie++ zcav getc_putc getc_putc_helper
    2 EXE=bon_csv2html generate_randfile
    3 
    4 all: $(EXE) $(EXES)
    5 
    6 SCRIPTS=bon_csv2txt
    7 
    8 prefix=@prefix@
    9 eprefix=@exec_prefix@
   10 #MORE_WARNINGS=-Weffc++
   11 WFLAGS=-Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self $(MORE_WARNINGS)
   12 CFLAGS=-O2 @debug@ -DNDEBUG $(WFLAGS) $(MORECFLAGS)
   13 CXX=@CXX@ $(CFLAGS)
   14 LINK=@CXX@
   15 THREAD_LFLAGS=@thread_ldflags@
   16 
   17 INSTALL=@INSTALL@
   18 INSTALL_PROGRAM=@INSTALL_PROGRAM@
   19 
   20 BONSRC=bonnie++.cpp bon_io.cpp bon_file.cpp bon_time.cpp semaphore.cpp \
   21  sync.cpp thread.cpp bon_suid.cpp duration.cpp rand.o util.o
   22 BONOBJS=$(BONSRC:.cpp=.o)
   23 
   24 MAN1=bon_csv2html.1 bon_csv2txt.1 generate_randfile.1
   25 MAN8=bonnie++.8 zcav.8 getc_putc.8
   26 
   27 ZCAVSRC=zcav.cpp thread.cpp zcav_io.cpp bon_suid.cpp duration.cpp
   28 ZCAVOBJS=$(ZCAVSRC:.cpp=.o)
   29 
   30 GETCSRC=getc_putc.cpp bon_suid.cpp duration.cpp util.o
   31 GETCOBJS=$(GETCSRC:.cpp=.o)
   32 
   33 GETCHSRC=getc_putc_helper.cpp duration.cpp
   34 GETCHOBJS=$(GETCHSRC:.cpp=.o)
   35 
   36 bonnie++: $(BONOBJS)
   37 	$(LINK) -o bonnie++ $(BONOBJS) $(THREAD_LFLAGS)
   38 
   39 zcav: $(ZCAVOBJS)
   40 	$(LINK) -o zcav $(ZCAVOBJS) $(THREAD_LFLAGS)
   41 
   42 getc_putc: $(GETCOBJS) getc_putc_helper
   43 	$(LINK) -o getc_putc $(GETCOBJS) $(THREAD_LFLAGS)
   44 
   45 getc_putc_helper: $(GETCHOBJS)
   46 	$(CXX) -o getc_putc_helper $(GETCHOBJS)
   47 
   48 bon_csv2html: bon_csv2html.o
   49 	$(LINK) bon_csv2html.o -o bon_csv2html
   50 
   51 generate_randfile: generate_randfile.o
   52 	$(LINK) generate_randfile.o -o generate_randfile
   53 
   54 install-bin: $(EXE) $(EXES)
   55 	mkdir -p $(eprefix)/bin $(eprefix)/sbin
   56 	@INSTALL_PROGRAM@ @stripping@ $(EXES) $(eprefix)/sbin
   57 	@INSTALL_PROGRAM@ @stripping@ $(EXE) $(eprefix)/bin
   58 	@INSTALL_SCRIPT@ $(SCRIPTS) $(eprefix)/bin
   59 
   60 install: install-bin
   61 	mkdir -p @mandir@/man1 @mandir@/man8
   62 	@INSTALL_DATA@ $(MAN1) @mandir@/man1
   63 	@INSTALL_DATA@ $(MAN8) @mandir@/man8
   64 
   65 %.o: %.cpp
   66 	$(CXX) -c $<
   67 
   68 clean:
   69 	rm -f $(EXE) $(EXES) *.o build-stamp install-stamp
   70 	rm -rf debian/tmp core debian/*.debhelper
   71 	rm -f debian/{substvars,files} config.log depends.bak
   72 
   73 realclean: clean
   74 	rm -f config.* Makefile bonnie++.spec port.h conf.h configure.lineno
   75 	rm -f bon_csv2txt bon_csv2html.1 sun/pkginfo bonnie.h
   76 
   77 dep:
   78 	makedepend -Y -f depends *.cpp 2> /dev/null
   79 
   80 include depends
   81