Home | History | Annotate | Line # | Download | only in libarch
Makefile revision 1.6
      1 #	$Id: Makefile,v 1.6 1994/02/26 02:26:00 cgd Exp $
      2 
      3 .if exists(${.CURDIR}/${MACHINE})
      4 .PATH:	${.CURDIR}/${MACHINE}
      5 .include "${.CURDIR}/${MACHINE}/Makefile.inc"
      6 AINC+= -I${.CURDIR}/${MACHINE}
      7 .endif
      8 
      9 .if exists(${.CURDIR}/${MACHINE_ARCH}) && (${MACHINE} != ${MACHINE_ARCH})
     10 .PATH:	${.CURDIR}/${MACHINE_ARCH}
     11 .include "${.CURDIR}/${MACHINE_ARCH}/Makefile.inc"
     12 AINC+= -I${.CURDIR}/${MACHINE_ARCH}
     13 .endif
     14 
     15 OBJS+= ${ASM}
     16 POBJS+=	${ASM:.o=.po}
     17 CLEANFILES+= ${ASM} ${POBJS}
     18 
     19 
     20 .if exists(${.CURDIR}/${MACHINE}) || exists(${.CURDIR}/${MACHINE_ARCH})
     21 # then there's a lib for this machine/machine architecture
     22 LIB=	${MACHINE}
     23 .include <bsd.lib.mk>
     24 .else
     25 # there's NOT, so get the targets right
     26 all:
     27 clean:
     28 cleandir:
     29 depend:
     30 install:
     31 .include <bsd.obj.mk>
     32 .endif
     33