diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2005-08-16 12:27:38 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2005-08-16 12:27:38 +0000 |
commit | 23624ea6f78ec8acc167a2491c00998907fc76b1 (patch) | |
tree | a57b3caee23a167d442d7d4e0419c4689dfba565 /examples/Makefile | |
parent | 2b5457bbf7352200f7bc77795adbbcfd47550855 (diff) | |
download | pam-23624ea6f78ec8acc167a2491c00998907fc76b1.tar.gz pam-23624ea6f78ec8acc167a2491c00998907fc76b1.tar.bz2 pam-23624ea6f78ec8acc167a2491c00998907fc76b1.zip |
Relevant BUGIDs: none
Purpose of commit: new feature
Commit summary:
---------------
Big "automake/autoconf/libtool" commit
Diffstat (limited to 'examples/Makefile')
-rw-r--r-- | examples/Makefile | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/examples/Makefile b/examples/Makefile deleted file mode 100644 index 7cabccaa..00000000 --- a/examples/Makefile +++ /dev/null @@ -1,54 +0,0 @@ -# -# $Id$ -# - -include ../Make.Rules - -PROGS = blank xsh check_user -SRCS = blank.c xsh.c check_user.c -PROGSUID = - -ifeq ($(WITH_LIBDEBUG),yes) - LIBSUFFIX=d -else - LIBSUFFIX= -endif - -CFLAGS += -I$(absolute_srcdir)/libpam_misc/include - -LOADLIBES = -L$(absolute_objdir)/libpam -L$(absolute_objdir)/libpamc \ - -L$(absolute_objdir)/libpam_misc -lpam -lpam_misc - -ifeq ($(STATIC_LIBPAM),yes) - ifneq ($(DYNAMIC),) - CFLAGS += $(CC_STATIC) - LOADLIBES += $(LIBDL) - endif -endif - -all: $(PROGS) - -check_user: check_user.o - $(CC) $(CFLAGS) -o $@ $< $(LOADLIBES) - -blank: blank.o - $(CC) $(CFLAGS) -o $@ $< $(LOADLIBES) - -xsh: xsh.o - $(CC) $(CFLAGS) -o $@ $< $(LOADLIBES) - -clean: - rm -f *.a *.so *.o *~ $(PROGS) $(PROGSUID) - rm -f *.a *.out *.o *.so - -# note, the programs are test programs, they should not be -# installed on your system! - -install: all - if [ -n "$(PROGS)" ]; then cp $(PROGS) ../bin ; fi - if [ -n "$(PROGSUID)" ]; then \ - $(INSTALL) -m 4555 $(PROGSUID) ../bin ; fi - -remove: - cd ../bin ; rm -f $(PROGS) $(PROGSUID) - for x in $(PROGS) $(PROGSUID) ; do rm -f ../bin/$$x ; done |