]> Git Repo - VerusCoin.git/blame - src/Makefile.include
bitcoin-cli: remove unneeded dependencies (only code movement)
[VerusCoin.git] / src / Makefile.include
CommitLineData
eb12a14d
LD
1AM_CPPFLAGS = $(INCLUDES) \
2 -I$(top_builddir)/src/obj \
3 -I$(top_srcdir)/src/leveldb/include \
4 $(BDB_CPPFLAGS) \
5 $(BOOST_INCLUDES)
6AM_LDFLAGS = $(PTHREAD_CFLAGS)
35b8af92 7
0b47fe6b
WL
8LIBBITCOIN_SERVER=$(top_builddir)/src/libbitcoin_server.a
9LIBBITCOIN_COMMON=$(top_builddir)/src/libbitcoin_common.a
10LIBBITCOIN_CLI=$(top_builddir)/src/libbitcoin_cli.a
35b8af92
CF
11LIBLEVELDB=$(top_builddir)/src/leveldb/libleveldb.a
12LIBMEMENV=$(top_builddir)/src/leveldb/libmemenv.a
13LIBBITCOINQT=$(top_builddir)/src/qt/libbitcoinqt.a
14
15$(LIBBITCOIN):
16 $(MAKE) -C $(top_builddir)/src $(@F)
17
18$(LIBLEVELDB) $(LIBMEMENV):
19 $(MAKE) -C $(top_builddir)/src leveldb/$(@F)
20
21$(LIBBITCOINQT):
22 $(MAKE) -C $(top_builddir)/src/qt $(@F)
23
24.mm.o:
25 $(OBJC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
26 $(CPPFLAGS) $(AM_CXXFLAGS) $(QT_INCLUDES) $(CXXFLAGS) -c -o $@ $<
27
28.rc.o:
29 @test -f $(WINDRES) && $(WINDRES) -i $< -o $@ || \
30 echo error: could not build $@
31
32ui_%.h: %.ui
33 @test -d $(abs_builddir)/$(@D) || $(MKDIR_P) $(abs_builddir)/$(@D)
34 @test -f $(UIC) && $(UIC) -o $(abs_builddir)/$@ $(abs_srcdir)/$< || echo error: could not build $(abs_builddir)/$@
35 $(SED) -i.bak -e '/^\*\*.*Created:/d' $(abs_builddir)/$@ && rm $(abs_builddir)/[email protected]
36 $(SED) -i.bak -e '/^\*\*.*by:/d' $(abs_builddir)/$@ && rm $(abs_builddir)/[email protected]
37
38%.moc: %.cpp
39 $(MOC) $(QT_INCLUDES) $(MOC_DEFS) -o $@ $<
40 $(SED) -i.bak -e '/^\*\*.*Created:/d' $@ && rm [email protected]
41 $(SED) -i.bak -e '/^\*\*.*by:/d' $@ && rm [email protected]
42
43moc_%.cpp: %.h
44 $(MOC) $(QT_INCLUDES) $(MOC_DEFS) -o $@ $<
45 $(SED) -i.bak -e '/^\*\*.*Created:/d' $@ && rm [email protected]
46 $(SED) -i.bak -e '/^\*\*.*by:/d' $@ && rm [email protected]
47
48%.qm: %.ts
49 @test -d $(abs_builddir)/$(@D) || $(MKDIR_P) $(abs_builddir)/$(@D)
50 @test -f $(LRELEASE) && $(LRELEASE) $(abs_srcdir)/$< -qm $(abs_builddir)/$@ || \
51 echo error: could not build $(abs_builddir)/$@
52
53%.pb.cc %.pb.h: %.proto
54 test -f $(PROTOC) && $(PROTOC) --cpp_out=$(@D) --proto_path=$(abspath $(<D) $<) || \
55 echo error: could not build $@
152e51c7
CF
56
57%.json.h: %.json
58 @$(MKDIR_P) $(@D)
59 @echo "namespace json_tests{" > $@
60 @echo "static unsigned const char $(*F)[] = {" >> $@
61 @$(HEXDUMP) -v -e '8/1 "0x%02x, "' -e '"\n"' $< | $(SED) -e 's/0x ,//g' >> $@
62 @echo "};};" >> $@
63 @echo "Generated $@"
64
65%.raw.h: %.raw
66 @$(MKDIR_P) $(@D)
67 @echo "namespace alert_tests{" > $@
68 @echo "static unsigned const char $(*F)[] = {" >> $@
69 @$(HEXDUMP) -v -e '8/1 "0x%02x, "' -e '"\n"' $< | $(SED) -e 's/0x ,//g' >> $@
70 @echo "};};" >> $@
71 @echo "Generated $@"
This page took 0.033543 seconds and 4 git commands to generate.