
## Use: nmake -f makefile.msc install

# Nothing much configurable below

TOPDIR = .\..\..
srcdir = $(TOPDIR)\..\sql\common
!INCLUDE $(TOPDIR)\..\NT\rules.msc
all: all-msc
check: check-msc
install: install-msc
INCLUDES = -I$(srcdir) "-I.." -I$(srcdir)\.. "-I..\include" -I$(srcdir)\..\include "-I..\storage" -I$(srcdir)\..\storage "-I..\..\common\options" -I$(srcdir)\..\..\common\options "-I..\..\common\stream" -I$(srcdir)\..\..\common\stream "-I..\..\mal\mal" -I$(srcdir)\..\..\mal\mal "-I..\..\gdk" -I$(srcdir)\..\..\gdk
libsqlcommon_OBJS = sql_mem.obj sql_list.obj sql_hash.obj sql_stack.obj sql_backend.obj sql_keyword.obj sql_changeset.obj sql_types.obj sql_string.obj
libsqlcommon_DEPS = $(libsqlcommon_OBJS)
libsqlcommon.lib: $(libsqlcommon_DEPS)
	$(ARCHIVER) /out:"libsqlcommon.lib" $(libsqlcommon_OBJS) $(libsqlcommon_LIBS)

sql_mem.obj: "$(srcdir)\sql_mem.c" "$(srcdir)\..\include\sql_mem.h"
	$(CC) $(CFLAGS) $(sql_mem_CFLAGS) $(GENDLL) -D_CRT_SECURE_NO_WARNINGS -DLIBSQLCOMMON -Fo"sql_mem.obj" -c "$(srcdir)\sql_mem.c"
sql_stack.obj: "$(srcdir)\sql_stack.c" "$(srcdir)\..\include\sql_stack.h"
	$(CC) $(CFLAGS) $(sql_stack_CFLAGS) $(GENDLL) -D_CRT_SECURE_NO_WARNINGS -DLIBSQLCOMMON -Fo"sql_stack.obj" -c "$(srcdir)\sql_stack.c"
sql_hash.obj: "$(srcdir)\sql_hash.c" "$(srcdir)\..\include\sql_mem.h" "$(srcdir)\..\include\sql_hash.h"
	$(CC) $(CFLAGS) $(sql_hash_CFLAGS) $(GENDLL) -D_CRT_SECURE_NO_WARNINGS -DLIBSQLCOMMON -Fo"sql_hash.obj" -c "$(srcdir)\sql_hash.c"
sql_types.obj: "$(srcdir)\sql_types.c" "$(srcdir)\sql_types.h" "$(srcdir)\..\include\sql_mem.h" "$(srcdir)\..\include\sql_list.h" "$(srcdir)\sql_string.h" "$(srcdir)\..\include\sql_catalog.h" "$(srcdir)\..\storage\sql_storage.h" "$(srcdir)\..\..\common\stream\stream.h" "$(srcdir)\..\include\sql_keyword.h" "$(srcdir)\..\..\mal\mal\..\..\gdk\gdk.h" "$(srcdir)\..\..\mal\mal\..\..\gdk\gdk_system.h" "$(srcdir)\..\..\mal\mal\..\..\gdk\gdk_atomic.h" "$(srcdir)\..\..\mal\mal\..\..\gdk\gdk_posix.h" "$(srcdir)\..\..\mal\mal\..\..\common\stream\stream.h" "$(srcdir)\..\..\mal\mal\..\..\gdk\gdk_delta.h" "$(srcdir)\..\..\mal\mal\..\..\gdk\gdk_hash.h" "$(srcdir)\..\..\mal\mal\..\..\gdk\gdk_atoms.h" "$(srcdir)\..\..\mal\mal\..\..\gdk\gdk_bbp.h" "$(srcdir)\..\..\mal\mal\..\..\gdk\gdk_utils.h" "$(srcdir)\..\..\mal\mal\..\..\common\options\monet_options.h" "$(srcdir)\..\..\mal\mal\..\..\gdk\gdk_calc.h" "$(srcdir)\..\..\mal\mal\mal.h"
	$(CC) $(CFLAGS) $(sql_types_CFLAGS) $(GENDLL) -D_CRT_SECURE_NO_WARNINGS -DLIBSQLCOMMON -Fo"sql_types.obj" -c "$(srcdir)\sql_types.c"
