ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cf.schmorp.de/dclient/Makefile.am
Revision: 1.8
Committed: Sun Oct 24 20:31:35 2010 UTC (13 years, 8 months ago) by sf-pippijn
Branch: MAIN
Changes since 1.7: +2 -2 lines
Log Message:
use EV and plain sockets instead of asio

File Contents

# User Rev Content
1 sf-pippijn 1.1 AUTOMAKE_OPTIONS = -Wall
2     ACLOCAL_AMFLAGS = -I m4
3     DISTCHECK_CONFIGURE_FLAGS = CXX=$(CXX)
4    
5     lib_LTLIBRARIES = # empty
6     bin_PROGRAMS = # empty
7     check_PROGRAMS = # empty
8     noinst_HEADERS = # empty
9    
10     TESTS = # empty
11    
12     BUILT_SOURCES = # empty
13    
14     EXTRA_DIST = # empty
15    
16     CLEANFILES = # empty
17     DISTCLEANFILES = # empty
18     MAINTAINERCLEANFILES = # empty
19    
20 sf-pippijn 1.4 AM_CPPFLAGS = -I$(srcdir)/include -I/usr/include/ncursesw -isystem /usr/include/ncursesw -include compiler.h
21 sf-pippijn 1.7 AM_CXXFLAGS = -pipe -O3 -ggdb3 -Wall -pedantic -std=c++0x -fno-inline -Wno-vla
22 sf-pippijn 1.1 AM_LDFLAGS = -Wl,-z,defs,-z,nodlopen,-z,noexecstack,-z,now,-z,nodump
23    
24 sf-pippijn 1.8 EV = -lev
25 sf-pippijn 1.1 CURSES = -lpanelw -lmenuw -lncursesw
26    
27 sf-pippijn 1.6 #include src/common/Rules.am
28     #include include/common/Rules.am
29     #include testsuite/common/Rules.am
30 sf-pippijn 1.4
31 sf-pippijn 1.1 include include/Rules.am
32     include src/Rules.am
33     include testsuite/Rules.am
34    
35     package:
36     $(MAKE) $(AM_MAKEFLAGS) install DESTDIR=$(PWD)/$(distdir)_$(host_cpu)
37     tar zcf $(distdir)_$(host_cpu).tar.gz $(distdir)_$(host_cpu)
38     $(RM) -r $(distdir)_$(host_cpu)
39    
40     dclient.static: all
41 sf-pippijn 1.8 $(CXX) `find . -name "*.o"` -static $(EV) $(CURSES) -lgpm $(BFD) -o $@
42 sf-pippijn 1.1
43     upload: dclient.static
44     cat $< | gzip > dclient.gz
45     rcp dclient.gz ra:public_html/files/up
46     echo -n "http://xinutec.org/~pippijn/files/up/dclient.gz" | xclip -i
47     $(RM) dclient.gz
48    
49 sf-pippijn 1.4 DISTCLEANFILES += curses.log client.log