diff options
-rw-r--r-- | configure.in | 4 | ||||
-rw-r--r-- | passwd/.cvsignore | 1 | ||||
-rw-r--r-- | passwd/Makefile.in | 63 |
3 files changed, 66 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 6f4f8247c..fe91e8fc3 100644 --- a/configure.in +++ b/configure.in @@ -682,8 +682,8 @@ AC_SUBST(LIBPREFIX) AC_SUBST(EXEEXT) echo "Construct Makefiles and header files." -MAKEFILE1="Makefile lib/Makefile strings/Makefile" -SUBDIRS="lib strings " +MAKEFILE1="Makefile lib/Makefile strings/Makefile passwd/Makefile" +SUBDIRS="lib strings passwd " for dir in $MODULES do test -d $dir || $MKDIR -p $dir diff --git a/passwd/.cvsignore b/passwd/.cvsignore new file mode 100644 index 000000000..f3c7a7c5d --- /dev/null +++ b/passwd/.cvsignore @@ -0,0 +1 @@ +Makefile diff --git a/passwd/Makefile.in b/passwd/Makefile.in new file mode 100644 index 000000000..025f5ca2b --- /dev/null +++ b/passwd/Makefile.in @@ -0,0 +1,63 @@ +#CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS) +#LIBS=$(EXTRA_LIBS) $(LIBS1) +#INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES) +#LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS) + +CC=@CC@ +RANLIB=@RANLIB@ +AR=@AR@ +RM=@RM@ +CFLAGS=@CFLAGS@ @OPTIM@ +LIBS=@LIBS@ +LDFLAGS=@LDFLAGS@ $(LIBS) +INCDIR=../include +INCDIR1=../misc/@OSDIR@ +INCLUDES=-I$(INCDIR) -I$(INCDIR1) -I../misc/unix + +#LIB=@LIBPREFIX@apr.a + +OBJS=apr_md5.o \ + apr_getpass.o + +.c.o: + $(CC) $(CFLAGS) -c $(INCLUDES) $< + +all: $(OBJS) + +clean: + $(RM) -f *.o *.a *.so + +distclean: clean + -$(RM) -f Makefile + + +#$(LIB): $(OBJS) +# $(RM) -f $@ +# $(AR) cr $@ $(OBJS) +# $(RANLIB) $@ + +# +# We really don't expect end users to use this rule. It works only with +# gcc, and rebuilds Makefile.in. You have to re-run configure after +# using it. +# +depend: + cp Makefile.in Makefile.in.bak \ + && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.in > Makefile.new \ + && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \ + && sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' \ + -e '1,$$s: $(OSDIR)/: $$(OSDIR)/:g' Makefile.new \ + > Makefile.in \ + && rm Makefile.new + +# DO NOT REMOVE +apr_getpass.o: apr_getpass.c $(INCDIR)/apr_private.h \ + $(INCDIR)/apr_strings.h $(INCDIR)/apr.h $(INCDIR)/apr_lib.h \ + $(INCDIR)/apr_pools.h $(INCDIR)/apr_thread_proc.h \ + $(INCDIR)/apr_file_io.h $(INCDIR)/apr_general.h \ + $(INCDIR)/apr_errno.h $(INCDIR)/apr_time.h $(INCDIR)/apr_tables.h +apr_md5.o: apr_md5.c $(INCDIR)/apr_private.h $(INCDIR)/apr_strings.h \ + $(INCDIR)/apr.h $(INCDIR)/apr_lib.h $(INCDIR)/apr_pools.h \ + $(INCDIR)/apr_thread_proc.h $(INCDIR)/apr_file_io.h \ + $(INCDIR)/apr_general.h $(INCDIR)/apr_errno.h $(INCDIR)/apr_time.h \ + $(INCDIR)/apr_tables.h $(INCDIR)/apr_md5.h $(INCDIR)/apr_xlate.h |