projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8acc93
)
Build dictionary header files.
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 25 Sep 2008 13:04:56 +0000
(15:04 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 25 Sep 2008 13:04:56 +0000
(15:04 +0200)
src/include/Makefile
patch
|
blob
|
history
diff --git
a/src/include/Makefile
b/src/include/Makefile
index
518d748
..
f05296b
100644
(file)
--- a/
src/include/Makefile
+++ b/
src/include/Makefile
@@
-18,7
+18,20
@@
radpaths.h: build-radpaths-h
distclean:
rm -f radpaths.h
+dict:
+ @mkdir dict
+ @for x in ../../share/dictionary*; do \
+ ../../share/header.pl $$x > dict/`basename $$x`.h; \
+ done
+
+dictionary.h: dict
+ @echo "#ifndef _FR_DICTIONARY_H" > $@
+ @echo "#define _FR_DICTIONARY_H" >> $@
+ @echo "#include <freeradius-devel/dict/dictionary.h>" >> $@
+ @echo "#endif" >> $@
+
clean:
+ @rm -rf dict
install:
$(INSTALL) -d -m 755 $(R)$(includedir)/freeradius