version 1.239, 2003/10/26 03:29:44 |
version 1.240, 2003/11/11 11:43:45 |
Line 21 LDFLAGS+= ${LDFLAGS.lib${LIB}} |
|
Line 21 LDFLAGS+= ${LDFLAGS.lib${LIB}} |
|
LDSTATIC+= ${LDSTATIC.lib${LIB}} |
LDSTATIC+= ${LDSTATIC.lib${LIB}} |
|
|
##### Build and install rules |
##### Build and install rules |
|
MKDEP_SUFFIXES?= .o .po .so .ln |
CPPFLAGS+= ${DESTDIR:D-nostdinc ${CPPFLAG_ISYSTEM} ${DESTDIR}/usr/include} |
CPPFLAGS+= ${DESTDIR:D-nostdinc ${CPPFLAG_ISYSTEM} ${DESTDIR}/usr/include} |
CXXFLAGS+= ${DESTDIR:D-nostdinc++ ${CPPFLAG_ISYSTEMXX} ${DESTDIR}/usr/include/g++} |
CXXFLAGS+= ${DESTDIR:D-nostdinc++ ${CPPFLAG_ISYSTEMXX} ${DESTDIR}/usr/include/g++} |
|
|
|
|
rm -f ${OBJS:=.tmp} ${POBJS:=.tmp} ${SOBJS:=.tmp} |
rm -f ${OBJS:=.tmp} ${POBJS:=.tmp} ${SOBJS:=.tmp} |
rm -f llib-l${LIB}.ln ${LOBJS} |
rm -f llib-l${LIB}.ln ${LOBJS} |
|
|
.if defined(SRCS) |
|
afterdepend: .depend |
|
@(TMP=/tmp/_depend$$$$; trap 'rm -f $$TMP ; exit 1' 1 2 3 13 15; \ |
|
sed -e 's/^\([^\.]*\).o[ ]*:/\1.o \1.po \1.so \1.ln:/' \ |
|
< .depend > $$TMP && \ |
|
mv $$TMP .depend) |
|
.endif |
|
|
|
.if !target(libinstall) |
.if !target(libinstall) |
# Make sure it gets defined, in case MKPIC==no && MKLINKLIB==no |
# Make sure it gets defined, in case MKPIC==no && MKLINKLIB==no |
libinstall:: |
libinstall:: |