Added support for building under Windows NT
[dyninst.git] / visiClients / tableVisi / nmake.module.tmpl
1 #
2 # Common makefile template for tableVisi.  This file is not intended to
3 # be a useful Makefile in isolation; instead, it should be included
4 # from within an architecture-specific Makefile.
5 #
6 # $Id: nmake.module.tmpl,v 1.1 1999/03/12 23:12:11 pcroth Exp $
7 #
8
9 CXXFLAGS        = $(CXXFLAGS) $(TCLFRIENDLYWARNINGS) 
10 CFLAGS          = $(CFLAGS) $(TCLFRIENDLYWARNINGS) 
11 TFLAGS          = $(TFLAGS) $(TCLFRIENDLYWARNINGS)
12 IFLAGS          = $(IFLAGS) -I../../../paradyn/src/UIthread
13
14
15 TARGET  = tableVisi.exe
16
17 PD_SRCS = ../../../paradyn/src/UIthread/minmax.C \
18                 ../../../paradyn/src/UIthread/tkTools.C \
19                 ../../../paradyn/src/UIthread/pdLogo.C
20 MY_SRCS = ../src/tableVisi.C \
21                 ../src/tvMetric.C \
22                 ../src/tvFocus.C \
23                 ../src/tvCell.C \
24                 ../src/dg2.C \
25                 ../src/tableVisiTcl.C \
26                 ../src/main.C \
27                 ../src/main-nt.C \
28                 ../src/templates.C
29 TCL_SRCS        = ../tcl/tableVisi.tcl
30
31 SRCS    = $(SRCS) $(MY_SRCS) $(PD_SRCS) $(TCL2C_GEN_SRCS)
32
33 MY_TMPO = $(MY_SRCS:../src/=)
34 PD_TMPO = $(PD_SRCS:../../../paradyn/src/UIthread/=)
35 OBJS    = $(OBJS) \
36                         $(MY_TMPO:.C=.obj) \
37                         $(PD_TMPO:.C=.obj) \
38                         $(TCL2C_GEN_SRCS:.C=.obj)
39
40 LIBS            = libvisi.lib libpdutil.lib
41 SYSLIBS         = $(SYSLIBS) $(TCLTK_LIBS) $(X11_LIB) $(RPC_LIB)
42
43 all:    $(TARGET)
44
45 $(TCL2C_GEN_SRCS): $(TCL_SRCS)
46         $(PERL) $(TCL2C) $** > $@
47
48 {$(TO_CORE)\paradyn\src\UIthread}.C{}.obj:
49         $(CXX) $(CXXFLAGS) -c $<
50