6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds wxProperty library
12 # Change WXDIR to wherever wxWindows is found
14 !include $(WXDIR)\src\makebcc.env
16 WXLIB = $(WXDIR)\lib\wx.lib
17 WXINC = $(WXDIR)\include
18 CFG = $(WXWIN)\src\wxwin.cfg
21 WXPROPDIR = $(WXDIR)\utils\wxprop
22 WXPROPINC = $(WXPROPDIR)\src
23 WXPROPLIB = $(WXPROPDIR)\lib\wxprop.lib
25 FAFALIB = $(WXDIR)\contrib\fafa\fafa.lib
26 ITSYLIB = $(WXDIR)\contrib\itsybits\itsy.lib
28 DOCDIR = $(WXPROPDIR)\docs
29 DOCUTILSDIR = $(WXDIR)\utils\tex2rtf\src
30 THISDIR = $(WXPROPDIR)\src
32 # Default is to output RTF for WinHelp
37 INC=/I$(WXDIR)\include\base /I$(WXDIR)\include\msw
39 LIBS=$(WXLIB) $(WXPROPLIB) mathwl cwl import
42 LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
46 LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
50 CFLAGS=$(DEBUG_FLAGS) $(OPT) /DUSE_DEFINE @$(CFG)
51 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) /DUSE_DEFINE @$(CFG)
53 OBJECTS = wx_prop.obj wx_plist.obj wx_pform.obj
55 all: $(WXPROPLIB) # test.exe
58 bcc $(CPPFLAGS) -c {$< }
60 bcc $(CPPFLAGS) -P- -c {$< }
62 $(WXPROPLIB): $(OBJECTS)
66 +$(OBJECTS:.obj =.obj +)
69 test.obj: test.h wx_prop.h test.$(SRCSUFF)
71 wx_prop.obj: wx_prop.h wx_prop.$(SRCSUFF)
73 wx_plist.obj: wx_prop.h wx_plist.h wx_plist.$(SRCSUFF)
75 wx_pform.obj: wx_prop.h wx_pform.h wx_pform.$(SRCSUFF)
77 test.res : test.rc $(WXDIR)\include\msw\wx.rc $(WXPROPLIB)
78 rc /i$(BCCDIR)\include /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa -r test
80 test.exe: test.obj test.def test.res $(WXPROPLIB)
81 tlink $(LINKFLAGS) @&&!