~ubuntu-branches/ubuntu/utopic/lua5.1/utopic-proposed

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Package Import Robot
  • Author(s): Enrico Tassi
  • Date: 2011-12-25 20:15:03 UTC
  • Revision ID: package-import@ubuntu.com-20111225201503-f5qtz0ahyho983h8
Tags: 5.1.4-12
* Provide liblua5.1-c++.so and lua5.1-c++.pc to make it possible to C++
  programs to link against Lua and use the C++ exception mecanism.
  (Closes: #560139)
* Add lua patch 5.1.4-4 fixing all known bugs of lua 5.1.4 

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
 
132
132
export V
133
133
export LIBTOOL = libtool --quiet --tag=CC
 
134
export LIBTOOLPP = libtool --quiet --tag=CXX
134
135
# See libtool manual about how to set this
135
136
export LIB_VERSION = 0:0:0
136
137
 
145
146
        cd src; $(LIBTOOL) --mode=install $(INSTALL_EXEC) lua$(V) luac$(V) $(INSTALL_BIN)
146
147
        cd src; $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
147
148
        cd src; $(LIBTOOL) --mode=install $(INSTALL_DATA) liblua$(V).la $(INSTALL_LIB)
 
149
        cd src; $(LIBTOOLPP) --mode=install $(INSTALL_DATA) liblua$(V)-c++.la $(INSTALL_LIB)
148
150
        $(foreach NAME,$(TO_MAN),$(INSTALL_DATA) doc/$(NAME) $(INSTALL_MAN)/$(basename $(NAME))$(V)$(suffix $(NAME));)
149
151
 
150
152
# ISSUE: MYCFLAGS not honored in the case of a CFLAGS override