Add DBG=-Os to all so libhack.o gets built without using -O2 on it.
Also adjust the clean rule to first run the clean rule from ramdiskbin.mk if it exists (cleans up the object subdirs then from the new crunchgen setup)
This commit is contained in:
parent
ecf83970eb
commit
7ae0c501ca
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.5 2001/05/25 17:12:41 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2001/10/04 04:14:06 jmc Exp $
|
||||
|
||||
TOP= ${.CURDIR}/..
|
||||
WARNS=1
|
||||
@ -30,6 +30,7 @@ CRUNCHGEN?= crunchgen
|
||||
RAMDISKSPC= 128
|
||||
RAMDISKCYLS= 32
|
||||
RAMDISKSIZE!= expr ${RAMDISKSPC} \* ${RAMDISKCYLS}
|
||||
DBG=-Os
|
||||
|
||||
realall: ${IMAGE}
|
||||
|
||||
@ -76,6 +77,7 @@ HACKOBJS:= getcap.o getgrent.o getnet.o getnetgr.o getpwent.o setlocale.o yplib.
|
||||
release:
|
||||
|
||||
clean cleandir distclean:
|
||||
if [ -f ${CBIN}.mk ]; then ${MAKE} -f ${CBIN}.mk clean; fi; \
|
||||
/bin/rm -f *.core ${IMAGE} ${IMAGE}.tmp ${CBIN} \
|
||||
${CBIN}.mk ${CBIN}.cache *.o *.cro *.c tmplabel
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 2001/06/24 12:15:58 veego Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2001/10/04 04:14:06 jmc Exp $
|
||||
|
||||
TOP= ${.CURDIR}/..
|
||||
WARNS=1
|
||||
@ -29,6 +29,7 @@ CRUNCHGEN?= crunchgen
|
||||
RAMDISKSPC= 165
|
||||
RAMDISKCYLS= 16
|
||||
RAMDISKSIZE!= expr ${RAMDISKSPC} \* ${RAMDISKCYLS}
|
||||
DBG=-Os
|
||||
|
||||
realall: ${IMAGE}
|
||||
|
||||
@ -74,6 +75,7 @@ HACKOBJS:= getcap.o getgrent.o getnet.o getnetgr.o getpwent.o setlocale.o yplib.
|
||||
release:
|
||||
|
||||
clean cleandir distclean:
|
||||
if [ -f ${CBIN}.mk ]; then ${MAKE} -f ${CBIN}.mk clean; fi; \
|
||||
/bin/rm -f ${AUXCLEAN} *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
|
||||
*.o *.cro *.c tmplabel
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 2001/06/24 12:15:58 veego Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2001/10/04 04:14:06 jmc Exp $
|
||||
|
||||
TOP= ${.CURDIR}/..
|
||||
WARNS=1
|
||||
@ -29,6 +29,7 @@ CRUNCHGEN?= crunchgen
|
||||
RAMDISKSPC= 128
|
||||
RAMDISKCYLS= 21
|
||||
RAMDISKSIZE!= expr ${RAMDISKSPC} \* ${RAMDISKCYLS}
|
||||
DBG=-Os
|
||||
|
||||
realall: ${IMAGE}
|
||||
|
||||
@ -74,6 +75,7 @@ HACKOBJS:= getcap.o getgrent.o getnet.o getnetgr.o getpwent.o setlocale.o yplib.
|
||||
release:
|
||||
|
||||
clean cleandir distclean:
|
||||
if [ -f ${CBIN}.mk ]; then ${MAKE} -f ${CBIN}.mk clean; fi; \
|
||||
/bin/rm -f ${AUXCLEAN} *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
|
||||
*.o *.cro *.c ${IMAGE}.tmp tmplabel
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 2001/05/26 00:10:06 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2001/10/04 04:14:07 jmc Exp $
|
||||
|
||||
TOP= ${.CURDIR}/..
|
||||
WARNS=1
|
||||
@ -29,6 +29,7 @@ CRUNCHGEN?= crunchgen
|
||||
RAMDISKSPC= 165
|
||||
RAMDISKCYLS= 16
|
||||
RAMDISKSIZE!= expr ${RAMDISKSPC} \* ${RAMDISKCYLS}
|
||||
DBG=-Os
|
||||
|
||||
realall: ${IMAGE}
|
||||
|
||||
@ -75,6 +76,7 @@ HACKOBJS:= getcap.o getgrent.o getnet.o getnetgr.o getpwent.o setlocale.o yplib.
|
||||
release:
|
||||
|
||||
clean cleandir distclean:
|
||||
if [ -f ${CBIN}.mk ]; then ${MAKE} -f ${CBIN}.mk clean; fi; \
|
||||
/bin/rm -f *.core ${IMAGE} ${IMAGE}.tmp ${CBIN} \
|
||||
${CBIN}.mk ${CBIN}.cache *.o *.cro *.c tmplabel
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.10 2001/06/24 12:15:59 veego Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2001/10/04 04:14:07 jmc Exp $
|
||||
|
||||
TOP= ${.CURDIR}/..
|
||||
WARNS=1
|
||||
@ -29,6 +29,7 @@ CRUNCHGEN?= crunchgen
|
||||
RAMDISKSPC= 128
|
||||
RAMDISKCYLS= 21
|
||||
RAMDISKSIZE!= expr ${RAMDISKSPC} \* ${RAMDISKCYLS}
|
||||
DBG=-Os
|
||||
|
||||
realall: ${IMAGE}
|
||||
|
||||
@ -75,6 +76,7 @@ HACKOBJS:= getcap.o getgrent.o getnet.o getnetgr.o getpwent.o setlocale.o yplib.
|
||||
release:
|
||||
|
||||
clean cleandir distclean:
|
||||
if [ -f ${CBIN}.mk ]; then ${MAKE} -f ${CBIN}.mk clean; fi; \
|
||||
/bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
|
||||
*.o *.cro *.c tmplabel
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user