added some makefiles (untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a553cb8bc6
commit
c88597ef26
13
src/regex/makefile.b32
Normal file
13
src/regex/makefile.b32
Normal file
@ -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
|
||||
|
18
src/regex/makefile.vc
Normal file
18
src/regex/makefile.vc
Normal file
@ -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
|
||||
|
39
src/regex/makefile.wat
Normal file
39
src/regex/makefile.wat
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user