Home | History | Annotate | Line # | Download | only in libarch
Makefile revision 1.2
      1 #	Makefile,v 1.6 1993/09/10 23:32:17 jtc Exp
      2 
      3 ARCH?=${MACHINE}
      4 
      5 .if exists (${.CURDIR}/${MACHINE}/Makefile.inc)
      6 .PATH:	${.CURDIR}/${MACHINE}
      7 .include "${.CURDIR}/${MACHINE}/Makefile.inc"
      8 AINC+= -I${.CURDIR}/${MACHINE}
      9 .endif
     10 
     11 .if defined(ARCH) && !empty(ARCH)
     12 .if exists (${.CURDIR}/${ARCH}/Makefile.inc)
     13 .PATH:	${.CURDIR}/${ARCH}
     14 .include "${.CURDIR}/${ARCH}/Makefile.inc"
     15 AINC+= -I${.CURDIR}/${ARCH}
     16 .endif
     17 .endif
     18 
     19 OBJS+= ${ASM}
     20 POBJS+=	${ASM:.o=.po}
     21 CLEANFILES+= ${ASM} ${POBJS}
     22 
     23 .if exists (${.CURDIR}/${ARCH})
     24 LIB=	${ARCH}
     25 
     26 .include <bsd.lib.mk>
     27 .else
     28 all:
     29 .endif
     30