Makefile revision 1.35
11.35Scjs# $NetBSD: Makefile,v 1.35 1997/05/30 01:55:10 cjs Exp $ 21.1Scgd 31.1ScgdLIB= kern 41.1ScgdNOPIC= 51.9Sderaadt 61.35Scjs# this library is needed only during build 71.35ScjsNOINSTALL=1 81.35Scjs 91.29SmycroftM= ${.CURDIR}/arch/${MACHINE_ARCH} 101.20Schristos 111.32ScgdCPPFLAGS= -I$M ${KERNCPPFLAGS} ${KERNMISCCPPFLAGS} 121.29Smycroft 131.29Smycroft.if exists ($M/Makefile.inc) 141.29Smycroft.PATH: $M 151.29Smycroft.include "$M/Makefile.inc" 161.1Scgd.endif 171.5Scgd 181.19Scgd.if (${MACHINE_ARCH} != "alpha") 191.5Scgd# Quad support 201.5ScgdSRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \ 211.5Scgd lshldi3.c lshrdi3.c moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c \ 221.5Scgd subdi3.c ucmpdi2.c udivdi3.c umoddi3.c xordi3.c 231.19Scgd.endif 241.8Scgd 251.8Scgd# Other stuff 261.33SthorpejSRCS+= md5c.c 271.27Sscottr 281.27Sscottr# Files to clean up 291.27SscottrCLEANFILES+= lib${LIB}.o lib${LIB}.po 301.5Scgd 311.11Scgd# mcount cannot be compiled with profiling 321.11Scgdmcount.po: mcount.o 331.11Scgd cp mcount.o mcount.po 341.1Scgd 351.1Scgd.include <bsd.lib.mk> 361.23Smycroft 371.23Smycroftlib${LIB}.o:: ${OBJS} 381.23Smycroft @echo building standard ${LIB} library 391.23Smycroft @rm -f lib${LIB}.o 401.23Smycroft @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort` 411.23Smycroft 421.23SmycroftPOBJS+= ${OBJS:.o=.po} mcount.po 431.23Smycroftlib${LIB}.po:: ${POBJS} 441.23Smycroft @echo building profiled ${LIB} library 451.23Smycroft @rm -f lib${LIB}.po 461.23Smycroft @${LD} -r -o lib${LIB}.po `lorder ${POBJS} | tsort` 47