… | |
… | |
16 | CLEANFILES = # empty |
16 | CLEANFILES = # empty |
17 | DISTCLEANFILES = # empty |
17 | DISTCLEANFILES = # empty |
18 | MAINTAINERCLEANFILES = # empty |
18 | MAINTAINERCLEANFILES = # empty |
19 | |
19 | |
20 | AM_CPPFLAGS = -I$(srcdir)/include -I/usr/include/ncursesw -isystem /usr/include/ncursesw -include compiler.h |
20 | AM_CPPFLAGS = -I$(srcdir)/include -I/usr/include/ncursesw -isystem /usr/include/ncursesw -include compiler.h |
21 | AM_CXXFLAGS = -pipe -O3 -ggdb3 -Wall -pedantic -std=c++0x -fno-inline |
21 | AM_CXXFLAGS = -pipe -O3 -ggdb3 -Wall -pedantic -std=c++0x -fno-inline -Wno-vla -DEV_COMPAT3=0 |
22 | AM_LDFLAGS = -Wl,-z,defs,-z,nodlopen,-z,noexecstack,-z,now,-z,nodump |
22 | AM_LDFLAGS = -Wl,-z,defs,-z,nodlopen,-z,noexecstack,-z,now,-z,nodump |
23 | |
23 | |
24 | BOOST = -lboost_system-mt -lpthread |
24 | EV = -lev |
25 | CURSES = -lpanelw -lmenuw -lncursesw |
25 | CURSES = -lpanelw -lmenuw -lncursesw |
26 | |
26 | |
27 | include src/common/Rules.am |
27 | #include src/common/Rules.am |
28 | include include/common/Rules.am |
28 | #include include/common/Rules.am |
29 | include testsuite/common/Rules.am |
29 | #include testsuite/common/Rules.am |
30 | |
30 | |
31 | include include/Rules.am |
31 | include include/Rules.am |
32 | include src/Rules.am |
32 | include src/Rules.am |
33 | include testsuite/Rules.am |
33 | include testsuite/Rules.am |
34 | |
34 | |
… | |
… | |
36 | $(MAKE) $(AM_MAKEFLAGS) install DESTDIR=$(PWD)/$(distdir)_$(host_cpu) |
36 | $(MAKE) $(AM_MAKEFLAGS) install DESTDIR=$(PWD)/$(distdir)_$(host_cpu) |
37 | tar zcf $(distdir)_$(host_cpu).tar.gz $(distdir)_$(host_cpu) |
37 | tar zcf $(distdir)_$(host_cpu).tar.gz $(distdir)_$(host_cpu) |
38 | $(RM) -r $(distdir)_$(host_cpu) |
38 | $(RM) -r $(distdir)_$(host_cpu) |
39 | |
39 | |
40 | dclient.static: all |
40 | dclient.static: all |
41 | $(CXX) `find . -name "*.o"` -static $(BOOST) $(CURSES) -lgpm $(BFD) -o $@ |
41 | $(CXX) `find . -name "*.o"` -static $(EV) $(CURSES) -lgpm $(BFD) -o $@ |
42 | |
42 | |
43 | upload: dclient.static |
43 | upload: dclient.static |
44 | cat $< | gzip > dclient.gz |
44 | cat $< | gzip > dclient.gz |
45 | rcp dclient.gz ra:public_html/files/up |
45 | rcp dclient.gz ra:public_html/files/up |
46 | echo -n "http://xinutec.org/~pippijn/files/up/dclient.gz" | xclip -i |
46 | echo -n "http://xinutec.org/~pippijn/files/up/dclient.gz" | xclip -i |