diff options
Diffstat (limited to 'modules/pam_radius')
-rw-r--r-- | modules/pam_radius/Makefile | 12 | ||||
-rw-r--r-- | modules/pam_radius/pam_radius.h | 6 |
2 files changed, 8 insertions, 10 deletions
diff --git a/modules/pam_radius/Makefile b/modules/pam_radius/Makefile index a74b911f..aa149d3e 100644 --- a/modules/pam_radius/Makefile +++ b/modules/pam_radius/Makefile @@ -8,13 +8,15 @@ # STATIC modules are not supported # +include ../../Make.Rules + TITLE=pam_radius CONFD=$(CONFIGED)/security export CONFD CONFILE=$(CONFD)/radius.conf export CONFILE -ifeq ($(HAVE_PWDBLIB),yes) +ifeq ($(HAVE_LIBPWDB),yes) # @@ -41,11 +43,6 @@ endif ####################### don't edit below ####################### -dummy: - - @echo "**** This is not a top-level Makefile " - exit - all: dirs $(LIBSHARED) $(LIBSTATIC) register dirs: @@ -85,9 +82,8 @@ remove: clean: rm -f $(LIBOBJD) $(LIBOBJS) core *~ - -extraclean: clean rm -f *.a *.o *.so *.bak dynamic/* static/* + rm -rf dynamic static .c.o: $(CC) $(CFLAGS) -c $< diff --git a/modules/pam_radius/pam_radius.h b/modules/pam_radius/pam_radius.h index 1f860eb5..8cee7ff1 100644 --- a/modules/pam_radius/pam_radius.h +++ b/modules/pam_radius/pam_radius.h @@ -1,9 +1,11 @@ +/* + * $Id$ + */ #ifndef PAM_RADIUS_H #define PAM_RADIUS_H -#define _GNU_SOURCE -#include <features.h> +#include <security/_pam_aconf.h> #include <stdio.h> |