]> git.proxmox.com Git - mirror_frr.git/blame - yang/subdir.am
Merge pull request #5053 from donaldsharp/more_sa_stuff_this_evening
[mirror_frr.git] / yang / subdir.am
CommitLineData
3a11599c
DL
1SUFFIXES += .yang .yang.c .yin .yin.c
2EXTRA_DIST += yang/embedmodel.py
3
4.yang.yang.c:
5 $(AM_V_GEN)$(PYTHON) $(top_srcdir)/yang/embedmodel.py $^ $@
6.yin.yin.c:
7 $(AM_V_GEN)$(PYTHON) $(top_srcdir)/yang/embedmodel.py $^ $@
8
9# use .yang.c files like this:
10#
11# ripd_ripd_SOURCES = \
12# ...
13# nodist_ripd_ripd_SOURCES = \
14# yang/frr-ripd.yang.c \
15# # end
16#
17# Note that putting the .yang.c file into a static library.a will NOT work
18# because the entire file is "optimized out" since it does not contain any
19# global symbols :(. Just put it in the daemon. Dynamic libraries.so work
20# without problems, as seen in libfrr.
21
1c2facd1 22dist_yangmodels_DATA += yang/frr-module-translator.yang
1a4bc045 23dist_yangmodels_DATA += yang/frr-test-module.yang
a4bed468 24dist_yangmodels_DATA += yang/frr-interface.yang
707656ec
RW
25dist_yangmodels_DATA += yang/frr-route-types.yang
26
adc26455
RZ
27if BFDD
28dist_yangmodels_DATA += yang/frr-bfdd.yang
29endif
30
f25c244b
RZ
31if EIGRPD
32dist_yangmodels_DATA += yang/frr-eigrpd.yang
33endif
34
707656ec
RW
35if RIPD
36dist_yangmodels_DATA += yang/frr-ripd.yang
37endif
e9ce224b
RW
38
39if RIPNGD
40dist_yangmodels_DATA += yang/frr-ripngd.yang
41endif
20bd27e2
EDP
42
43if ISISD
44dist_yangmodels_DATA += yang/frr-isisd.yang
45endif