git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11011
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
--- /dev/null
+
+LIBTARGET=$(WXDIR)\lib\regex.lib
+
+OBJECTS= \
+ regcomp.o \
+ regexec.o \
+ regerror.o \
+ regfree.o
+
+# Pull in standard variable definitions
+
+!include ..\makelib.b32
+
--- /dev/null
+!if "$(FINAL)" == "1"
+LIBTARGET=$(WXDIR)\lib\regex.lib
+!else if "$(FINAL)" == "hybrid"
+LIBTARGET=$(WXDIR)\lib\regexh.lib
+!else
+LIBTARGET=$(WXDIR)\lib\regexd.lib
+!endif
+
+OBJECTS= \
+ regcomp.o \
+ regexec.o \
+ regerror.o \
+ regfree.o
+
+# Pull in standard variable definitions
+
+!include ..\makelib.vc
+
--- /dev/null
+#!/binb/wmake.exe
+#
+# File: makefile.wat
+# Author: Julian Smart
+# Created: 1998
+#
+# Makefile : Builds REGEX library for Watcom C++, WIN32
+
+WXDIR = ..\..
+EXTRACPPFLAGS=-DPOSIX_MISTAKE
+
+!include $(WXDIR)\src\makewat.env
+
+WXLIB = $(WXDIR)\lib
+
+LIBTARGET = $(WXLIB)\regex.lib
+
+OBJECTS= &
+ regcomp.o &
+ regexec.o &
+ regerror.o &
+ regfree.o
+
+all: $(OBJECTS) $(LIBTARGET)
+
+$(LIBTARGET) : $(OBJECTS)
+ %create tmp.lbc
+ @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
+ wlib /b /c /n /p=512 $^@ @tmp.lbc
+
+clean:
+ -erase *.obj
+ -erase $(LIBTARGET)
+ -erase *.pch
+ -erase *.err
+ -erase *.lbc
+
+cleanall: clean
+