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