-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathMakefile.in
More file actions
139 lines (106 loc) · 3.26 KB
/
Makefile.in
File metadata and controls
139 lines (106 loc) · 3.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
## This is a -*- makefile -*-
# What the Python binary is called on your system
PYTHON = @PYTHON@
# Prefix for constructing installation directory paths
prefix = @prefix@
exec_prefix = $(prefix)
# Installation command
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
# Various auxiliary programs
cat=cat
tar=tar
sed=sed
rm=rm
ln=ln
mkdir=mkdir
tar=tar
chmod=chmod
srcdir = @srcdir@
VPATH = @srcdir@
ERLC = @ERLC@
SOURCES = py_interface/erl_node.py \
py_interface/erl_node_conn.py \
py_interface/erl_async_conn.py \
py_interface/erl_opts.py \
py_interface/erl_common.py \
py_interface/erl_epmd.py \
py_interface/erl_eventhandler.py \
py_interface/erl_term.py
TESTPROGRAMS = test/pingpong_master_tests.erl \
test/py_node_mgr.erl \
test/pingpong_slave.py \
test/out_connecting.py \
test/rpc_caller.py \
test/qc_pingpong_master_tests.erl \
test/test_erl_term.py \
test/Makefile.in
OBJECTS = test/test_erl_node_pingpong.beam
DISTFILES = $(SOURCES) $(TESTPROGRAMS) COPYING.LIB README \
py_interface/__init__.py py_interface/__init__.py.src \
vsn \
PKG-INFO PKG-INFO.src setup.py setup.py.src \
Makefile.in configure configure.in \
mkinstalldirs install-sh ChangeLog
SHELL = /bin/sh
#.PHONY: all clean dist distclean install \
# installdirs ps uninstall
.SUFFIXES: .beam .erl .py
all: py_interface/__init__.py setup.py PKG-INFO
py_interface/__init__.py: py_interface/__init__.py.src
version=`$(cat) vsn`; \
$(sed) -e "s/@VSN@/$$version/g" \
< py_interface/__init__.py.src \
> py_interface/__init__.py
setup.py: setup.py.src
version=`$(cat) vsn`; \
$(sed) -e "s/@VSN@/$$version/g" > setup.py < setup.py.src && \
$(chmod) +x setup.py
PKG-INFO: PKG-INFO.src
version=`$(cat) vsn`; \
$(sed) -e "s/@VSN@/$$version/g" > PKG-INFO < PKG-INFO.src
install: all installdirs
# Make sure all installation directories actually exist
# by making them if necessary.
installdirs: mkinstalldirs
# $(srcdir)/mkinstalldirs $(pythondir)
uninstall:
# -cd $(pythondir) && rm -f $(SOURCES) $(OBJECTS)
TAGS: $(SOURCES)
cd $(srcdir) && etags $(SOURCES)
clean:
$(RM) $(OBJECTS)
-$(RM) *.aux *.cp *.cps *.fn *.ky *.log *.pg *.toc *.tp *.vr
-$(RM) *.html
$(RM) TAGS
$(RM) erl_crash.dump
$(RM) *.beam
$(RM) py_interface/__init__.py setup.py PKG-INFO
find . -name \*.pyc -print0 | xargs -0 --no-run-if-empty $(RM)
find . -name \*.pyo -print0 | xargs -0 --no-run-if-empty $(RM)
$(MAKE) -C test $@
distclean: clean
-$(RM) *~ *.tar.gz
$(RM) Makefile config.status config.cache config.log
${srcdir}/configure: configure.in
cd ${srcdir} && autoconf
Makefile: Makefile.in config.status
./config.status
config.status: ${srcdir}/configure
./config.status --recheck
dist: $(DISTFILES)
version=`$(cat) vsn`; \
distname=py_interface-$$version; \
$(rm) -rf $$distname; \
$(mkdir) $$distname; \
for file in $(DISTFILES); do \
d="`dirname $$file`"; \
[ -d "$$distname/$$d" ] || mkdir -p "$$distname/$$d"; \
$(ln) $$file $$distname/$$file; \
done; \
$(tar) -chz -f $$distname.tar.gz $$distname; \
/bin/rm -f $$distname.tgz; ln $$distname.tar.gz $$distname.tgz; \
$(rm) -rf $$distname
.PHONY: test
test: all
$(MAKE) -C test $@