campo-sirio/xi/makefile.nt
alex ebabab8c26 This commit was generated by cvs2svn to compensate for changes in r5761,
which included commits to RCS files with non-trunk default branches.

git-svn-id: svn://10.65.10.50/trunk@5762 c028cbd2-c16b-5b4b-a496-9718f37d4682
1997-12-17 12:57:49 +00:00

139 lines
3.1 KiB
Plaintext
Executable File

##################################################################
#
# Makefile for XVT/NT 4.00 Examples
# Orca Software distributes these makefiles for convenience. Having a
# makefile for a particular platform does not imply that you have a
# license to use the source code on that platform. Before using the
# source code on any given platform, make sure that you have purchased
# the appropriate license.
#
##################################################################
!IFNDEF APP_DEBUG
APP_DEBUG = FALSE
!ENDIF
# File pathnames
XVT_DIR = $(XVT_PTK_DIR)
XVT_INCDIR = $(XVT_DIR)\include
XVT_LIBDIR = $(XVT_DIR)\lib
XVT_BINDIR = $(XVT_DIR)\bin
XN_API_LIB =$(XVT_LIBDIR)\xvtnmapi.lib
XN_HBND_LIB =$(XVT_LIBDIR)\xvtnmhb.lib
XN_HIPC_LIB =$(XVT_LIBDIR)\xvtnmhi.lib
XN_HNAT_LIB =$(XVT_LIBDIR)\xvtnmhn.lib
XI_DIR = \XI
XI_INCDIR = $(XI_DIR)\include
##########################################################################
#
# Compiler/library/linker flags
#
!include <ntwin32.mak>
!IF "$(APP_DEBUG)" == "TRUE"
C_FLAGS_DEBUG = $(cdebug) -DDEBUG
L_FLAGS_DEBUG = $(ldebug)
!ELSE
C_FLAGS_DEBUG =
L_FLAGS_DEBUG =
!ENDIF
C_FLAGS = -I. -I$(XVT_INCDIR) -I$(XI_INCDIR) -DSTRICT -DXI_USE_XVT -DXI_R4_API $(cflags) $(cvarsmt) $(C_FLAGS_DEBUG)
L_FLAGS = $(guiflags) $(L_FLAGS_DEBUG)
L_LIBS = $(XN_API_LIB) $(guilibsmt)
L_HELP_LIBS = $(XN_HBND_LIB)
# L_HELP_LIBS = $(XN_HIPC_LIB)
# L_HELP_LIBS = $(XN_HNAT_LIB)
#####################################################################
#
# Suffix rules
#
.SUFFIXES: .rc .url
.c.obj:
$(CC) $(C_FLAGS) $*.c
.url.rc:
$(XVT_BINDIR)\curl -r rcnt -s -I$(XVT_INCDIR) -DLIBDIR=$(XVT_LIBDIR) $*.url
.url.res:
$(XVT_BINDIR)\curl -r rcnt -s -I$(XVT_INCDIR) -DLIBDIR=$(XVT_LIBDIR) $*.url
rc -r -fo $*.res $*.rc
.rc.res:
rc -r -fo $*.res $*.rc
XILIB = $(XI_DIR)\lib\mxin.lib
OBJS = xilm.obj xilm2.obj xilm3.obj xiutils.obj xitext.obj xistx.obj xitree.obj xiheap.obj xi.obj xi2.obj xicf.obj xidbg.obj xilmst.obj xiport.obj xierr.obj xibitmap.obj
SRC = ..
###########################################################################
#
# Targets
#
###########################################################################
$(XILIB): $(OBJS)
del $(XILIB)
lib /OUT:$(XILIB) $(OBJS)
xiutils.obj: $(SRC)\xiutils.c
cl $(C_FLAGS) $(SRC)\$*.c
xitext.obj: $(SRC)\xitext.c
cl $(C_FLAGS) $(SRC)\$*.c
xistx.obj: $(SRC)\xistx.c
cl $(C_FLAGS) $(SRC)\$*.c
xilm.obj: $(SRC)\xilm.c
cl $(C_FLAGS) $(SRC)\$*.c
xilm2.obj: $(SRC)\xilm2.c
cl $(C_FLAGS) $(SRC)\$*.c
xilm3.obj: $(SRC)\xilm3.c
cl $(C_FLAGS) $(SRC)\$*.c
xitree.obj: $(SRC)\xitree.c
cl $(C_FLAGS) $(SRC)\$*.c
xiheap.obj: $(SRC)\xiheap.c
cl $(C_FLAGS) $(SRC)\$*.c
xi.obj: $(SRC)\xi.c
cl $(C_FLAGS) $(SRC)\$*.c
xi2.obj: $(SRC)\xi2.c
cl $(C_FLAGS) $(SRC)\$*.c
xicf.obj: $(SRC)\xicf.c
cl $(C_FLAGS) $(SRC)\$*.c
xidbg.obj: $(SRC)\xidbg.c
cl $(C_FLAGS) $(SRC)\$*.c
xilmst.obj: $(SRC)\xilmst.c
cl $(C_FLAGS) $(SRC)\$*.c
xiport.obj: $(SRC)\xiport.c
cl $(C_FLAGS) $(SRC)\$*.c
xierr.obj: $(SRC)\xierr.c
cl $(C_FLAGS) $(SRC)\$*.c
xibitmap.obj: $(SRC)\xibitmap.c
cl $(C_FLAGS) $(SRC)\$*.c