From: Harco de Hilster Date: Tue, 17 Aug 1999 15:14:08 +0000 (+0000) Subject: small makefile.vc fixes. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4540b0b60f87d7e7bfa34757168d5ad2d39e1f2a small makefile.vc fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/wxPython/modules/glcanvas/makefile.vc b/utils/wxPython/modules/glcanvas/makefile.vc index 09d9d54375..82d14d98fb 100644 --- a/utils/wxPython/modules/glcanvas/makefile.vc +++ b/utils/wxPython/modules/glcanvas/makefile.vc @@ -24,6 +24,8 @@ default: $(TARGETDIR)\$(TARGET).pyd pycfiles all: $(TARGET) +$(GENCODEDIR)/glcanvas.cpp : glcanvas.i + #---------------------------------------------------------------------- $(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res diff --git a/utils/wxPython/modules/html/makefile.vc b/utils/wxPython/modules/html/makefile.vc index 7b8f2823de..abddc9468f 100644 --- a/utils/wxPython/modules/html/makefile.vc +++ b/utils/wxPython/modules/html/makefile.vc @@ -20,6 +20,9 @@ default: $(TARGETDIR)\$(TARGET).pyd pycfiles all: $(TARGET) +# for generating the html.cpp file +$(GENCODEDIR)/html.cpp : html.i + #---------------------------------------------------------------------- $(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res diff --git a/utils/wxPython/modules/lseditor/makefile.vc b/utils/wxPython/modules/lseditor/makefile.vc new file mode 100644 index 0000000000..d2da7b3ca6 --- /dev/null +++ b/utils/wxPython/modules/lseditor/makefile.vc @@ -0,0 +1,42 @@ + +#---------------------------------------------------------------------- + +TARGET = lseditorc + +OBJECTS = lseditor.obj finddlg.obj lseditorpl.obj markup.obj \ + plugin.obj sourcepainter.obj tdefs.objhtml.obj + +PYMODULES = $(TARGETDIR)\lseditor.py + +SOURCES = $(GENCODEDIR)/lseditor.cpp finddlg.cpp lseditorpl.cpp markup.cpp \ + plugin.cpp sourcepainter.cpp tdefs.cpp + + +#---------------------------------------------------------------------- + +!include ..\makeinc.vc +# undo overrideflags /GX- ... +OVERRIDEFLAGS=$(OTHERCFLAGS) + +#---------------------------------------------------------------------- + +default: $(TARGETDIR)\$(TARGET).pyd pycfiles + +all: $(TARGET) + +# for generating the html.cpp file +$(GENCODEDIR)/lseditor.cpp : lseditor.i + +#---------------------------------------------------------------------- + +$(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res + $(link) @<< +/out:$@ /dll +$(LFLAGS) /def:$(TARGET).def /implib:./$(TARGET).lib +$(DUMMYOBJ) $(OBJECTS) +$(LIBS) +<< + + +#---------------------------------------------------------------------- + diff --git a/utils/wxPython/modules/stubs/makefile.vc b/utils/wxPython/modules/stubs/makefile.vc index 2301c9a729..be0efe9404 100644 --- a/utils/wxPython/modules/stubs/makefile.vc +++ b/utils/wxPython/modules/stubs/makefile.vc @@ -5,7 +5,7 @@ TARGET = samplec OBJECTS = sample.obj mywidget.obj -PYMODULES = $(TARGETDIR)\sample.py $(TARGETDIR)\sample.py +PYMODULES = $(TARGETDIR)\sample.py SOURCES = $(GENCODEDIR)\sample.cpp mywidget.cpp @@ -20,6 +20,9 @@ default: $(TARGETDIR)\$(TARGET).pyd pycfiles all: $(TARGET) +# dependency to automatically generate swig files +$(GENCODEDIR)/sample.cpp : sample.i + #---------------------------------------------------------------------- $(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res