The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.0KB

  1. SHELL := /bin/bash
  2. INCLUDED_MODULES := juce_audio_basics,juce_audio_devices,juce_blocks_basics,juce_core,juce_events
  3. SOURCE_FILES := $(shell find ../../../modules -type f -name "juce_*.h" -or -name "juce_*.dox"| sed 's/ /\\ /g')
  4. EXAMPLE_DIRS := ../standalone_sdk/examples ../../../examples/BLOCKS
  5. EXAMPLE_SOURCE_FILES := $(foreach DIR,$(EXAMPLE_DIRS),$(shell find $(DIR) -type f -name "*.h" -or -name "*.cpp" | sed 's/ /\\ /g'))
  6. DOCUMENTATION_FILES := $(shell find pages -type f -name "*.dox" | sed 's/ /\\ /g')
  7. IMAGES := $(shell find images -type f | sed 's/ /\\ /g')
  8. .PHONEY: clean
  9. doc/index.html: build/Doxyfile DoxygenLayout.xml footer.html header.html stylesheet.css $(DOCUMENTATION_FILES) $(EXAMPLE_SOURCE_FILES) $(IMAGES)
  10. doxygen $<
  11. build/Doxyfile: ../../../doxygen/Doxyfile Doxyfile build/juce_modules.dox
  12. cat ../../../doxygen/Doxyfile Doxyfile > $@
  13. build/juce_modules.dox: ../../../doxygen/process_source_files.py $(SOURCE_FILES)
  14. rm -rf build
  15. python $< ../../../modules build --subdirs=$(INCLUDED_MODULES)
  16. clean:
  17. rm -rf build doc