… | |
… | |
15 | |
15 | |
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 |
20 | AM_CPPFLAGS = -I$(srcdir)/include -I/usr/include/ncursesw -isystem /usr/include/ncursesw -include adt/foreach.h -Dnullptr=NULL |
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 |
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 | BOOST = -lboost_system-mt -lpthread |
25 | CURSES = -lpanelw -lmenuw -lncursesw |
25 | CURSES = -lpanelw -lmenuw -lncursesw |
… | |
… | |
32 | $(MAKE) $(AM_MAKEFLAGS) install DESTDIR=$(PWD)/$(distdir)_$(host_cpu) |
32 | $(MAKE) $(AM_MAKEFLAGS) install DESTDIR=$(PWD)/$(distdir)_$(host_cpu) |
33 | tar zcf $(distdir)_$(host_cpu).tar.gz $(distdir)_$(host_cpu) |
33 | tar zcf $(distdir)_$(host_cpu).tar.gz $(distdir)_$(host_cpu) |
34 | $(RM) -r $(distdir)_$(host_cpu) |
34 | $(RM) -r $(distdir)_$(host_cpu) |
35 | |
35 | |
36 | dclient.static: all |
36 | dclient.static: all |
37 | g++-snapshot `find . -name "*.o"` -static $(BOOST) $(CURSES) -lgpm -o $@ |
37 | $(CXX) `find . -name "*.o"` -static $(BOOST) $(CURSES) -lgpm -o $@ |
38 | |
38 | |
39 | upload: dclient.static |
39 | upload: dclient.static |
40 | cat $< | gzip > dclient.gz |
40 | cat $< | gzip > dclient.gz |
41 | rcp dclient.gz ra:public_html/files/up |
41 | rcp dclient.gz ra:public_html/files/up |
42 | echo -n "http://xinutec.org/~pippijn/files/up/dclient.gz" | xclip -i |
42 | echo -n "http://xinutec.org/~pippijn/files/up/dclient.gz" | xclip -i |