Makefile revision 1.33
11.33Sthorpej# $NetBSD: Makefile,v 1.33 1997/04/30 00:53:38 thorpej Exp $ 21.1Scgd 31.1ScgdLIB= kern 41.1ScgdNOPIC= 51.9Sderaadt 61.29SmycroftM= ${.CURDIR}/arch/${MACHINE_ARCH} 71.20Schristos 81.32ScgdCPPFLAGS= -I$M ${KERNCPPFLAGS} ${KERNMISCCPPFLAGS} 91.29Smycroft 101.29Smycroft.if exists ($M/Makefile.inc) 111.29Smycroft.PATH: $M 121.29Smycroft.include "$M/Makefile.inc" 131.1Scgd.endif 141.5Scgd 151.19Scgd.if (${MACHINE_ARCH} != "alpha") 161.5Scgd# Quad support 171.5ScgdSRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \ 181.5Scgd lshldi3.c lshrdi3.c moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c \ 191.5Scgd subdi3.c ucmpdi2.c udivdi3.c umoddi3.c xordi3.c 201.19Scgd.endif 211.8Scgd 221.8Scgd# Other stuff 231.33SthorpejSRCS+= md5c.c 241.27Sscottr 251.27Sscottr# Files to clean up 261.27SscottrCLEANFILES+= lib${LIB}.o lib${LIB}.po 271.5Scgd 281.11Scgd# mcount cannot be compiled with profiling 291.11Scgdmcount.po: mcount.o 301.11Scgd cp mcount.o mcount.po 311.19Scgd 321.19Scgdinstall: 331.1Scgd 341.1Scgd.include <bsd.lib.mk> 351.23Smycroft 361.23Smycroftlib${LIB}.o:: ${OBJS} 371.23Smycroft @echo building standard ${LIB} library 381.23Smycroft @rm -f lib${LIB}.o 391.23Smycroft @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort` 401.23Smycroft 411.23SmycroftPOBJS+= ${OBJS:.o=.po} mcount.po 421.23Smycroftlib${LIB}.po:: ${POBJS} 431.23Smycroft @echo building profiled ${LIB} library 441.23Smycroft @rm -f lib${LIB}.po 451.23Smycroft @${LD} -r -o lib${LIB}.po `lorder ${POBJS} | tsort` 46