Rune - Change regsave burden for syscalls
[rune.git] / librune / Makefile
1 #
2 # Makefile for librune
3 #
4 # (c)Copyright 1993-2014, Matthew Dillon, All Rights Reserved.  See the  
5 #    COPYRIGHT file at the base of the distribution.
6
7 LIB=    rune
8 SRCS=   debug_lex.c parse.c parse1.c parse2.c parse3.c
9 SRCS+=  exp.c stmt.c lex.c sym.c strtable.c type.c typeq.c decl.c declq.c
10 SRCS+=  misc.c resolve.c collapse.c info.c
11
12 INCS=   export.h lex.h sym.h type.h
13 INCS+=  decl.h exp.h stmt.h parse.h context.h
14
15 INCSDIR= /include/librune
16
17 CFLAGS+= -I${.CURDIR}/..
18
19 beforedepend: beforeinstall
20
21 beforeinstall:
22         mkdir -p ${DESTDIR}/${INCSDIR}
23         mkdir -p ${DESTDIR}/${LIBDIR}
24         mkdir -p ${DESTDIR}/${LIBDIR}/profile
25
26 .include <bsd.lib.mk>