From dac9c14c358c6d8948a51b473003049651c4f23b Mon Sep 17 00:00:00 2001 From: aland Date: Wed, 28 Jan 2004 15:38:40 +0000 Subject: [PATCH] A slightly different way to build radeapclient, which makes sure the "make clean" works, too --- src/modules/rlm_eap/Makefile.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/rlm_eap/Makefile.in b/src/modules/rlm_eap/Makefile.in index c817210..7ce0fe0 100644 --- a/src/modules/rlm_eap/Makefile.in +++ b/src/modules/rlm_eap/Makefile.in @@ -7,7 +7,9 @@ RLM_LIBS = -Llibeap -leap #RLM_LIBS = $(shell for x in types/rlm_eap*/rlm_eap*.la;do echo -dlpreopen $$x;done) RLM_INSTALL = install-types RLM_SUBDIRS = libeap @eaptypes@ +RLM_UTILS = radeapclient +.PHONY: all install-types common $(STATIC_OBJS): $(HEADERS) @@ -24,15 +26,13 @@ all: @$(MAKE) $(MFLAGS) radeapclient radeapclient: radeapclient.o ../../lib/libradius.a + (cd libeap && $(MAKE) $(MFLAGS) $(WHAT_TO_MAKE)) || exit 1 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) ${RLM_CFLAGS} $(LDFLAGS) -o radeapclient radeapclient.o $(CLIENTLIBS) $(LIBS) $(LCRYPT) radeapclient.o: radeapclient.c $(INCLUDES) $(CC) $(CFLAGS) ${RLM_CFLAGS} -c radeapclient.c -allclean: - @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=clean common - -install-types: radeapclient +install-types: @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=install common $(INSTALL) -m 755 radeapclient $(R)$(bindir) -- 2.1.4