]> git.saurik.com Git - wxWidgets.git/commitdiff
small makefile.vc fixes.
authorHarco de Hilster <harcoh@caos.kun.nl>
Tue, 17 Aug 1999 15:14:08 +0000 (15:14 +0000)
committerHarco de Hilster <harcoh@caos.kun.nl>
Tue, 17 Aug 1999 15:14:08 +0000 (15:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/wxPython/modules/glcanvas/makefile.vc
utils/wxPython/modules/html/makefile.vc
utils/wxPython/modules/lseditor/makefile.vc [new file with mode: 0644]
utils/wxPython/modules/stubs/makefile.vc

index 09d9d54375da28f55e8bb4ef60f6e124e7512df2..82d14d98fb80c0afce73071b544b9a2270b35c2e 100644 (file)
@@ -24,6 +24,8 @@ default: $(TARGETDIR)\$(TARGET).pyd pycfiles
 
 all:    $(TARGET)
 
+$(GENCODEDIR)/glcanvas.cpp : glcanvas.i
+
 #----------------------------------------------------------------------
 
 $(TARGETDIR)\$(TARGET).pyd : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) # $(TARGET).res
index 7b8f2823dece05740adce22b804cde265bff6840..abddc9468f904c5b731bc5afef0208376d379ca9 100644 (file)
@@ -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 (file)
index 0000000..d2da7b3
--- /dev/null
@@ -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)
+<<
+
+
+#----------------------------------------------------------------------
+
index 2301c9a729de4c43dc2271f1710e8e41b7e4a67c..be0efe9404c8899cf15cfa36df7757bf247d262f 100644 (file)
@@ -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