Merge in Windows port using mingw and make.

This commit is contained in:
Russ Cox
2005-10-31 15:30:23 +00:00
parent d920d42c8b
commit 5d6ebf7a53
56 changed files with 730 additions and 978 deletions

View File

@ -1,15 +1,14 @@
ROOT=..
include ../Make.config
LIB=libexportfs.a
CC=gcc
CFLAGS=-I../include -I. -I.. -c -ggdb -D_THREAD_SAFE -pthread
O=o
OFILES=\
exportfs.$O\
exportsrv.$O
$(LIB): $(OFILES)
ar r $(LIB) $(OFILES)
ranlib $(LIB)
$(AR) r $(LIB) $(OFILES)
$(RANLIB) $(LIB)
%.$O: %.c
$(CC) $(CFLAGS) $*.c

View File

@ -1,11 +0,0 @@
<$DSRC/mkfile-$CONF
TARG=libexportfs.$L
OFILES=\
exportfs.$O\
exportsrv.$O
HFILES=\
exportfs.h
<$DSRC/mklib-$CONF