# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# TODO This list should be emitted to a .pp file via
# GenerateCSSPropsGenerated.py.
csspropsidlnames_dependencies = \
  $(srcdir)/nsCSSPropList.h \
  $(srcdir)/nsCSSPropAliasList.h \
  $(srcdir)/nsCSSPropsGenerated.inc.in \
  $(srcdir)/PythonCSSProps.h \
  $(srcdir)/GenerateCSSPropsGenerated.py \
  $(GLOBAL_DEPS) \
  $(NULL)

nsCSSPropsGenerated.inc : $(csspropsidlnames_dependencies)
	$(CPP) $(DEFINES) $(ACDEFINES) \
	  $(srcdir)/PythonCSSProps.h | \
	    PYTHONDONTWRITEBYTECODE=1 $(PYTHON) \
	      $(srcdir)/GenerateCSSPropsGenerated.py \
	      $(srcdir)/nsCSSPropsGenerated.inc.in > $@
