Home | History | Annotate | Line # | Download | only in libkern
Makefile revision 1.31.6.1
      1  1.31.6.1        is #	$NetBSD: Makefile,v 1.31.6.1 1997/03/12 16:01:15 is Exp $
      2       1.1       cgd 
      3       1.1       cgd LIB=	kern
      4       1.1       cgd NOPIC=
      5       1.9   deraadt 
      6      1.29   mycroft M=	${.CURDIR}/arch/${MACHINE_ARCH}
      7      1.20  christos 
      8  1.31.6.1        is CPPFLAGS=	-I$M ${KERNCPPFLAGS} ${KERNMISCCPPFLAGS}
      9      1.29   mycroft 
     10      1.29   mycroft .if exists ($M/Makefile.inc)
     11      1.29   mycroft .PATH:	$M
     12      1.29   mycroft .include "$M/Makefile.inc"
     13       1.1       cgd .endif
     14       1.5       cgd 
     15      1.19       cgd .if (${MACHINE_ARCH} != "alpha")
     16       1.5       cgd # Quad support
     17       1.5       cgd SRCS+=	adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \
     18       1.5       cgd 	lshldi3.c lshrdi3.c moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c \
     19       1.5       cgd 	subdi3.c  ucmpdi2.c udivdi3.c umoddi3.c xordi3.c
     20      1.19       cgd .endif
     21       1.8       cgd 
     22       1.8       cgd # Other stuff
     23      1.23   mycroft SRCS+=	
     24      1.27    scottr 
     25      1.27    scottr # Files to clean up
     26      1.27    scottr CLEANFILES+= lib${LIB}.o lib${LIB}.po
     27       1.5       cgd 
     28      1.11       cgd # mcount cannot be compiled with profiling
     29      1.11       cgd mcount.po: mcount.o
     30      1.11       cgd 	cp mcount.o mcount.po
     31      1.19       cgd 
     32      1.19       cgd install:
     33       1.1       cgd 
     34       1.1       cgd .include <bsd.lib.mk>
     35      1.23   mycroft 
     36      1.23   mycroft lib${LIB}.o:: ${OBJS}
     37      1.23   mycroft 	@echo building standard ${LIB} library
     38      1.23   mycroft 	@rm -f lib${LIB}.o
     39      1.23   mycroft 	@${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`
     40      1.23   mycroft 
     41      1.23   mycroft POBJS+=	${OBJS:.o=.po} mcount.po
     42      1.23   mycroft lib${LIB}.po:: ${POBJS}
     43      1.23   mycroft 	@echo building profiled ${LIB} library
     44      1.23   mycroft 	@rm -f lib${LIB}.po
     45      1.23   mycroft 	@${LD} -r -o lib${LIB}.po `lorder ${POBJS} | tsort`
     46