~ubuntu-branches/ubuntu/saucy/edbrowse/saucy

« back to all changes in this revision

Viewing changes to src/makefile

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2010-11-29 12:06:07 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20101129120607-murkfny32efpr1nx
Tags: 3.4.5-0ubuntu1
* New upstream release
* Convert to source format 3.0
  - add debian/format/source
* Update for xulrunner-2.0
  - update debian/control
  - add debian/patches/spidermonkey-2.0.patch for the JSNative changes
  - add debian/patches/series
* Don't call the xulrunner binary to find libmozjs
  - update debian/edbrowse.sh
* Pass -lcrypto and -lreadline to the linker
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
#  Or you can use the target jslink below.
43
43
#  Some folks need to add -lcrypto to this list.
44
44
 
45
 
LIBS = -lpcre -lm -lssl -lsmjs -lcurl
 
45
LIBS = -lpcre -lm -lssl -lsmjs -lcurl -lreadline
46
46
 
47
47
#  Make the dynamically linked executable program by default.
48
48
#  Edbrowse executable.
73
73
dbinfx.o : dbinfx.ec
74
74
        esql -c dbinfx.ec
75
75
 
76
 
dbinfx.o dbops.o : dbapi.h eb.h eb.p
 
76
dbodbc.o dbinfx.o dbops.o : dbapi.h eb.h eb.p
77
77
 
78
78
edbrowseinf: $(EBOBJS) tcp.o dbops.o dbinfx.o
79
79
        esql $(ESQLDFLAGS) -o edbrowseinf $(EBOBJS) tcp.o dbops.o dbinfx.o $(LIBS)
88
88
        sendmail.c fetchmail.c html.c \
89
89
        format.c cookies.c stringfile.c jsdom.c jsloc.c dbstubs.c >eb.p
90
90
 
91
 
#  This doesn't build on my system, because I don't have libcurl.a.
 
91
STATICLIBS = -lodbc -lpcre -lm -lsmjs -lcurl -lssl -lc -lcrypto -lpthread -lm -ldl -lrt
92
92
edbrowse.static: $(EBOBJS) tcp.o dbops.o dbodbc.o
93
 
        cc --static $(LFLAGS) -o edbrowse.static $(EBOBJS) tcp.o dbops.o dbodbc.o $(LIBS) -lodbc
 
93
        cc --static $(LFLAGS) -o edbrowse.static $(EBOBJS) tcp.o dbops.o dbodbc.o $(STATICLIBS)
94
94
 
95
95
clean:
96
96
        rm -f *.o edbrowse edbrowseinf edbrowseodbc edbrowse.static