]> git.saurik.com Git - wxWidgets.git/commitdiff
added some makefiles (untested)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 Jul 2001 17:30:55 +0000 (17:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 Jul 2001 17:30:55 +0000 (17:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/regex/makefile.b32 [new file with mode: 0644]
src/regex/makefile.vc [new file with mode: 0644]
src/regex/makefile.wat [new file with mode: 0644]

diff --git a/src/regex/makefile.b32 b/src/regex/makefile.b32
new file mode 100644 (file)
index 0000000..54a6e2c
--- /dev/null
@@ -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 (file)
index 0000000..3316aca
--- /dev/null
@@ -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 (file)
index 0000000..80c8131
--- /dev/null
@@ -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
+