Cross Reference: Makefile
xref: /src/regress/libexec/ld.elf_so/origin/prog/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/regress/libexec/ld.elf_so/origin/prog/
11.5Schristos# $NetBSD: Makefile,v 1.5 2009/01/28 16:11:23 christos Exp $
21.4Sdholland
31.4SdhollandNOMAN=# defined (must be above bsd.own.mk)
41.1Schristos
51.1Schristos.include <bsd.own.mk>
61.1Schristos
71.1SchristosPROG=origin
81.1SchristosLIBFOO != cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
91.5SchristosPROGDIR != cd ${.CURDIR} && ${PRINTOBJDIR}
101.1SchristosLDFLAGS+=-Wl,-R'$${ORIGIN}' -Wl,-L${LIBFOO} -lfoo
111.1SchristosCPPFLAGS+=-I${.CURDIR}/../lib
121.1Schristos
131.1Schristos${PROG}: libfoo.so.0
141.1Schristos
151.1Schristoslibfoo.so.0:
161.3Schristos	-@cp ${LIBFOO}/libfoo.so.0 .
171.1Schristos
181.3SchristosCLEANFILES+=libfoo.so.0
191.1Schristos
201.5Schristos#	can't use ./${PROG} here because the kernel is still broken
211.5Schristos#	checkout the #ifdef notyet in kern_exec.c
221.1Schristosregress: ${PROG}
231.5Schristos	${PROGDIR}/${PROG}
241.1Schristos
251.1Schristos.include <bsd.prog.mk>
26

Indexes created Thu Nov 27 23:09:41 GMT 2025