Rune - Further Object abstraction work
[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 id.c icrc32.c
11 SRCS+=  zalloc.c slaballoc.c safe.c fatal.c
12
13 INCS=   export.h lex.h sym.h type.h types.h lists.h
14 INCS+=  decl.h exp.h stmt.h parse.h
15 INCS+=  zalloc.h slaballoc.h gdmask.h
16
17 INCSDIR= /include/librune
18
19 CFLAGS+= -I${.CURDIR}/..
20
21 beforedepend: beforeinstall
22
23 beforeinstall:
24         mkdir -p ${DESTDIR}/${INCSDIR}
25         mkdir -p ${DESTDIR}/${LIBDIR}
26         mkdir -p ${DESTDIR}/${LIBDIR}/profile
27
28 .include <bsd.lib.mk>