diff --git a/src/regex/makefile.b32 b/src/regex/makefile.b32 new file mode 100644 index 0000000000..54a6e2cfac --- /dev/null +++ b/src/regex/makefile.b32 @@ -0,0 +1,13 @@ + +LIBTARGET=$(WXDIR)\lib\regex.lib + +OBJECTS= \ + regcomp.o \ + regexec.o \ + regerror.o \ + regfree.o + +# Pull in standard variable definitions + +!include ..\makelib.b32 + diff --git a/src/regex/makefile.vc b/src/regex/makefile.vc new file mode 100644 index 0000000000..3316aca49d --- /dev/null +++ b/src/regex/makefile.vc @@ -0,0 +1,18 @@ +!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 + diff --git a/src/regex/makefile.wat b/src/regex/makefile.wat new file mode 100644 index 0000000000..80c81310f6 --- /dev/null +++ b/src/regex/makefile.wat @@ -0,0 +1,39 @@ +#!/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 +