sql_changeset.obj: "$(srcdir)\sql_changeset.c" "$(srcdir)\..\include\sql_catalog.h"
	$(CC) $(CFLAGS) $(sql_changeset_CFLAGS) $(GENDLL) -D_CRT_SECURE_NO_WARNINGS -DLIBSQLCOMMON -Fo"sql_changeset.obj" -c "$(srcdir)\sql_changeset.c"
sql_backend.obj: "$(srcdir)\sql_backend.c" "$(srcdir)\sql_backend.h" "$(srcdir)\..\include\sql_mem.h" "$(srcdir)\..\include\sql_catalog.h" "$(srcdir)\..\include\sql_relation.h" "$(srcdir)\sql_types.h" "$(srcdir)\..\include\sql_list.h" "$(srcdir)\sql_string.h" "$(srcdir)\..\storage\sql_storage.h" "$(srcdir)\..\..\common\stream\stream.h"
	$(CC) $(CFLAGS) $(sql_backend_CFLAGS) $(GENDLL) -D_CRT_SECURE_NO_WARNINGS -DLIBSQLCOMMON -Fo"sql_backend.obj" -c "$(srcdir)\sql_backend.c"
sql_keyword.obj: "$(srcdir)\sql_keyword.c" "$(srcdir)\..\include\sql_mem.h" "$(srcdir)\sql_string.h" "$(srcdir)\..\include\sql_keyword.h"
	$(CC) $(CFLAGS) $(sql_keyword_CFLAGS) $(GENDLL) -D_CRT_SECURE_NO_WARNINGS -DLIBSQLCOMMON -Fo"sql_keyword.obj" -c "$(srcdir)\sql_keyword.c"
sql_list.obj: "$(srcdir)\sql_list.c" "$(srcdir)\..\..\gdk\gdk_system.h" "$(srcdir)\..\..\gdk\gdk_atomic.h" "$(srcdir)\..\..\gdk\gdk_posix.h" "$(srcdir)\..\..\gdk\..\common\stream\stream.h" "$(srcdir)\..\..\gdk\gdk_delta.h" "$(srcdir)\..\..\gdk\gdk_hash.h" "$(srcdir)\..\..\gdk\gdk_atoms.h" "$(srcdir)\..\..\gdk\gdk_bbp.h" "$(srcdir)\..\..\gdk\gdk_utils.h" "$(srcdir)\..\..\gdk\..\common\options\monet_options.h" "$(srcdir)\..\..\gdk\gdk_calc.h" "$(srcdir)\..\..\gdk\gdk.h" "$(srcdir)\..\include\sql_list.h"
	$(CC) $(CFLAGS) $(sql_list_CFLAGS) $(GENDLL) -D_CRT_SECURE_NO_WARNINGS -DLIBSQLCOMMON -Fo"sql_list.obj" -c "$(srcdir)\sql_list.c"
sql_string.obj: "$(srcdir)\sql_string.c" "$(srcdir)\..\include\sql_mem.h" "$(srcdir)\..\..\gdk\gdk_system.h" "$(srcdir)\..\..\gdk\gdk_atomic.h" "$(srcdir)\..\..\gdk\gdk_posix.h" "$(srcdir)\..\..\gdk\..\common\stream\stream.h" "$(srcdir)\..\..\gdk\gdk_delta.h" "$(srcdir)\..\..\gdk\gdk_hash.h" "$(srcdir)\..\..\gdk\gdk_atoms.h" "$(srcdir)\..\..\gdk\gdk_bbp.h" "$(srcdir)\..\..\gdk\gdk_utils.h" "$(srcdir)\..\..\gdk\..\common\options\monet_options.h" "$(srcdir)\..\..\gdk\gdk_calc.h" "$(srcdir)\..\..\gdk\gdk.h" "$(srcdir)\sql_string.h"
	$(CC) $(CFLAGS) $(sql_string_CFLAGS) $(GENDLL) -D_CRT_SECURE_NO_WARNINGS -DLIBSQLCOMMON -Fo"sql_string.obj" -c "$(srcdir)\sql_string.c"
all-msc: "libsqlcommon.lib"
check-msc: all-msc
install-msc: install-exec install-data
install-exec:  
install-data:
