"Fossies" - the Fresh Open Source Software Archive

Member "bandwidthd-2.0.1/Makefile.in" (11 Jan 2005, 1737 Bytes) of package /linux/privat/old/bandwidthd-2.0.1.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 exec_prefix = @exec_prefix@
    2 prefix = @prefix@
    3 CC = @CC@
    4 LDFLAGS = @LDFLAGS@ @LIBS@
    5 OBS= bandwidthd.o graph.o conf.tab.o conf.l.o
    6 
    7 CFLAGS= -Wall @CFLAGS@ @CPPFLAGS@ @DEFS@ -DINSTALL_DIR="\"$(exec_prefix)/bandwidthd\""
    8 NONWALLCFLAGS= @CFLAGS@ @CPPFLAGS@ @DEFS@
    9 
   10 # Debugging stuff
   11 #CFLAGS += -Wall -pg -DPROFILE
   12 #CFLAGS += -Wall -g -DDEBUG 
   13 
   14 all: bandwidthd
   15 
   16 bandwidthd: $(OBS) bandwidthd.h
   17 	$(CC) $(CFLAGS) $(OBS) -o bandwidthd $(LDFLAGS) 
   18 
   19 conf.tab.c: conf.y
   20 	@YACC@ -pbdconfig_ -d conf.y
   21 	mv y.tab.c conf.tab.c
   22 	mv y.tab.h conf.tab.h
   23 
   24 conf.l.c: conf.l
   25 	@LEX@ -Pbdconfig_ -s -i -t -I conf.l > conf.l.c
   26 
   27 clean:
   28 	rm -f *.o bandwidthd *~ DEADJOE core
   29 
   30 # Resets us to distributable code
   31 dist-clean: conf.tab.c conf.l.c clean
   32 	rm -f config.h config.log config.status Makefile
   33 
   34 # Deletes all derived files
   35 # You must have flex, bison, and autoconf to build the source if you run this
   36 # Before you can do anything after running this you must run "autoheader; autoconf"
   37 real-clean: dist-clean
   38 	rm -f conf.tab.c conf.tab.h conf.l.c config.h.in configure 
   39 
   40 install: all
   41 	@INSTALL@ -d $(DESTDIR)$(exec_prefix)/bandwidthd/etc
   42 	@INSTALL@ -d $(DESTDIR)$(exec_prefix)/bandwidthd/htdocs
   43 	@INSTALL@ -m755 -s bandwidthd $(DESTDIR)$(exec_prefix)/bandwidthd	
   44 	if [ ! -f $(DESTDIR)$(exec_prefix)/bandwidthd/etc/bandwidthd.conf ] ; then @INSTALL@ -m644 etc/bandwidthd.conf $(DESTDIR)$(exec_prefix)/bandwidthd/etc/ ; fi
   45 	@INSTALL@ -m644 htdocs/legend.gif $(DESTDIR)$(exec_prefix)/bandwidthd/htdocs
   46 	@INSTALL@ -m644 htdocs/logo.gif $(DESTDIR)$(exec_prefix)/bandwidthd/htdocs
   47 
   48 #**** Stuff where -WALL is turned off to reduce the noise in a compile so I can see my own errors *******************
   49 conf.l.o: conf.l.c
   50 	$(CC) $(NONWALLCFLAGS) -c -o conf.l.o conf.l.c