diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-10-31 02:17:29 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-10-31 02:01:44 +0000 |
commit | 3deece559159150a0710d8160f39583ba7f2e582 (patch) | |
tree | 861600d7060d1ca8764c26f7ecc2cb82a4a44bec /source4/build/make/python.mk | |
parent | 9401189d5435632bcc6a177845ce03beaa804113 (diff) | |
download | samba-3deece559159150a0710d8160f39583ba7f2e582.tar.gz samba-3deece559159150a0710d8160f39583ba7f2e582.tar.bz2 samba-3deece559159150a0710d8160f39583ba7f2e582.zip |
s4: Remove the old perl/m4/make/mk-based build system.
The new waf-based build system now has all the same functionality, and
the old build system has been broken for quite some time.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4/build/make/python.mk')
-rw-r--r-- | source4/build/make/python.mk | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/source4/build/make/python.mk b/source4/build/make/python.mk deleted file mode 100644 index ea307da73d..0000000000 --- a/source4/build/make/python.mk +++ /dev/null @@ -1,51 +0,0 @@ -pythonbuilddir = bin/python - -installpython:: - mkdir -p $(DESTDIR)$(pythondir) - -# Install Python -# Arguments: Module path -define python_module_template - -installpython:: $$(pythonbuilddir)/$(1) ; - mkdir -p $$(DESTDIR)$$(pythondir)/$$(dir $(1)) - cp $$< $$(DESTDIR)$$(pythondir)/$(1) - -uninstallpython:: - rm -f $$(DESTDIR)$$(pythondir)/$(1) ; - -pythonmods:: $$(pythonbuilddir)/$(1) ; - -endef - -define python_py_module_template - -$$(pythonbuilddir)/$(1): $(2) ; - mkdir -p $$(@D) - cp $$< $$@ - -$(call python_module_template,$(1)) - -endef - -# Python C module -# Arguments: File name, dependencies, link list -define python_c_module_template - -$$(pythonbuilddir)/$(1): $(2) ; - @echo Linking $$@ - @mkdir -p $$(@D) - @$$(MDLD) $$(LDFLAGS) $$(MDLD_FLAGS) $$(INTERN_LDFLAGS) -o $$@ $$(INSTALL_LINK_FLAGS) $(3) - -$(call python_module_template,$(1)) -endef - -pythonmods:: - -clean:: - @echo "Removing python modules" - @rm -rf $(pythonbuilddir) - -bin/python/%.py: - mkdir -p $(@D) - cp $< $@ |