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.
22 lines
562 B
22 lines
562 B
# Makefile.pylibfdt |
|
# |
|
|
|
PYLIBFDT_srcs = $(PYLIBFDT_srcdir)/libfdt.i |
|
PYMODULE = $(PYLIBFDT_objdir)/_libfdt.so |
|
|
|
SETUP = $(PYLIBFDT_srcdir)/setup.py |
|
SETUPFLAGS = |
|
|
|
ifndef V |
|
SETUPFLAGS += --quiet |
|
endif |
|
|
|
$(PYMODULE): $(PYLIBFDT_srcs) $(LIBFDT_archive) $(SETUP) $(VERSION_FILE) |
|
@$(VECHO) PYMOD $@ |
|
$(SETUP) $(SETUPFLAGS) build_ext --build-lib=../$(PYLIBFDT_objdir) |
|
|
|
install_pylibfdt: $(PYMODULE) |
|
@$(VECHO) INSTALL-PYLIB |
|
$(SETUP) $(SETUPFLAGS) install $(if $(SETUP_PREFIX),--prefix=$(SETUP_PREFIX)) |
|
|
|
PYLIBFDT_cleanfiles = libfdt_wrap.c libfdt.py libfdt.pyc _libfdt.so
|
|
|