diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-07-24 22:44:02 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-07-24 22:44:02 +0000 |
commit | c8a2adaab9ac859eb3b09dca485b3f44bb6e2ec4 (patch) | |
tree | 8e62a94d6b094d66458a53d975959ef4b543f684 /passwd | |
parent | 2846b620f566f7a71b3ad41fd1be863566a15d68 (diff) | |
download | libapr-c8a2adaab9ac859eb3b09dca485b3f44bb6e2ec4.tar.gz |
Enable the passwd directory to be built by APR.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60440 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'passwd')
-rw-r--r-- | passwd/.cvsignore | 1 | ||||
-rw-r--r-- | passwd/Makefile.in | 63 |
2 files changed, 64 insertions, 0 deletions
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 |