Re: ltlib changes in default.aap
Bram Moolenaar <[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
Adriaan de Groot wrote:
> On Thursday 28 August 2003 15:30, you wrote:
> > Adriaan de Groot wrote:
> > > Filetype.py also needs to have ltobject changed to ltlibobject.
> >
> > I like short names. I also like consistent names.
> >
> > Would there ever be an ltdllobject? If not, then perhaps we can stick
> > to ltobject.
>
> There will never be a ltdllobject. Um, probably. Libtool is meant to
> manage collections of shared libraries that interdepend but are not
> installed yet - that's its primary purpose. So every libtool-created
> object is just that - a libtool object - that will eventually go into
> a dll when libtool installs it.
Taking you literally: "a libtool object", means we should use "ltobject"
instead of "ltlibobject".
I'll make the below changes to DoAddDef.py and default.aap. Anything else?
*** DoAddDef.py~ Fri Aug 22 10:55:24 2003
--- DoAddDef.py Fri Aug 29 10:10:39 2003
***************
*** 245,251 ****
buildaction = "buildlib"
elif type == "ltlib":
if not objtype:
! objtype = "ltlibobject"
if installvar is None:
installvar = "INSTALL_LTLIB"
if not buildaction:
--- 245,251 ----
buildaction = "buildlib"
elif type == "ltlib":
if not objtype:
! objtype = "ltobject"
if installvar is None:
installvar = "INSTALL_LTLIB"
if not buildaction:
***************
*** 276,283 ****
sufname = "DLLOBJSUF"
elif objtype == "libobject":
sufname = "LIBOBJSUF"
! elif objtype == "ltlibobject":
! sufname = "LTLIBOBJSUF"
elif objtype == "object":
sufname = "OBJSUF"
--- 276,283 ----
sufname = "DLLOBJSUF"
elif objtype == "libobject":
sufname = "LIBOBJSUF"
! elif objtype == "ltobject":
! sufname = "LTOBJSUF"
elif objtype == "object":
sufname = "OBJSUF"
*** default.aap~ Fri Aug 22 10:41:43 2003
--- default.aap Fri Aug 29 10:13:51 2003
***************
*** 60,66 ****
CXXFLAGS = $CXXFLAGS -LANG:std
# for libtool
! LTLIBOBJSUF = .lo
LTLIBPRE = lib
LTLIBSUF = .la
--- 60,66 ----
CXXFLAGS = $CXXFLAGS -LANG:std
# for libtool
! LTOBJSUF = .lo
LTLIBPRE = lib
LTLIBSUF = .la
--
Place mark here ->[ ]<- if you want a dirty monitor.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf