~ubuntu-branches/ubuntu/trusty/lua-sec/trusty

« back to all changes in this revision

Viewing changes to src/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Enrico Tassi
  • Date: 2009-11-13 22:18:42 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20091113221842-1l4hj1rattecvtu2
Tags: 0.4-3
build depend on liblua5.1-policy-dev >= 26 to specify linker flags
for statical linkage (Closes: #555567)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
MAC_CFLAGS=-O2 -fno-common $(WARN) $(INCDIR) $(DEFS)
24
24
MAC_LDFLAGS=-bundle -undefined dynamic_lookup $(LIBDIR)
25
25
 
26
 
CP=cp
27
26
CC=gcc
28
27
LD=$(MYENV) gcc
29
28
CFLAGS=$(MYCFLAGS)
34
33
all:
35
34
 
36
35
install: $(CMOD) $(LMOD)
37
 
        $(CP) $(CMOD) $(CPATH)
38
 
        $(CP) $(LMOD) $(LUAPATH)
 
36
        mkdir -p $(LUAPATH)/ssl
 
37
        cp $(CMOD) $(LUACPATH)
 
38
        cp $(LMOD) $(LUAPATH)
 
39
        cp https.lua $(LUAPATH)/ssl
39
40
 
40
41
linux:
41
42
        @$(MAKE) $(CMOD) MYCFLAGS="$(LNX_CFLAGS)" MYLDFLAGS="$(LNX_LDFLAGS)"