-
Notifications
You must be signed in to change notification settings - Fork 192
/
Makefile.am
71 lines (61 loc) · 1.65 KB
/
Makefile.am
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
# The goal of -Wno-syntax here is just to suppress the Automake warning
# about overriding distdir, below.
AUTOMAKE_OPTIONS = foreign -Wno-syntax subdir-objects
ACLOCAL_AMFLAGS = -I m4
#SUBDIRS = datapath
SUBDIRS =
if HAVE_DPKG_BUILDPACKAGE
distcheck-hook:
cd $(srcdir) && dpkg-buildpackage -rfakeroot -us -uc
cd $(srcdir) && fakeroot ./debian/rules clean
else
distcheck-hook:
endif
AM_CPPFLAGS = $(SSL_CFLAGS) -g
AM_CPPFLAGS += -I $(top_srcdir)/include
AM_CPPFLAGS += -I $(top_srcdir)/lib
AM_CFLAGS = -Wstrict-prototypes -Werror
if NDEBUG
AM_CPPFLAGS += -DNDEBUG
AM_CFLAGS += -fomit-frame-pointer
else
AM_LDFLAGS = -export-dynamic
endif
CLEANFILES =
DISTCLEANFILES =
EXTRA_DIST =
TESTS =
TESTS_ENVIRONMENT =
bin_PROGRAMS =
bin_SCRIPTS =
#dist_commands_DATA =
dist_man_MANS =
dist_pkgdata_SCRIPTS =
dist_sbin_SCRIPTS =
man_MANS =
noinst_HEADERS =
noinst_LIBRARIES =
noinst_PROGRAMS =
noinst_SCRIPTS =
EXTRA_DIST += README.hwtables soexpand.pl regress
ro_c = echo '/* -*- mode: c; buffer-read-only: t -*- */'
SUFFIXES = .in
.in:
$(PERL) $(srcdir)/soexpand.pl -I$(srcdir) < $< | \
sed -e 's,[@]LOGDIR[@],$(LOGDIR),g' \
-e 's,[@]PKIDIR[@],$(PKIDIR),g' \
-e 's,[@]RUNDIR[@],$(RUNDIR),g' \
-e 's,[@]pkgdatadir[@],$(pkgdatadir),g' \
-e 's,[@]PERL[@],$(PERL),g' > $@
include lib/automake.mk
include nbee_link/automake.mk
include oflib/automake.mk
include oflib-exp/automake.mk
include secchan/automake.mk
include utilities/automake.mk
include udatapath/automake.mk
include include/automake.mk
include debian/automake.mk
netpdldir = $(datadir)/openflow
netpdl_DATA = customnetpdl.xml
AM_CPPFLAGS += -DNETPDLDIR='"$(netpdldir)"'