~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to dlltool/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
include nan_definitions.mk
2
2
 
 
3
PYTHONDLL=python$(subst .,,$(NAN_PYTHON_VERSION)).dll
 
4
 
3
5
all: ${NAN_GETTEXT}/lib/freegettext.a  ${NAN_ICONV}/lib/freeiconv.a \
4
6
                ${NAN_PYTHON}/lib/freepy.a
5
7
 
22
24
        ranlib ${NAN_ICONV}/lib/freeiconv.a
23
25
        rm ./iconv.dll
24
26
 
25
 
${NAN_PYTHON}/lib/freepy.a: python.def ${NAN_PYTHON}/lib/python22.dll
26
 
        cp ${NAN_PYTHON}/lib/python22.dll .
 
27
${NAN_PYTHON}/lib/freepy.a: python.def ${NAN_PYTHON}/lib/$(PYTHONDLL)
 
28
        cp ${NAN_PYTHON}/lib/$(PYTHONDLL) .
 
29
        sed s/PYTHON22\.DLL/$(PYTHONDLL)/ python.def > $(PYTHONDLL).def
27
30
        dlltool.exe -v --output-lib ${NAN_PYTHON}/lib/freepy.a \
28
 
                --input-def python.def \
29
 
                --dllname python22.dll
 
31
                --input-def $(PYTHONDLL).def \
 
32
                --dllname $(PYTHONDLL)
30
33
        ranlib ${NAN_PYTHON}/lib/freepy.a
31
 
        rm ./python22.dll
 
34
        rm ./$(PYTHONDLL)
32
35
 
33
36
clean:
34
37
        $(RM) ${NAN_PYTHON}/lib/freepy.a ${NAN_GETTEXT}/lib/freegettext.a \