-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
38 lines (30 loc) · 965 Bytes
/
Makefile.am
File metadata and controls
38 lines (30 loc) · 965 Bytes
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
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS = -Isrc -I$(abs_srcdir)/src -Iinterface -I$(abs_srcdir)/interface -fPIC -O3
AUTOMAKE_OPTIONS = gnu
NAME = libei
# if HAVE_ERLANG
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = ei.pc
library_includedir = $(prefix)/include/ei
library_include_HEADERS =
#library_include_HEADERS = include/ei.h \
#include/ei_connect.h \
#include/eicode.h
install-exec-am:
@mkdir -p $(DESTDIR)/$(bindir)
@mkdir -p $(DESTDIR)/$(libdir)
@mkdir -p $(DESTDIR)/$(includedir)/ei
@install `which epmd` $(DESTDIR)$(bindir)/epmd
@install $(ERLANG_LIBDIR)/libei.a $(DESTDIR)$(libdir)
@install $(ERLANG_LIBDIR)/libei_st.a $(DESTDIR)$(libdir)
@install $(ERLANG_INCLUDE)/ei.h $(DESTDIR)$(includedir)/ei
@install $(ERLANG_INCLUDE)/ei_connect.h $(DESTDIR)$(includedir)/ei
@install $(ERLANG_INCLUDE)/eicode.h $(DESTDIR)$(includedir)/ei
# else
#
#install: error
#all: error
#error:
# $(error You must install erlang to build this module)
#
#endif