vkernel: Fix compilation with profiling support.
[dragonfly.git] / sys / platform / vkernel / conf / Makefile
1 # Which version of config(8) is required.
2 #
3 %VERSREQ=       400026
4
5 .if !defined(S)
6 .if exists(./@/.)
7 S=      ./@
8 .else
9 S=      ../..
10 .endif
11 .endif
12
13 .include "$S/conf/kern.pre.mk"
14
15 # Override the normal kernel link and link as a normal user program
16 #
17 SYSTEM_LD= @${CC} ${DEBUG} ${PROF} -export-dynamic -o ${.TARGET} ${SYSTEM_OBJS} vers.o -pthread
18
19 %BEFORE_DEPEND
20
21 %OBJS
22
23 %CFILES
24
25 %SFILES
26
27 %MFILES
28
29 %CLEAN
30
31 .include "$S/conf/kern.post.mk"
32
33 %RULES
34
35 # DO NOT DELETE THIS LINE -- make depend uses it