aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-02-01 17:09:13 +0000
committerMichael Mann <mmann78@netscape.net>2016-02-03 00:07:42 +0000
commit59b5609624db8214b8e8f4b749ad3af03e9573fa (patch)
tree61cf46355e7c489c38dcaa3e2e5e5060a13f7f3e /tools
parentdfc9f0b03815ffb28d9f6b5ccfa6cf7fe5f4ad8a (diff)
lemon: Use automake rules
Change-Id: I5110e3781682e003cc4e60a592694dc9e8930456 Reviewed-on: https://code.wireshark.org/review/13641 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/lemon/Makefile.am18
1 files changed, 14 insertions, 4 deletions
diff --git a/tools/lemon/Makefile.am b/tools/lemon/Makefile.am
index 0f2be55d53..0cafe51167 100644
--- a/tools/lemon/Makefile.am
+++ b/tools/lemon/Makefile.am
@@ -23,21 +23,32 @@
# is an archive library, any executable linking against libwireshark will
# also need to link against libftypes.
+CC = $(CC_FOR_BUILD)
+
if HAVE_WARNINGS_AS_ERRORS
CFLAGS_FOR_BUILD += -Werror
endif
+LIBS =
+
noinst_PROGRAMS = lemon
+lemon_SOURCES = lemon.c
+
+lemon_CPPFLAGS =
+
+lemon_CFLAGS = $(CFLAGS_FOR_BUILD)
+
+lemon_LDFLAGS = $(LDFLAGS_FOR_BUILD)
+
+lemon_LDADD =
+
CLEANFILES = \
*~
MAINTAINERCLEANFILES = \
Makefile.in
-lemon$(EXEEXT): lemon.c
- $(CC_FOR_BUILD) -I$(top_builddir) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $?
-
EXTRA_DIST = \
cppmagic.h \
lemon.html \
@@ -47,4 +58,3 @@ EXTRA_DIST = \
Makefile.nmake \
README \
CMakeLists.txt
-