Install new files hash.h and packet.h too and remove "freeradius-devel"
[freeradius.git] / src / include / Makefile
1 #
2 # Makefile
3 #
4 # Version:      $Id$
5 #
6
7 include ../../Make.inc
8 .PHONY: all clean distclean install
9
10 all: radpaths.h
11
12 radpaths.h: build-radpaths-h
13         @/bin/sh ./build-radpaths-h
14
15 distclean:
16         rm -f radpaths.h
17
18 clean:
19
20 install:
21         $(INSTALL) -d -m 755 $(R)$(includedir)/freeradius
22         $(INSTALL) -m 644 hash.h $(R)$(includedir)/freeradius
23         $(INSTALL) -m 644 libradius.h $(R)$(includedir)/freeradius
24         $(INSTALL) -m 644 md4.h $(R)$(includedir)/freeradius
25         $(INSTALL) -m 644 md5.h $(R)$(includedir)/freeradius
26         $(INSTALL) -m 644 missing.h $(R)$(includedir)/freeradius
27         $(INSTALL) -m 644 packet.h $(R)$(includedir)/freeradius
28         $(INSTALL) -m 644 radius.h $(R)$(includedir)/freeradius
29         $(INSTALL) -m 644 radpaths.h $(R)$(includedir)/freeradius
30         $(INSTALL) -m 644 sha1.h $(R)$(includedir)/freeradius
31         $(INSTALL) -m 644 token.h $(R)$(includedir)/freeradius
32         $(INSTALL) -m 644 udpfromto.h $(R)$(includedir)/freeradius
33         sed -i 's/^#include <freeradius-devel/#include <freeradius/' $(R)$(includedir)/freeradius/libradius.h