Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(32537)

Side by Side Diff: Makefile.pre.in

Issue 16754: Incorrect shared library extension on linux
Patch Set: Created 6 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Lib/distutils/tests/test_build_ext.py ('k') | Python/dynload_hpux.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Top-level Makefile for Python 1 # Top-level Makefile for Python
2 # 2 #
3 # As distributed, this file is called Makefile.pre.in; it is processed 3 # As distributed, this file is called Makefile.pre.in; it is processed
4 # into the real Makefile by running the script ./configure, which 4 # into the real Makefile by running the script ./configure, which
5 # replaces things like @spam@ with values appropriate for your system. 5 # replaces things like @spam@ with values appropriate for your system.
6 # This means that if you edit Makefile, your changes get lost the next 6 # This means that if you edit Makefile, your changes get lost the next
7 # time you run the configure script. Ideally, you can do: 7 # time you run the configure script. Ideally, you can do:
8 # 8 #
9 # ./configure 9 # ./configure
10 # make 10 # make
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 SCRIPTDIR= $(prefix)/lib 118 SCRIPTDIR= $(prefix)/lib
119 ABIFLAGS= @ABIFLAGS@ 119 ABIFLAGS= @ABIFLAGS@
120 120
121 # Detailed destination directories 121 # Detailed destination directories
122 BINLIBDEST= $(LIBDIR)/python$(VERSION) 122 BINLIBDEST= $(LIBDIR)/python$(VERSION)
123 LIBDEST= $(SCRIPTDIR)/python$(VERSION) 123 LIBDEST= $(SCRIPTDIR)/python$(VERSION)
124 INCLUDEPY= $(INCLUDEDIR)/python$(LDVERSION) 124 INCLUDEPY= $(INCLUDEDIR)/python$(LDVERSION)
125 CONFINCLUDEPY= $(CONFINCLUDEDIR)/python$(LDVERSION) 125 CONFINCLUDEPY= $(CONFINCLUDEDIR)/python$(LDVERSION)
126 126
127 # Symbols used for using shared libraries 127 # Symbols used for using shared libraries
128 SO=» » @SO@ 128 SHLIB_SUFFIX=» @SHLIB_SUFFIX@
129 EXT_SUFFIX=» @EXT_SUFFIX@
130 SO=» » $(SHLIB_SUFFIX)
129 LDSHARED= @LDSHARED@ $(PY_LDFLAGS) 131 LDSHARED= @LDSHARED@ $(PY_LDFLAGS)
130 BLDSHARED= @BLDSHARED@ $(PY_LDFLAGS) 132 BLDSHARED= @BLDSHARED@ $(PY_LDFLAGS)
131 LDCXXSHARED= @LDCXXSHARED@ 133 LDCXXSHARED= @LDCXXSHARED@
132 DESTSHARED= $(BINLIBDEST)/lib-dynload 134 DESTSHARED= $(BINLIBDEST)/lib-dynload
133 135
134 # Executable suffix (.exe on Windows and Mac OS X) 136 # Executable suffix (.exe on Windows and Mac OS X)
135 EXE= @EXEEXT@ 137 EXE= @EXEEXT@
136 BUILDEXE= @BUILDEXEEXT@ 138 BUILDEXE= @BUILDEXEEXT@
137 139
138 # Short name and location for Mac OS X Python framework 140 # Short name and location for Mac OS X Python framework
(...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after
1181 @for i in $(LIBDIR) $(LIBPL) $(LIBPC); \ 1183 @for i in $(LIBDIR) $(LIBPL) $(LIBPC); \
1182 do \ 1184 do \
1183 if test ! -d $(DESTDIR)$$i; then \ 1185 if test ! -d $(DESTDIR)$$i; then \
1184 echo "Creating directory $$i"; \ 1186 echo "Creating directory $$i"; \
1185 $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \ 1187 $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \
1186 else true; \ 1188 else true; \
1187 fi; \ 1189 fi; \
1188 done 1190 done
1189 @if test -d $(LIBRARY); then :; else \ 1191 @if test -d $(LIBRARY); then :; else \
1190 if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \ 1192 if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \
1191 » » » if test "$(SO)" = .dll; then \ 1193 » » » if test "$(SHLIB_SUFFIX)" = .dll; then \
1192 $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \ 1194 $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \
1193 else \ 1195 else \
1194 $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$( LIBRARY) ; \ 1196 $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$( LIBRARY) ; \
1195 $(RANLIB) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \ 1197 $(RANLIB) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
1196 fi; \ 1198 fi; \
1197 else \ 1199 else \
1198 echo Skip install of $(LIBRARY) - use make frameworkinst all; \ 1200 echo Skip install of $(LIBRARY) - use make frameworkinst all; \
1199 fi; \ 1201 fi; \
1200 fi 1202 fi
1201 $(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c 1203 $(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
1468 .PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure 1470 .PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
1469 .PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools 1471 .PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
1470 .PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean 1472 .PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean
1471 .PHONY: smelly funny patchcheck touch altmaninstall 1473 .PHONY: smelly funny patchcheck touch altmaninstall
1472 .PHONY: gdbhooks 1474 .PHONY: gdbhooks
1473 1475
1474 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY 1476 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
1475 # Local Variables: 1477 # Local Variables:
1476 # mode: makefile 1478 # mode: makefile
1477 # End: 1479 # End:
OLDNEW
« no previous file with comments | « Lib/distutils/tests/test_build_ext.py ('k') | Python/dynload_hpux.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+