diff options
author | Ryan Bloom <rbb@apache.org> | 1999-08-17 15:59:33 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 1999-08-17 15:59:33 +0000 |
commit | cc3fca20f700829592add524e705d525fca287f2 (patch) | |
tree | a54b0555bf7862582241f3bc69c81ebf035948f8 /network_io/os2/Makefile.in | |
parent | 786b1843ae972ad908a9c4f2c1dd471439e6d63d (diff) | |
download | apr-cc3fca20f700829592add524e705d525fca287f2.tar.gz |
Initial revision
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59151 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io/os2/Makefile.in')
-rw-r--r-- | network_io/os2/Makefile.in | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/network_io/os2/Makefile.in b/network_io/os2/Makefile.in new file mode 100644 index 000000000..05dc0b630 --- /dev/null +++ b/network_io/os2/Makefile.in @@ -0,0 +1,67 @@ +#CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS) +#LIBS=$(EXTRA_LIBS) $(LIBS1) +#INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES) +#LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS) + +CC=@CC@ +RANLIB=@RANLIB@ +CFLAGS=@CFLAGS@ @OPTIM@ +LIBS=@LIBS@ +LDFLAGS=@LDFLAGS@ $(LIBS) +INCDIR=../../inc +INCDIR1=../../include +INCLUDES=-I$(INCDIR) -I$(INCDIR1) -I. + +LIB=../network.a + +OBJS=poll.o \ + sendrecv.o \ + sockets.o \ + sockopt.o \ + +.c.o: + $(CC) $(CFLAGS) -c $(INCLUDES) $< + +all: $(LIB) + +clean: + $(RM) -f *.o *.a *.so + +distclean: clean + -$(RM) -f Makefile + +$(OBJS): 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.tmpl. 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 +poll.o: poll.c ../../include/apr_network_io.h \ + ../../include/apr_general.h ../../include/apr_errno.h \ + networkio.h +sendrecv.o: sendrecv.c ../../include/apr_errno.h \ + ../../include/apr_general.h ../../include/apr_network_io.h \ + networkio.h +sockets.o: sockets.c ../../include/apr_network_io.h \ + ../../include/apr_general.h ../../include/apr_errno.h \ + networkio.h $(INCDIR)/apr_lib.h $(INCDIR)/apr_config.h \ + $(INCDIR)/hsregex.h +sockopt.o: sockopt.c ../../include/apr_network_io.h \ + ../../include/apr_general.h ../../include/apr_errno.h \ + networkio.h |