Enable building #WITHOUT_PROXY
[freeradius.git] / src / include / Makefile
1 #
2 # Makefile
3 #
4 # Version:      $Id$
5 #
6
7 HEADERS = autoconf.h conf.h conffile.h detail.h dhcp.h event.h hash.h heap.h \
8         ident.h libradius.h md4.h md5.h missing.h modcall.h modules.h \
9         packet.h rad_assert.h radius.h radiusd.h radpaths.h \
10         radutmp.h realms.h sha1.h stats.h sysutmp.h token.h \
11         udpfromto.h vmps.h vqp.h
12
13 include ../../Make.inc
14 .PHONY: all clean distclean install
15
16 .PHONY: all clean distclean install reconfig
17 all: radpaths.h
18
19 radpaths.h: build-radpaths-h
20         @/bin/sh ./build-radpaths-h
21
22 distclean:
23         rm -f radpaths.h
24
25 reconfig clean:
26
27 install:
28         $(INSTALL) -d -m 755 $(R)$(includedir)/freeradius
29         for i in $(HEADERS); do \
30                 sed 's/^#include <freeradius-devel/#include <freeradius/' $$i > .inst.$$$$ ; \
31                 $(INSTALL) -m 644 .inst.$$$$   $(R)$(includedir)/freeradius/$$i; \
32                 rm -f .inst.$$$$ ; \
33         done