And another patch for the "new" make.

This commit is contained in:
Andreas Schulz 1995-01-29 21:45:16 +00:00
parent 865b9f4359
commit 42c36408ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=846

View file

@ -1,5 +1,5 @@
*** Makefile.orig Sun Jan 8 23:34:51 1995
--- Makefile Thu Jan 12 00:44:38 1995
*** Makefile.orig Mon Jan 9 08:34:51 1995
--- Makefile Sun Jan 29 14:16:10 1995
***************
*** 11,18 ****
# puts malloc.h in $INCDIR.
@ -56,10 +56,10 @@
! ${CC} -c -fpic ${CFLAGS} $< -o shared/$@
!
! all: mkdir pass clean libmalloc
!
! mkdir:
! @mkdir -p shared
!
! pass: $(LIBMALLOC) $(LIBSMALLOC) $(PROGS) out$(EXT)
libmalloc:
@ -80,6 +80,23 @@
cd splay; $(MAKE) $(MFLAGS) DEFINES="$(DEFINES)" \
LIBMALLOC=../$(LIBMALLOC) CC="$(CC)"
***************
*** 149,155 ****
onefile.c: $(SRCS) $(SPLAYSRC)
rm -f onefile.c
cat $(SRCS) $(SPLAYSRC) | sed '/RCSID/d' > onefile.c
!
.lint: $(SRCS)
($(LINT) $(LINTFLAGS) $(DEFINES) $(INCLUDES) $(SRCS); \
$(LINT) $(LINTFLAGS) $(DEFINES) $(INCLUDES) -I.. $(SPLAYSRC)) \
--- 165,171 ----
onefile.c: $(SRCS) $(SPLAYSRC)
rm -f onefile.c
cat $(SRCS) $(SPLAYSRC) | sed '/RCSID/d' > onefile.c
!
.lint: $(SRCS)
($(LINT) $(LINTFLAGS) $(DEFINES) $(INCLUDES) $(SRCS); \
$(LINT) $(LINTFLAGS) $(DEFINES) $(INCLUDES) -I.. $(SPLAYSRC)) \
***************
*** 163,169 ****
clean:
@ -98,12 +115,22 @@
veryclean: clean cleanprogs
make EXT= cleanprogs
***************
*** 174,179 ****
--- 191,197 ----
*** 174,181 ****
-$(RANLIB) $(LIBDIR)/libmalloc.a
install -c -m 644 libmalloc_d.a $(LIBDIR)
-$(RANLIB) $(LIBDIR)/libmalloc_d.a
install -c -m 644 malloc.h $(INCDIR)
!
.id: $(SRCS)
mkid $(SRCS) $(SPLAYSRC) $(HDRS) $(SPLAYHDR)
touch .id
--- 191,199 ----
-$(RANLIB) $(LIBDIR)/libmalloc.a
install -c -m 644 libmalloc_d.a $(LIBDIR)
-$(RANLIB) $(LIBDIR)/libmalloc_d.a
+ install -c -m 644 ${LIBSMALLOC} $(LIBDIR)
install -c -m 644 malloc.h $(INCDIR)
!
.id: $(SRCS)
mkid $(SRCS) $(SPLAYSRC) $(HDRS) $(SPLAYHDR)
touch .id