IPv6 NS RS tests and fixes
[vpp.git] / src / Makefile.am
index e691a53..bba90ea 100644 (file)
@@ -79,7 +79,15 @@ include vnet.am
 include vpp.am
 include vpp-api-test.am
 
-SUBDIRS += vpp-api/python plugins
+SUBDIRS += plugins
+
+if ENABLE_PAPI
+SUBDIRS += vpp-api/python
+endif
+
+if ENABLE_JAPI
+SUBDIRS += vpp-api/java
+endif
 
 ###############################################################################
 # API
@@ -94,7 +102,6 @@ api_DATA = \
        $(patsubst %.api,%.api.json,$(API_FILES))
 
 BUILT_SOURCES += \
-       $(patsubst %.api,%.api.json,$(API_FILES)) \
        $(patsubst %.api,%.api.h,$(API_FILES))
 
 endif # if ENABLE_VLIB