"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "procinfo-ng-2.0.217/Makefile.in" of archive procinfo-ng-2.0.217.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 ### Makefile for procinfo-ng
    2 
    3 prefix=/usr
    4 
    5 mandir= @mandir@
    6 
    7 CXX = @CXX@
    8 
    9 CFLAGS = @CFLAGS@
   10 LDFLAGS = @LDFLAGS@
   11 
   12 # This just gets ignored, but ./configure wants it.
   13 #datarootdir = @datarootdir@
   14 
   15 #LDLIBS = -levent
   16 
   17 ### Add to taste:
   18 
   19 # CFLAGS  = -g 
   20 # LDFLAGS = -g
   21 
   22 # CFLAGS += -DPROC_DIR=\"extra2/\"
   23 
   24 # CFLAGS += -DDEBUG
   25 # LDLIBS += -ldmalloc
   26 
   27 # CFLAGS += -pg
   28 # LDFLAGS = -pg
   29 
   30 ### End of configurable options.
   31 
   32 all:	procinfo
   33 
   34 clean:
   35 	rm -f procinfo procinfo.exe procinfo.0 *.o *~ out config.*
   36 
   37 distclean:
   38 	rm -f procinfo procinfo.exe procinfo.0 *.o *~ out config.* Makefile
   39 
   40 .PHONY: clean all
   41 
   42 procinfo: procinfo.cpp diskStats.cpp \
   43 routines.cpp timeRoutines.cpp prettyPrint.cpp \
   44 linux26_procstat.cpp linux26_rendercpupagestat.cpp linux26_netstat.cpp \
   45 cygwin_procstat.cpp cygwin_rendercpupagestat.cpp \
   46 Makefile
   47 	$(CXX) $(CFLAGS) $(LDFLAGS) procinfo.cpp -o $@
   48 
   49 #procinfo.o: procinfo.cpp procinfo.h
   50 #	$(XX) $(CFLAGS) procinfo.cpp -o procinfo.o
   51 
   52 install: procinfo procinfo.8
   53 	-mkdir -p $(DESTDIR)/$(prefix)/bin
   54 	install procinfo $(DESTDIR)/$(prefix)/bin/procinfo
   55 	-mkdir -p $(DESTDIR)/$(mandir)/man8
   56 	install -m 644  procinfo.8 $(DESTDIR)/$(mandir)/man8/procinfo.8