Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/socket_tests/lib/Makefile')
-rw-r--r--winsup/cygwin/socket_tests/lib/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/winsup/cygwin/socket_tests/lib/Makefile b/winsup/cygwin/socket_tests/lib/Makefile
new file mode 100644
index 000000000..a94e4b53b
--- /dev/null
+++ b/winsup/cygwin/socket_tests/lib/Makefile
@@ -0,0 +1,31 @@
+include ../Makefile.inc
+
+AF_UNIX_LIB = ../libafunix.a
+
+all: ${AF_UNIX_LIB}
+
+${AF_UNIX_LIB}: *.c *.h ename.c.inc
+ ${CC} -c ${CFLAGS} *.c
+ ${RM} ${AF_UNIX_LIB}
+ ${AR} rs ${AF_UNIX_LIB} *.o
+
+ename.c.inc:
+ sh Build_ename.sh > ename.c.inc
+ echo 1>&2 "ename.c.inc built"
+
+*.o: af_unix_hdr.h
+
+error_functions.o: error_functions.h
+
+scm_functions.o: scm_functions.h
+
+unix_sockets.o: unix_sockets.h
+
+inet_sockets.o: inet_sockets.h
+
+read_line.o: read_line.h
+
+get_num.o: get_num.h
+
+clean:
+ ${RM} *.o ename.c.inc ${AF_UNIX_LIB}