"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Makefile" between
multitail-6.4.2.tgz and multitail-6.5.0.tgz

About: multitail lets you view one or multiple files like the original tail program.

Makefile  (multitail-6.4.2.tgz):Makefile  (multitail-6.5.0.tgz)
include version include version
UTF8_SUPPORT=yes PLATFORM:=$(shell uname)
CPPFLAGS:=$(shell pkg-config --cflags ncurses)
NCURSES_LIB:=$(shell pkg-config --libs ncurses)
DEBUG:=#XXX -g -D_DEBUG ###-pg -Wpedantic ## -pg #-fprofile-arcs
# pkg-config --libs --cflags ncurses
# -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -lncurses -ltinfo
UTF8_SUPPORT:=yes
DESTDIR= DESTDIR=
PREFIX=/usr PREFIX=/usr/local
CONFIG_FILE=$(DESTDIR)/etc/multitail.conf CONFIG_FILE=$(DESTDIR)$(PREFIX)/etc/multitail.conf
CC?=gcc CC?=gcc
DEBUG+=-g -Wall # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile CFLAGS+=-Wall -Wno-unused-parameter -funsigned-char -O3
-arcs CPPFLAGS+=-D$(PLATFORM) -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONF
IG_FILE)\" -D_FORTIFY_SOURCE=2
# build dependency files while compile (*.d)
CPPFLAGS+= -MMD -MP
ifeq ($(PLATFORM),Darwin)
LDFLAGS+=-lpanel $(NCURSES_LIB) -lutil -lm
else
ifeq ($(UTF8_SUPPORT),yes) ifeq ($(UTF8_SUPPORT),yes)
LDFLAGS+=-lpanelw -lncursesw -lutil -lm LDFLAGS+=-lpanelw -lncursesw -lutil -lm
CFLAGS+=-funsigned-char -D`uname` -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CON CPPFLAGS+=-DUTF8_SUPPORT
FIG_FILE)\" -DUTF8_SUPPORT -D_FORTIFY_SOURCE=2 -O3
else else
LDFLAGS+=-lpanel -lncurses -lutil -lm LDFLAGS+=-lpanel -lncurses -lutil -lm
CFLAGS+=-funsigned-char -D`uname` -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CON endif
FIG_FILE)\" -D_FORTIFY_SOURCE=2 -O3
endif endif
OBJS=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o selbox. OBJS:=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o selbox
o stripstring.o color.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o h .o stripstring.o color.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o
istory.o xclip.o history.o clipboard.o
DEPENDS:= $(OBJS:%.o=%.d)
.PHONY: all check install uninstall coverity clean distclean package thanks
all: multitail all: multitail
multitail: $(OBJS) multitail: $(OBJS)
$(CC) $(OBJS) $(LDFLAGS) -o multitail $(CC) $(OBJS) $(LDFLAGS) -o multitail
multitail_ccmalloc: $(OBJS) ccmultitail: $(OBJS)
ccmalloc --no-wrapper $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o ccmultitail ccmalloc --no-wrapper -Wextra $(CC) $(OBJS) $(LDFLAGS) -o ccmultitail
install: multitail install: multitail
mkdir -p $(DESTDIR)$(PREFIX)/bin mkdir -p $(DESTDIR)$(PREFIX)/bin
cp multitail $(DESTDIR)$(PREFIX)/bin cp multitail $(DESTDIR)$(PREFIX)/bin
mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
cp multitail.1 $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1 cp multitail.1 $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1
mkdir -p $(DESTDIR)$(PREFIX)/share/doc/multitail-$(VERSION) mkdir -p $(DESTDIR)$(PREFIX)/share/doc/multitail-$(VERSION)
cp *.txt INSTALL manual*.html $(DESTDIR)$(PREFIX)/share/doc/multitail-$(V ERSION) cp *.txt INSTALL manual*.html $(DESTDIR)$(PREFIX)/share/doc/multitail-$(V ERSION)
# #
### COPIED multitail.conf.new, YOU NEED TO REPLACE THE multitail.conf ### COPIED multitail.conf.new, YOU NEED TO REPLACE THE multitail.conf
### YOURSELF WITH THE NEW FILE ### YOURSELF WITH THE NEW FILE
# #
mkdir -p $(DESTDIR)/etc/multitail/ mkdir -p $(DESTDIR)$(PREFIX)/etc/multitail/
cp multitail.conf $(CONFIG_FILE).new cp multitail.conf $(CONFIG_FILE).new
cp conversion-scripts/* $(DESTDIR)/etc/multitail/ cp conversion-scripts/* $(DESTDIR)$(PREFIX)/etc/multitail/
#rm -f $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1.gz #rm -f $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1.gz
#gzip -9 $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1 #gzip -9 $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1
# #
# There's a mailinglist! # There's a mailinglist!
# Send an e-mail to minimalist@vanheusden.com with in the subject # Send an e-mail to minimalist@vanheusden.com with in the subject
# 'subscribe multitail' to subscribe. # 'subscribe multitail' to subscribe.
# #
# you might want to run 'make thanks' now :-) # you might want to run 'make thanks' now :-)
# http://www.vanheusden.com/wishlist.php # http://www.vanheusden.com/wishlist.php
# #
skipping to change at line 81 skipping to change at line 98
thanks: thanks:
echo Automatic thank you e-mail for multitail $(VERSION) on a `uname -a` | mail -s "multitail $(VERSION)" folkert@vanheusden.com echo Automatic thank you e-mail for multitail $(VERSION) on a `uname -a` | mail -s "multitail $(VERSION)" folkert@vanheusden.com
echo Is your company using MultiTail and you would like to be echo Is your company using MultiTail and you would like to be
echo mentioned on http://www.vanheusden.com/multitail/usedby.html ? echo mentioned on http://www.vanheusden.com/multitail/usedby.html ?
echo Then please send me a logo -not too big- and a link and I will echo Then please send me a logo -not too big- and a link and I will
echo add it to that page. echo add it to that page.
echo echo
echo Oh, blatant plug: http://keetweej.vanheusden.com/wishlist.html echo Oh, blatant plug: http://keetweej.vanheusden.com/wishlist.html
### cppcheck: unusedFunction check can't be used with '-j' option. Disabling unu sedFunction check.
check: check:
cppcheck -v --force -j 3 --enable=all --inconclusive -I. . 2> err.txt #XXX TBD to use cppechk --check-config $(CPPFLAGS) -I/usr/include
# cppcheck --std=c99 --verbose --force --enable=all --inconclusive --templa
te=gcc \
'--suppress=variableScope' --xml --xml-version=2 . 2> cppcheck.xm
l
cppcheck-htmlreport --file=cppcheck.xml --report-dir=cppcheck
make clean make clean
scan-build make -scan-build make
coverity: coverity:
make clean make clean
rm -rf cov-int rm -rf cov-int
CC=gcc cov-build --dir cov-int make all CC=gcc cov-build --dir cov-int make all
tar vczf ~/site/coverity/multitail.tgz README cov-int/ tar vczf ~/site/coverity/multitail.tgz README cov-int/
putsite -q putsite -q
/home/folkert/.coverity-mt.sh /home/folkert/.coverity-mt.sh
distclean: clean
rm -rf cov-int cppcheck cppcheck.xml *.d *~ tags
# include dependency files for any other rule:
ifneq ($(filter-out clean distclean,$(MAKECMDGOALS)),)
-include $(DEPENDS)
endif
 End of changes. 14 change blocks. 
21 lines changed or deleted 41 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)