
## Use: nmake -f makefile.msc install

# Nothing much configurable below

TOPDIR = .\..\..
srcdir = $(TOPDIR)\..\common\utils
!INCLUDE $(TOPDIR)\..\NT\rules.msc
all: all-msc
check: check-msc
install: install-msc
CFLAGS=$(CFLAGS) $(thread_safe_flag_spec)
INCLUDES = -I$(srcdir) $(openssl_CFLAGS)
libmcrypt_OBJS = mcrypt.obj
libmcrypt_DEPS = $(libmcrypt_OBJS)
libmcrypt.lib: $(libmcrypt_DEPS)
	$(ARCHIVER) /out:"libmcrypt.lib" $(libmcrypt_OBJS) $(libmcrypt_LIBS)

muuid.obj: "$(srcdir)\muuid.c" "$(srcdir)\muuid.h"
	$(CC) $(CFLAGS) $(muuid_CFLAGS) $(GENDLL) -D_CRT_SECURE_NO_WARNINGS -DLIBMUUID -Fo"muuid.obj" -c "$(srcdir)\muuid.c"
mutils.obj: "$(srcdir)\mutils.c" "$(srcdir)\mutils.h" "$(srcdir)\s_nextafterf.c"
	$(CC) $(CFLAGS) $(mutils_CFLAGS) $(GENDLL) -D_CRT_SECURE_NO_WARNINGS -DLIBMUTILS -Fo"mutils.obj" -c "$(srcdir)\mutils.c"
mcrypt.obj: "$(srcdir)\mcrypt.c" "$(srcdir)\mcrypt.h"
	$(CC) $(CFLAGS) $(mcrypt_CFLAGS) $(GENDLL) -D_CRT_SECURE_NO_WARNINGS -DLIBMCRYPT -Fo"mcrypt.obj" -c "$(srcdir)\mcrypt.c"
prompt.obj: "$(srcdir)\prompt.c" "$(srcdir)\mprompt.h"
	$(CC) $(CFLAGS) $(prompt_CFLAGS) $(GENDLL) -D_CRT_SECURE_NO_WARNINGS -DLIBMUTILS -Fo"prompt.obj" -c "$(srcdir)\prompt.c"
libmutils_OBJS = mutils.obj prompt.obj
libmutils_DEPS = $(libmutils_OBJS)
libmutils.lib: $(libmutils_DEPS)
	$(ARCHIVER) /out:"libmutils.lib" $(libmutils_OBJS) $(libmutils_LIBS)

libmuuid_OBJS = muuid.obj
libmuuid_DEPS = $(libmuuid_OBJS)
libmuuid.lib: $(libmuuid_DEPS)
	$(ARCHIVER) /out:"libmuuid.lib" $(libmuuid_OBJS) $(libmuuid_LIBS)

all-msc: "libmcrypt.lib" "libmutils.lib" "libmuuid.lib"
check-msc: all-msc
install-msc: install-exec install-data
install-exec:  
install-data:
