* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2008-01-17 6:37 Ned Ludd (solar)
0 siblings, 0 replies; 20+ messages in thread
From: Ned Ludd (solar) @ 2008-01-17 6:37 UTC (permalink / raw
To: gentoo-commits
solar 08/01/17 06:37:45
Modified: Makefile
Log:
- Make sure lddtree.sh get added in the intall phase
Revision Changes Path
1.66 pax-utils/Makefile
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?rev=1.66&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?rev=1.66&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?r1=1.65&r2=1.66
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- Makefile 25 Aug 2007 02:39:42 -0000 1.65
+++ Makefile 17 Jan 2008 06:37:44 -0000 1.66
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.65 2007/08/25 02:39:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.66 2008/01/17 06:37:44 solar Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -100,7 +100,7 @@
install: all
-$(MKDIR) $(PREFIX)/bin/ $(PREFIX)/share/man/man1/
- $(CP) $(TARGETS) $(PREFIX)/bin/
+ $(CP) $(TARGETS) *.sh $(PREFIX)/bin/
ifeq ($(S),)
-$(MKDIR) $(PREFIX)/share/doc/pax-utils/
$(CP) README BUGS TODO $(PREFIX)/share/doc/pax-utils/
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2008-09-12 19:08 Fabian Groffen (grobian)
0 siblings, 0 replies; 20+ messages in thread
From: Fabian Groffen (grobian) @ 2008-09-12 19:08 UTC (permalink / raw
To: gentoo-commits
grobian 08/09/12 19:08:53
Modified: Makefile
Log:
Don't remove macho stuff, we need it to be able to compile properly.
Revision Changes Path
1.69 pax-utils/Makefile
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?rev=1.69&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?rev=1.69&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?r1=1.68&r2=1.69
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- Makefile 8 Sep 2008 07:02:56 -0000 1.68
+++ Makefile 12 Sep 2008 19:08:52 -0000 1.69
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.68 2008/09/08 07:02:56 grobian Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.69 2008/09/12 19:08:52 grobian Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -114,7 +114,7 @@
rm -rf pax-utils-$(PV)
mkdir pax-utils-$(PV)
cp -a CVS pax-utils-$(PV)/
- cd pax-utils-$(PV) && cvs up && rm -f *macho*
+ cd pax-utils-$(PV) && cvs up
echo "<releaseinfo>$(PV)</releaseinfo>" > pax-utils-$(PV)/man/fragment/version
$(MAKE) -C pax-utils-$(PV)/man
tar jcf pax-utils-$(PV).tar.bz2 pax-utils-$(PV) --exclude=CVS
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2008-10-22 15:31 Diego Petteno (flameeyes)
0 siblings, 0 replies; 20+ messages in thread
From: Diego Petteno (flameeyes) @ 2008-10-22 15:31 UTC (permalink / raw
To: gentoo-commits
flameeyes 08/10/22 15:31:05
Modified: Makefile
Log:
Improve Makefile to avoid relinking all targets when changing one tool.
With these changes, editing scanelf.c won't trigger a new build of
dumpelf and pspax, since each target depends only on those object
files it actually uses.
Revision Changes Path
1.70 pax-utils/Makefile
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?rev=1.70&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?rev=1.70&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?r1=1.69&r2=1.70
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- Makefile 12 Sep 2008 19:08:52 -0000 1.69
+++ Makefile 22 Oct 2008 15:31:05 -0000 1.70
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.69 2008/09/12 19:08:52 grobian Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.70 2008/10/22 15:31:05 flameeyes Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -41,12 +41,12 @@
####################################################################
ELF_TARGETS = scanelf dumpelf $(shell echo | $(CC) -dM -E - | grep -q __svr4__ || echo pspax)
-ELF_OBJS = $(ELF_TARGETS:%=%.o) paxelf.o
+ELF_OBJS = paxelf.o
MACH_TARGETS = scanmacho
-MACH_OBJS = $(MACH_TARGETS:%=%.o) paxmacho.o
+MACH_OBJS = paxmacho.o
COMMON_OBJS = paxinc.o xfuncs.o
-OBJS = $(ELF_OBJS) $(MACH_OBJS) $(COMMON_OBJS)
TARGETS = $(ELF_TARGETS) $(MACH_TARGETS)
+OBJS = $(ELF_OBJS) $(MACH_OBJS) $(COMMON_OBJS) $(TARGETS:%=%.o)
MPAGES = $(TARGETS:%=man/%.1)
SOURCES = $(OBJS:%.o=%.c)
@@ -71,11 +71,11 @@
endif
$(Q)$(compile.c) $(WFLAGS)
-$(ELF_TARGETS): $(ELF_OBJS) $(COMMON_OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) $(COMMON_OBJS) paxelf.o -o $@ $@.o $(LIBS) $(LIBS-$@)
+$(ELF_TARGETS): %: $(ELF_OBJS) $(COMMON_OBJS) %.o
+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS) $(LIBS-$@)
-$(MACH_TARGETS): $(MACH_OBJS) $(COMMON_OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) $(COMMON_OBJS) paxmacho.o -o $@ $@.o $(LIBS) $(LIBS-$@)
+$(MACH_TARGETS): %: $(MACH_OBJS) $(COMMON_OBJS) %.o
+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS) $(LIBS-$@)
%.so: %.c
$(CC) -shared -fPIC -o $@ $<
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2009-03-15 9:23 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2009-03-15 9:23 UTC (permalink / raw
To: gentoo-commits
vapier 09/03/15 09:23:12
Modified: Makefile
Log:
cleanup install targets a little
Revision Changes Path
1.71 pax-utils/Makefile
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?rev=1.71&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?rev=1.71&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?r1=1.70&r2=1.71
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- Makefile 22 Oct 2008 15:31:05 -0000 1.70
+++ Makefile 15 Mar 2009 09:23:11 -0000 1.71
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.70 2008/10/22 15:31:05 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.71 2009/03/15 09:23:11 vapier Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -25,6 +25,8 @@
STRIP := strip
MKDIR := mkdir -p
CP := cp
+INS_EXE := install -m755
+INS_DATA := install -m644
# Some fun settings
#CFLAGS += -DEBUG -g
@@ -95,16 +97,16 @@
$(STRIP) --strip-unneeded $(TARGETS)
install: all
- -$(MKDIR) $(PREFIX)/bin/ $(PREFIX)/share/man/man1/
- $(CP) $(TARGETS) *.sh $(PREFIX)/bin/
+ $(MKDIR) $(PREFIX)/bin/ $(PREFIX)/share/man/man1/
+ for sh in *.sh ; do $(INS_EXE) $$sh $(PREFIX)/bin/$${sh%.sh} || exit $$? ; done
+ $(INS_EXE) $(TARGETS) $(PREFIX)/bin/
ifeq ($(S),)
- -$(MKDIR) $(PREFIX)/share/doc/pax-utils/
+ $(MKDIR) $(PREFIX)/share/doc/pax-utils/
$(CP) README BUGS TODO $(PREFIX)/share/doc/pax-utils/
+ -$(INS_DATA) $(MPAGES) $(PREFIX)/share/man/man1/
+else
+ $(INS_DATA) $(MPAGES) $(PREFIX)/share/man/man1/
endif
- for mpage in $(MPAGES) ; do \
- [ -f $$mpage ] \
- && cp $$mpage $(PREFIX)/share/man/man1/ || : ;\
- done
dist:
@if [ "$(PV)" = "" ] ; then \
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2010-01-15 12:38 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2010-01-15 12:38 UTC (permalink / raw
To: gentoo-commits
vapier 10/01/15 12:38:56
Modified: Makefile
Log:
filter .cvsignore files from dist too
Revision Changes Path
1.72 pax-utils/Makefile
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?rev=1.72&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?rev=1.72&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?r1=1.71&r2=1.72
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- Makefile 15 Mar 2009 09:23:11 -0000 1.71
+++ Makefile 15 Jan 2010 12:38:56 -0000 1.72
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.71 2009/03/15 09:23:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.72 2010/01/15 12:38:56 vapier Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -119,7 +119,7 @@
cd pax-utils-$(PV) && cvs up
echo "<releaseinfo>$(PV)</releaseinfo>" > pax-utils-$(PV)/man/fragment/version
$(MAKE) -C pax-utils-$(PV)/man
- tar jcf pax-utils-$(PV).tar.bz2 pax-utils-$(PV) --exclude=CVS
+ tar jcf pax-utils-$(PV).tar.bz2 pax-utils-$(PV) --exclude=CVS --exclude=.cvsignore
@printf "\n ..... Making sure clean cvs build works ..... \n\n"
$(MAKE) -C pax-utils-$(PV)
rm -rf pax-utils-$(PV)
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2010-02-14 18:07 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2010-02-14 18:07 UTC (permalink / raw
To: gentoo-commits
vapier 10/02/14 18:07:03
Modified: Makefile
Log:
tweak debug/dist targets to avoid warnings
Revision Changes Path
1.73 pax-utils/Makefile
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?rev=1.73&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?rev=1.73&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?r1=1.72&r2=1.73
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- Makefile 15 Jan 2010 12:38:56 -0000 1.72
+++ Makefile 14 Feb 2010 18:07:03 -0000 1.73
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.72 2010/01/15 12:38:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.73 2010/02/14 18:07:03 vapier Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -56,7 +56,7 @@
@:
debug:
- $(MAKE) CFLAGS="$(CFLAGS) -g3 -ggdb -nopie" clean all
+ $(MAKE) CFLAGS="$(CFLAGS) -g3 -ggdb $(call check-gcc,-nopie)" clean all
@-/sbin/chpax -permsx $(ELF_TARGETS)
@-/sbin/paxctl -permsx $(ELF_TARGETS)
@@ -121,7 +121,9 @@
$(MAKE) -C pax-utils-$(PV)/man
tar jcf pax-utils-$(PV).tar.bz2 pax-utils-$(PV) --exclude=CVS --exclude=.cvsignore
@printf "\n ..... Making sure clean cvs build works ..... \n\n"
- $(MAKE) -C pax-utils-$(PV)
+ unset CFLAGS; $(MAKE) -C pax-utils-$(PV)
+ $(MAKE) -C pax-utils-$(PV) clean
+ $(MAKE) -C pax-utils-$(PV) debug
rm -rf pax-utils-$(PV)
du -b pax-utils-$(PV).tar.bz2
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2010-02-14 18:08 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2010-02-14 18:08 UTC (permalink / raw
To: gentoo-commits
vapier 10/02/14 18:08:42
Modified: Makefile
Log:
run tests too when doing dist
Revision Changes Path
1.74 pax-utils/Makefile
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?rev=1.74&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?rev=1.74&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/Makefile?r1=1.73&r2=1.74
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- Makefile 14 Feb 2010 18:07:03 -0000 1.73
+++ Makefile 14 Feb 2010 18:08:42 -0000 1.74
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.73 2010/02/14 18:07:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.74 2010/02/14 18:08:42 vapier Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -121,9 +121,10 @@
$(MAKE) -C pax-utils-$(PV)/man
tar jcf pax-utils-$(PV).tar.bz2 pax-utils-$(PV) --exclude=CVS --exclude=.cvsignore
@printf "\n ..... Making sure clean cvs build works ..... \n\n"
- unset CFLAGS; $(MAKE) -C pax-utils-$(PV)
- $(MAKE) -C pax-utils-$(PV) clean
- $(MAKE) -C pax-utils-$(PV) debug
+ unset CFLAGS; \
+ for t in all check clean debug check ; do \
+ $(MAKE) -C pax-utils-$(PV) $$t || exit $$? ; \
+ done
rm -rf pax-utils-$(PV)
du -b pax-utils-$(PV).tar.bz2
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2010-06-08 5:51 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2010-06-08 5:51 UTC (permalink / raw
To: gentoo-commits
vapier 10/06/08 05:51:31
Modified: Makefile
Log:
avoid cc tests when installing #308577 by Jeroen Roovers
Revision Changes Path
1.75 pax-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.75&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.75&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.74&r2=1.75
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- Makefile 14 Feb 2010 18:08:42 -0000 1.74
+++ Makefile 8 Jun 2010 05:51:31 -0000 1.75
@@ -1,12 +1,14 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.74 2010/02/14 18:08:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.75 2010/06/08 05:51:31 vapier Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
then echo "$(1)"; else echo "$(2)"; fi)
####################################################################
+# Avoid CC overhead when installing
+ifneq ($(MAKECMDGOALS),install)
WFLAGS := -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 \
-Wmissing-declarations -Wmissing-prototypes -Wwrite-strings \
-Wbad-function-cast -Wnested-externs -Wcomment -Winline \
@@ -15,6 +17,7 @@
$(call check-gcc, -Wsequence-point) \
$(call check-gcc, -Wstrict-overflow) \
$(call check-gcc, -Wextra)
+endif
CFLAGS ?= -O2 -pipe
override CPPFLAGS += -D_GNU_SOURCE
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2011-03-03 21:08 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2011-03-03 21:08 UTC (permalink / raw
To: gentoo-commits
vapier 11/03/03 21:08:04
Modified: Makefile
Log:
make xz tarballs
Revision Changes Path
1.76 pax-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.76&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.76&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.75&r2=1.76
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- Makefile 8 Jun 2010 05:51:31 -0000 1.75
+++ Makefile 3 Mar 2011 21:08:04 -0000 1.76
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.75 2010/06/08 05:51:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.76 2011/03/03 21:08:04 vapier Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -122,14 +122,14 @@
cd pax-utils-$(PV) && cvs up
echo "<releaseinfo>$(PV)</releaseinfo>" > pax-utils-$(PV)/man/fragment/version
$(MAKE) -C pax-utils-$(PV)/man
- tar jcf pax-utils-$(PV).tar.bz2 pax-utils-$(PV) --exclude=CVS --exclude=.cvsignore
+ tar cf - pax-utils-$(PV) --exclude=CVS --exclude=.cvsignore | xz > pax-utils-$(PV).tar.xz
@printf "\n ..... Making sure clean cvs build works ..... \n\n"
unset CFLAGS; \
for t in all check clean debug check ; do \
$(MAKE) -C pax-utils-$(PV) $$t || exit $$? ; \
done
rm -rf pax-utils-$(PV)
- du -b pax-utils-$(PV).tar.bz2
+ du -b pax-utils-$(PV).tar.xz
-include .depend
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2012-01-23 23:47 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2012-01-23 23:47 UTC (permalink / raw
To: gentoo-commits
vapier 12/01/23 23:47:14
Modified: Makefile
Log:
fix `make debug -j` so that it works and doesnt do "all" then "clean"
Revision Changes Path
1.77 pax-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.77&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.77&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.76&r2=1.77
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- Makefile 3 Mar 2011 21:08:04 -0000 1.76
+++ Makefile 23 Jan 2012 23:47:14 -0000 1.77
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.76 2011/03/03 21:08:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.77 2012/01/23 23:47:14 vapier Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -58,8 +58,8 @@
all: $(OBJS) $(TARGETS)
@:
-debug:
- $(MAKE) CFLAGS="$(CFLAGS) -g3 -ggdb $(call check-gcc,-nopie)" clean all
+debug: clean
+ $(MAKE) CFLAGS="$(CFLAGS) -g3 -ggdb $(call check-gcc,-nopie)" all
@-/sbin/chpax -permsx $(ELF_TARGETS)
@-/sbin/paxctl -permsx $(ELF_TARGETS)
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2012-02-04 18:14 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2012-02-04 18:14 UTC (permalink / raw
To: gentoo-commits
vapier 12/02/04 18:14:18
Modified: Makefile
Log:
allow people to control install paths via `make`
Revision Changes Path
1.78 pax-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.78&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.78&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.77&r2=1.78
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- Makefile 23 Jan 2012 23:47:14 -0000 1.77
+++ Makefile 4 Feb 2012 18:14:18 -0000 1.78
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.77 2012/01/23 23:47:14 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.78 2012/02/04 18:14:18 vapier Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -24,7 +24,11 @@
LDFLAGS +=
LIBS :=
DESTDIR =
-PREFIX := $(DESTDIR)/usr
+PREFIX = $(DESTDIR)/usr
+DATADIR = $(PREFIX)/share
+MANDIR = $(DATADIR)/man
+DOCDIR = $(DATADIR)/doc
+PKGDOCDIR = $(DOCDIR)/pax-utils
STRIP := strip
MKDIR := mkdir -p
CP := cp
@@ -100,15 +104,15 @@
$(STRIP) --strip-unneeded $(TARGETS)
install: all
- $(MKDIR) $(PREFIX)/bin/ $(PREFIX)/share/man/man1/
+ $(MKDIR) $(PREFIX)/bin/ $(MANDIR)/man1/
for sh in *.sh ; do $(INS_EXE) $$sh $(PREFIX)/bin/$${sh%.sh} || exit $$? ; done
$(INS_EXE) $(TARGETS) $(PREFIX)/bin/
ifeq ($(S),)
- $(MKDIR) $(PREFIX)/share/doc/pax-utils/
- $(CP) README BUGS TODO $(PREFIX)/share/doc/pax-utils/
- -$(INS_DATA) $(MPAGES) $(PREFIX)/share/man/man1/
+ $(MKDIR) $(PKGDOCDIR)/
+ $(CP) README BUGS TODO $(PKGDOCDIR)/
+ -$(INS_DATA) $(MPAGES) $(MANDIR)/man1/
else
- $(INS_DATA) $(MPAGES) $(PREFIX)/share/man/man1/
+ $(INS_DATA) $(MPAGES) $(MANDIR)/man1/
endif
dist:
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2012-02-04 18:22 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2012-02-04 18:22 UTC (permalink / raw
To: gentoo-commits
vapier 12/02/04 18:22:37
Modified: Makefile
Log:
simplify install/dist targets a bit
Revision Changes Path
1.79 pax-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.79&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.79&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.78&r2=1.79
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- Makefile 4 Feb 2012 18:14:18 -0000 1.78
+++ Makefile 4 Feb 2012 18:22:37 -0000 1.79
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.78 2012/02/04 18:14:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.79 2012/02/04 18:22:37 vapier Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -31,7 +31,6 @@
PKGDOCDIR = $(DOCDIR)/pax-utils
STRIP := strip
MKDIR := mkdir -p
-CP := cp
INS_EXE := install -m755
INS_DATA := install -m644
@@ -104,36 +103,33 @@
$(STRIP) --strip-unneeded $(TARGETS)
install: all
- $(MKDIR) $(PREFIX)/bin/ $(MANDIR)/man1/
+ $(MKDIR) $(PREFIX)/bin/ $(MANDIR)/man1/ $(PKGDOCDIR)/
for sh in *.sh ; do $(INS_EXE) $$sh $(PREFIX)/bin/$${sh%.sh} || exit $$? ; done
$(INS_EXE) $(TARGETS) $(PREFIX)/bin/
-ifeq ($(S),)
- $(MKDIR) $(PKGDOCDIR)/
- $(CP) README BUGS TODO $(PKGDOCDIR)/
- -$(INS_DATA) $(MPAGES) $(MANDIR)/man1/
-else
+ $(INS_DATA) README BUGS TODO $(PKGDOCDIR)/
$(INS_DATA) $(MPAGES) $(MANDIR)/man1/
-endif
+PN = pax-utils
+P = $(PN)-$(PV)
dist:
@if [ "$(PV)" = "" ] ; then \
echo "Please run 'make dist PV=<ver>'" ; \
exit 1 ; \
fi
- rm -rf pax-utils-$(PV)
- mkdir pax-utils-$(PV)
- cp -a CVS pax-utils-$(PV)/
- cd pax-utils-$(PV) && cvs up
- echo "<releaseinfo>$(PV)</releaseinfo>" > pax-utils-$(PV)/man/fragment/version
- $(MAKE) -C pax-utils-$(PV)/man
- tar cf - pax-utils-$(PV) --exclude=CVS --exclude=.cvsignore | xz > pax-utils-$(PV).tar.xz
+ rm -rf $(P)
+ mkdir $(P)
+ cp -a CVS $(P)/
+ cd $(P) && cvs up
+ echo "<releaseinfo>$(PV)</releaseinfo>" > $(P)/man/fragment/version
+ $(MAKE) -C $(P)/man
+ tar cf - $(P) --exclude=CVS --exclude=.cvsignore | xz > $(P).tar.xz
@printf "\n ..... Making sure clean cvs build works ..... \n\n"
unset CFLAGS; \
for t in all check clean debug check ; do \
- $(MAKE) -C pax-utils-$(PV) $$t || exit $$? ; \
+ $(MAKE) -C $(P) $$t || exit $$? ; \
done
- rm -rf pax-utils-$(PV)
- du -b pax-utils-$(PV).tar.xz
+ rm -rf $(P)
+ du -b $(P).tar.xz
-include .depend
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2012-11-15 20:14 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2012-11-15 20:14 UTC (permalink / raw
To: gentoo-commits
vapier 12/11/15 20:14:41
Modified: Makefile
Log:
install lddtree.py if USE_PYTHON=yes is set
Revision Changes Path
1.80 pax-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.80&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.80&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.79&r2=1.80
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- Makefile 4 Feb 2012 18:22:37 -0000 1.79
+++ Makefile 15 Nov 2012 20:14:41 -0000 1.80
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.79 2012/02/04 18:22:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.80 2012/11/15 20:14:41 vapier Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -105,6 +105,9 @@
install: all
$(MKDIR) $(PREFIX)/bin/ $(MANDIR)/man1/ $(PKGDOCDIR)/
for sh in *.sh ; do $(INS_EXE) $$sh $(PREFIX)/bin/$${sh%.sh} || exit $$? ; done
+ifeq ($(USE_PYTHON),yes)
+ for py in *.py ; do $(INS_EXE) $$py $(PREFIX)/bin/$${py%.py} || exit $$? ; done
+endif
$(INS_EXE) $(TARGETS) $(PREFIX)/bin/
$(INS_DATA) README BUGS TODO $(PKGDOCDIR)/
$(INS_DATA) $(MPAGES) $(MANDIR)/man1/
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2013-04-10 21:42 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2013-04-10 21:42 UTC (permalink / raw
To: gentoo-commits
vapier 13/04/10 21:42:52
Modified: Makefile
Log:
fix typo in call -- check_gcc vs check-gcc
Revision Changes Path
1.81 pax-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.81&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.81&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.80&r2=1.81
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- Makefile 15 Nov 2012 20:14:41 -0000 1.80
+++ Makefile 10 Apr 2013 21:42:52 -0000 1.81
@@ -1,9 +1,9 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.80 2012/11/15 20:14:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.81 2013/04/10 21:42:52 vapier Exp $
####################################################################
-check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
+check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
then echo "$(1)"; else echo "$(2)"; fi)
####################################################################
@@ -13,10 +13,10 @@
-Wmissing-declarations -Wmissing-prototypes -Wwrite-strings \
-Wbad-function-cast -Wnested-externs -Wcomment -Winline \
-Wchar-subscripts -Wcast-align -Wno-format-nonliteral \
- $(call check_gcc, -Wdeclaration-after-statement) \
- $(call check-gcc, -Wsequence-point) \
- $(call check-gcc, -Wstrict-overflow) \
- $(call check-gcc, -Wextra)
+ $(call check_gcc,-Wdeclaration-after-statement) \
+ $(call check_gcc,-Wsequence-point) \
+ $(call check_gcc,-Wstrict-overflow) \
+ $(call check_gcc,-Wextra)
endif
CFLAGS ?= -O2 -pipe
@@ -62,7 +62,7 @@
@:
debug: clean
- $(MAKE) CFLAGS="$(CFLAGS) -g3 -ggdb $(call check-gcc,-nopie)" all
+ $(MAKE) CFLAGS="$(CFLAGS) -g3 -ggdb $(call check_gcc,-nopie)" all
@-/sbin/chpax -permsx $(ELF_TARGETS)
@-/sbin/paxctl -permsx $(ELF_TARGETS)
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2013-04-10 21:48 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2013-04-10 21:48 UTC (permalink / raw
To: gentoo-commits
vapier 13/04/10 21:48:35
Modified: Makefile
Log:
add a new check_gcc_many to check a bunch of flags at once, and add new asan flag when debugging
Revision Changes Path
1.82 pax-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.82&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.82&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.81&r2=1.82
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- Makefile 10 Apr 2013 21:42:52 -0000 1.81
+++ Makefile 10 Apr 2013 21:48:35 -0000 1.82
@@ -1,22 +1,25 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.81 2013/04/10 21:42:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.82 2013/04/10 21:48:35 vapier Exp $
####################################################################
check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
then echo "$(1)"; else echo "$(2)"; fi)
+check_gcc_many = $(foreach flag,$(1),$(call check_gcc,$(flag)))
####################################################################
# Avoid CC overhead when installing
ifneq ($(MAKECMDGOALS),install)
+_WFLAGS := \
+ -Wdeclaration-after-statement \
+ -Wextra \
+ -Wsequence-point \
+ -Wstrict-overflow
WFLAGS := -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 \
-Wmissing-declarations -Wmissing-prototypes -Wwrite-strings \
-Wbad-function-cast -Wnested-externs -Wcomment -Winline \
-Wchar-subscripts -Wcast-align -Wno-format-nonliteral \
- $(call check_gcc,-Wdeclaration-after-statement) \
- $(call check_gcc,-Wsequence-point) \
- $(call check_gcc,-Wstrict-overflow) \
- $(call check_gcc,-Wextra)
+ $(call check_gcc_many,$(_WFLAGS))
endif
CFLAGS ?= -O2 -pipe
@@ -61,10 +64,13 @@
all: $(OBJS) $(TARGETS)
@:
+DEBUG_FLAGS = \
+ -nopie \
+ -fsanitize=address
debug: clean
- $(MAKE) CFLAGS="$(CFLAGS) -g3 -ggdb $(call check_gcc,-nopie)" all
- @-/sbin/chpax -permsx $(ELF_TARGETS)
- @-/sbin/paxctl -permsx $(ELF_TARGETS)
+ $(MAKE) CFLAGS="$(CFLAGS) -g3 -ggdb $(call check_gcc_many,$(DEBUG_FLAGS))" all
+ @-chpax -permsx $(ELF_TARGETS)
+ @-paxctl -permsx $(ELF_TARGETS)
compile.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(CPPFLAGS-$<) -o $@ -c $<
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2013-05-23 0:09 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2013-05-23 0:09 UTC (permalink / raw
To: gentoo-commits
vapier 13/05/23 00:09:01
Modified: Makefile
Log:
use 64bit file interfaces even with 32bit processes #471024
Revision Changes Path
1.83 pax-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.83&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.83&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.82&r2=1.83
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- Makefile 10 Apr 2013 21:48:35 -0000 1.82
+++ Makefile 23 May 2013 00:09:01 -0000 1.83
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.82 2013/04/10 21:48:35 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.83 2013/05/23 00:09:01 vapier Exp $
####################################################################
check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -23,7 +23,7 @@
endif
CFLAGS ?= -O2 -pipe
-override CPPFLAGS += -D_GNU_SOURCE
+override CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
LDFLAGS +=
LIBS :=
DESTDIR =
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2014-08-01 1:39 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2014-08-01 1:39 UTC (permalink / raw
To: gentoo-commits
vapier 14/08/01 01:39:20
Modified: Makefile
Log:
enable python by default
Revision Changes Path
1.84 pax-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.84&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.84&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.83&r2=1.84
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- Makefile 23 May 2013 00:09:01 -0000 1.83
+++ Makefile 1 Aug 2014 01:39:20 -0000 1.84
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.83 2013/05/23 00:09:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.84 2014/08/01 01:39:20 vapier Exp $
####################################################################
check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -111,7 +111,7 @@
install: all
$(MKDIR) $(PREFIX)/bin/ $(MANDIR)/man1/ $(PKGDOCDIR)/
for sh in *.sh ; do $(INS_EXE) $$sh $(PREFIX)/bin/$${sh%.sh} || exit $$? ; done
-ifeq ($(USE_PYTHON),yes)
+ifneq ($(USE_PYTHON),no)
for py in *.py ; do $(INS_EXE) $$py $(PREFIX)/bin/$${py%.py} || exit $$? ; done
endif
$(INS_EXE) $(TARGETS) $(PREFIX)/bin/
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2014-10-19 17:06 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2014-10-19 17:06 UTC (permalink / raw
To: gentoo-commits
vapier 14/10/19 17:06:10
Modified: Makefile
Log:
install scripts explicitly #525852
Revision Changes Path
1.86 pax-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.86&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.86&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.85&r2=1.86
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- Makefile 19 Oct 2014 08:20:55 -0000 1.85
+++ Makefile 19 Oct 2014 17:06:10 -0000 1.86
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.85 2014/10/19 08:20:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.86 2014/10/19 17:06:10 vapier Exp $
####################################################################
check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -57,6 +57,8 @@
MACH_OBJS = paxmacho.o
COMMON_OBJS = paxinc.o xfuncs.o
TARGETS = $(ELF_TARGETS) $(MACH_TARGETS)
+SCRIPTS_SH = lddtree symtree
+SCRIPTS_PY = lddtree
OBJS = $(ELF_OBJS) $(MACH_OBJS) $(COMMON_OBJS) $(TARGETS:%=%.o)
MPAGES = $(TARGETS:%=man/%.1)
SOURCES = $(OBJS:%.o=%.c)
@@ -110,9 +112,9 @@
install: all
$(MKDIR) $(PREFIX)/bin/ $(MANDIR)/man1/ $(PKGDOCDIR)/
- for sh in *.sh ; do $(INS_EXE) $$sh $(PREFIX)/bin/$${sh%.sh} || exit $$? ; done
+ for sh in $(SCRIPTS_SH) ; do $(INS_EXE) $$sh.sh $(PREFIX)/bin/$$sh || exit $$? ; done
ifneq ($(USE_PYTHON),no)
- for py in *.py ; do $(INS_EXE) $$py $(PREFIX)/bin/$${py%.py} || exit $$? ; done
+ for py in $(SCRIPTS_PY) ; do $(INS_EXE) $$py.py $(PREFIX)/bin/$$py || exit $$? ; done
endif
$(INS_EXE) $(TARGETS) $(PREFIX)/bin/
$(INS_DATA) README BUGS TODO $(PKGDOCDIR)/
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2015-02-21 19:30 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2015-02-21 19:30 UTC (permalink / raw
To: gentoo-commits
vapier 15/02/21 19:30:45
Modified: Makefile
Log:
build with more asan flags
Revision Changes Path
1.87 pax-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.87&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.87&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.86&r2=1.87
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- Makefile 19 Oct 2014 17:06:10 -0000 1.86
+++ Makefile 21 Feb 2015 19:30:45 -0000 1.87
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.86 2014/10/19 17:06:10 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.87 2015/02/21 19:30:45 vapier Exp $
####################################################################
check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -68,7 +68,9 @@
DEBUG_FLAGS = \
-nopie \
- -fsanitize=address
+ -fsanitize=address \
+ -fsanitize=leak \
+ -fsanitize=undefined
debug: clean
$(MAKE) CFLAGS="$(CFLAGS) -g3 -ggdb $(call check_gcc_many,$(DEBUG_FLAGS))" all
@-chpax -permsx $(ELF_TARGETS)
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-commits] gentoo-projects commit in pax-utils: Makefile
@ 2015-02-28 22:49 Mike Frysinger (vapier)
0 siblings, 0 replies; 20+ messages in thread
From: Mike Frysinger (vapier) @ 2015-02-28 22:49 UTC (permalink / raw
To: gentoo-commits
vapier 15/02/28 22:49:13
Modified: Makefile
Log:
add a fuzz target
Revision Changes Path
1.88 pax-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.88&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.88&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.87&r2=1.88
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- Makefile 21 Feb 2015 19:30:45 -0000 1.87
+++ Makefile 28 Feb 2015 22:49:13 -0000 1.88
@@ -1,6 +1,6 @@
# Copyright 2003-2006 Ned Ludd <solar@linbsd.net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.87 2015/02/21 19:30:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.88 2015/02/28 22:49:13 vapier Exp $
####################################################################
check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -76,6 +76,12 @@
@-chpax -permsx $(ELF_TARGETS)
@-paxctl -permsx $(ELF_TARGETS)
+fuzz: clean
+ $(MAKE) AFL_HARDEN=1 CC=afl-gcc all
+ @rm -rf findings
+ @printf '\nNow run:\n%s\n' \
+ "afl-fuzz -t 100 -i tests/fuzz/small/ -o findings/ ./scanelf -s '*' -axetrnibSDIYZB @@"
+
compile.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(CPPFLAGS-$<) -o $@ -c $<
ifeq ($(V),)
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2015-02-28 22:49 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03 21:08 [gentoo-commits] gentoo-projects commit in pax-utils: Makefile Mike Frysinger (vapier)
-- strict thread matches above, loose matches on Subject: below --
2015-02-28 22:49 Mike Frysinger (vapier)
2015-02-21 19:30 Mike Frysinger (vapier)
2014-10-19 17:06 Mike Frysinger (vapier)
2014-08-01 1:39 Mike Frysinger (vapier)
2013-05-23 0:09 Mike Frysinger (vapier)
2013-04-10 21:48 Mike Frysinger (vapier)
2013-04-10 21:42 Mike Frysinger (vapier)
2012-11-15 20:14 Mike Frysinger (vapier)
2012-02-04 18:22 Mike Frysinger (vapier)
2012-02-04 18:14 Mike Frysinger (vapier)
2012-01-23 23:47 Mike Frysinger (vapier)
2010-06-08 5:51 Mike Frysinger (vapier)
2010-02-14 18:08 Mike Frysinger (vapier)
2010-02-14 18:07 Mike Frysinger (vapier)
2010-01-15 12:38 Mike Frysinger (vapier)
2009-03-15 9:23 Mike Frysinger (vapier)
2008-10-22 15:31 Diego Petteno (flameeyes)
2008-09-12 19:08 Fabian Groffen (grobian)
2008-01-17 6:37 Ned Ludd (solar)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox