+ifeq ($(FINAL),1)
+ DEBEXT=
+else
+ DEBEXT=d
+endif
+
+ifeq ($(UNICODE),1)
+ UNIEXT=u
+else
+ UNIEXT=
+endif
+
+ifeq ($(WXMAKINGDLL)$(WXUSINGDLL),)
+ INCEXT=$(UNIEXT)$(DEBEXT)
+else
+ INCEXT=dll$(UNIEXT)$(DEBEXT)
+endif
+
+WXLIB=$(WXDIR)/lib/$(LIBPREFIX)wx$(TOOLKIT)$(UNIEXT)$(DEBEXT).$(LIBSUFF)
+
+ifdef WXMAKINGDLL
+ EXTRADLLFLAGS = -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1
+ WXLIB=$(WXDIR)/lib/$(LIBPREFIX)wx$(TOOLKIT)$(WXVERSION)$(UNIEXT)$(DEBEXT).$(LIBSUFF)
+endif
+
+ifdef WXUSINGDLL
+ EXTRADLLFLAGS = -DWXUSINGDLL=1
+ WXLIB=$(WXDIR)/lib/$(LIBPREFIX)wx$(TOOLKIT)$(WXVERSION)$(UNIEXT)$(DEBEXT).$(LIBSUFF)
+endif
+
+