SHAREDSTRINGS support was no longer used and just clutters things up,

removed.
This commit is contained in:
Rodney W. Grimes 1994-10-10 03:18:47 +00:00
parent 1cb2c62684
commit c1b0875e83
2 changed files with 1 additions and 18 deletions

View File

@ -238,9 +238,6 @@ DPADD Additional dependencies for the program. Usually used for
LIBUTIL /usr/lib/libutil.a
LIBY /usr/lib/liby.a
SHAREDSTRINGS If defined, a new .c.o rule is used that results in shared
strings, using xstr(1).
STRIP The flag passed to the install program to cause the binary
to be stripped.

View File

@ -1,5 +1,5 @@
# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
# $Id: bsd.prog.mk,v 1.6 1994/09/16 14:30:24 jkh Exp $
# $Id: bsd.prog.mk,v 1.7 1994/10/07 03:10:05 ache Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@ -79,20 +79,6 @@ LIBUTIL?= ${DESTDIR}/usr/lib/libutil.a
LDFLAGS+= -static
.endif
.if defined(SHAREDSTRINGS)
CLEANFILES+=strings
.c.o:
${CC} -E ${CFLAGS} ${.IMPSRC} | xstr -c -
@${CC} ${CFLAGS} -c x.c -o ${.TARGET}
@rm -f x.c
.cc.o .cxx.o .C.o:
${CXX} -E ${CXXFLAGS} ${.IMPSRC} | xstr -c -
@mv -f x.c x.cc
@${CXX} ${CXXFLAGS} -c x.cc -o ${.TARGET}
.endif
.if defined(DESTDIR)
LDDESTDIR?= -L${DESTDIR}/usr/lib
.endif