win return
svn path=/trunk/externals/iem/comport/; revision=11387
This commit is contained in:
parent
d0c8651f69
commit
ca7d56b329
3 changed files with 151 additions and 151 deletions
|
|
@ -1,85 +1,85 @@
|
||||||
# Microsoft Developer Studio Project File - Name="comport" - Package Owner=<4>
|
# Microsoft Developer Studio Project File - Name="comport" - Package Owner=<4>
|
||||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
# ** NICHT BEARBEITEN **
|
# ** NICHT BEARBEITEN **
|
||||||
|
|
||||||
# TARGTYPE "Win32 (x86) External Target" 0x0106
|
# TARGTYPE "Win32 (x86) External Target" 0x0106
|
||||||
|
|
||||||
CFG=comport - Win32 Debug
|
CFG=comport - Win32 Debug
|
||||||
!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
|
!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
|
||||||
!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
|
!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
|
||||||
!MESSAGE
|
!MESSAGE
|
||||||
!MESSAGE NMAKE /f "comport.mak".
|
!MESSAGE NMAKE /f "comport.mak".
|
||||||
!MESSAGE
|
!MESSAGE
|
||||||
!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
|
!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
|
||||||
!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
|
!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
|
||||||
!MESSAGE
|
!MESSAGE
|
||||||
!MESSAGE NMAKE /f "comport.mak" CFG="comport - Win32 Debug"
|
!MESSAGE NMAKE /f "comport.mak" CFG="comport - Win32 Debug"
|
||||||
!MESSAGE
|
!MESSAGE
|
||||||
!MESSAGE Für die Konfiguration stehen zur Auswahl:
|
!MESSAGE Für die Konfiguration stehen zur Auswahl:
|
||||||
!MESSAGE
|
!MESSAGE
|
||||||
!MESSAGE "comport - Win32 Release" (basierend auf "Win32 (x86) External Target")
|
!MESSAGE "comport - Win32 Release" (basierend auf "Win32 (x86) External Target")
|
||||||
!MESSAGE "comport - Win32 Debug" (basierend auf "Win32 (x86) External Target")
|
!MESSAGE "comport - Win32 Debug" (basierend auf "Win32 (x86) External Target")
|
||||||
!MESSAGE
|
!MESSAGE
|
||||||
|
|
||||||
# Begin Project
|
# Begin Project
|
||||||
# PROP AllowPerConfigDependencies 0
|
# PROP AllowPerConfigDependencies 0
|
||||||
# PROP Scc_ProjName ""
|
# PROP Scc_ProjName ""
|
||||||
# PROP Scc_LocalPath ""
|
# PROP Scc_LocalPath ""
|
||||||
|
|
||||||
!IF "$(CFG)" == "comport - Win32 Release"
|
!IF "$(CFG)" == "comport - Win32 Release"
|
||||||
|
|
||||||
# PROP BASE Use_Debug_Libraries 0
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
# PROP BASE Output_Dir "Release"
|
# PROP BASE Output_Dir "Release"
|
||||||
# PROP BASE Intermediate_Dir "Release"
|
# PROP BASE Intermediate_Dir "Release"
|
||||||
# PROP BASE Cmd_Line "NMAKE /f makefile_win"
|
# PROP BASE Cmd_Line "NMAKE /f makefile_win"
|
||||||
# PROP BASE Rebuild_Opt "/a"
|
# PROP BASE Rebuild_Opt "/a"
|
||||||
# PROP BASE Target_File "makefile_win.exe"
|
# PROP BASE Target_File "makefile_win.exe"
|
||||||
# PROP BASE Bsc_Name "makefile_win.bsc"
|
# PROP BASE Bsc_Name "makefile_win.bsc"
|
||||||
# PROP BASE Target_Dir ""
|
# PROP BASE Target_Dir ""
|
||||||
# PROP Use_Debug_Libraries 0
|
# PROP Use_Debug_Libraries 0
|
||||||
# PROP Output_Dir "Release"
|
# PROP Output_Dir "Release"
|
||||||
# PROP Intermediate_Dir "Release"
|
# PROP Intermediate_Dir "Release"
|
||||||
# PROP Cmd_Line "NMAKE /f makefile_win"
|
# PROP Cmd_Line "NMAKE /f makefile_win"
|
||||||
# PROP Rebuild_Opt "/a"
|
# PROP Rebuild_Opt "/a"
|
||||||
# PROP Target_File "comport.exe"
|
# PROP Target_File "comport.exe"
|
||||||
# PROP Bsc_Name "comport.bsc"
|
# PROP Bsc_Name "comport.bsc"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "comport - Win32 Debug"
|
!ELSEIF "$(CFG)" == "comport - Win32 Debug"
|
||||||
|
|
||||||
# PROP BASE Use_Debug_Libraries 1
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
# PROP BASE Output_Dir "Debug"
|
# PROP BASE Output_Dir "Debug"
|
||||||
# PROP BASE Intermediate_Dir "Debug"
|
# PROP BASE Intermediate_Dir "Debug"
|
||||||
# PROP BASE Cmd_Line "NMAKE /f makefile_win"
|
# PROP BASE Cmd_Line "NMAKE /f makefile_win"
|
||||||
# PROP BASE Rebuild_Opt "/a"
|
# PROP BASE Rebuild_Opt "/a"
|
||||||
# PROP BASE Target_File "makefile_win.exe"
|
# PROP BASE Target_File "makefile_win.exe"
|
||||||
# PROP BASE Bsc_Name "makefile_win.bsc"
|
# PROP BASE Bsc_Name "makefile_win.bsc"
|
||||||
# PROP BASE Target_Dir ""
|
# PROP BASE Target_Dir ""
|
||||||
# PROP Use_Debug_Libraries 1
|
# PROP Use_Debug_Libraries 1
|
||||||
# PROP Output_Dir "Debug"
|
# PROP Output_Dir "Debug"
|
||||||
# PROP Intermediate_Dir "Debug"
|
# PROP Intermediate_Dir "Debug"
|
||||||
# PROP Cmd_Line "NMAKE /f makefile_win"
|
# PROP Cmd_Line "NMAKE /f makefile_win"
|
||||||
# PROP Rebuild_Opt "/a"
|
# PROP Rebuild_Opt "/a"
|
||||||
# PROP Target_File "comport.exe"
|
# PROP Target_File "comport.exe"
|
||||||
# PROP Bsc_Name "comport.bsc"
|
# PROP Bsc_Name "comport.bsc"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
# Begin Target
|
# Begin Target
|
||||||
|
|
||||||
# Name "comport - Win32 Release"
|
# Name "comport - Win32 Release"
|
||||||
# Name "comport - Win32 Debug"
|
# Name "comport - Win32 Debug"
|
||||||
|
|
||||||
!IF "$(CFG)" == "comport - Win32 Release"
|
!IF "$(CFG)" == "comport - Win32 Release"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "comport - Win32 Debug"
|
!ELSEIF "$(CFG)" == "comport - Win32 Debug"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\makefile_win
|
SOURCE=.\makefile_win
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
|
|
||||||
|
|
@ -1,29 +1,29 @@
|
||||||
Microsoft Developer Studio Workspace File, Format Version 6.00
|
Microsoft Developer Studio Workspace File, Format Version 6.00
|
||||||
# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELÖSCHT WERDEN!
|
# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELÖSCHT WERDEN!
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
Project: "comport"=.\comport.dsp - Package Owner=<4>
|
Project: "comport"=.\comport.dsp - Package Owner=<4>
|
||||||
|
|
||||||
Package=<5>
|
Package=<5>
|
||||||
{{{
|
{{{
|
||||||
}}}
|
}}}
|
||||||
|
|
||||||
Package=<4>
|
Package=<4>
|
||||||
{{{
|
{{{
|
||||||
}}}
|
}}}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
Global:
|
Global:
|
||||||
|
|
||||||
Package=<5>
|
Package=<5>
|
||||||
{{{
|
{{{
|
||||||
}}}
|
}}}
|
||||||
|
|
||||||
Package=<3>
|
Package=<3>
|
||||||
{{{
|
{{{
|
||||||
}}}
|
}}}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,37 +1,37 @@
|
||||||
|
|
||||||
all: comport.dll
|
all: comport.dll
|
||||||
|
|
||||||
VIS_CPP_PATH = "C:\Programme\Microsoft Visual Studio\Vc98"
|
VIS_CPP_PATH = "C:\Programme\Microsoft Visual Studio\Vc98"
|
||||||
|
|
||||||
PD_INST_PATH = "C:\Programme\pd"
|
PD_INST_PATH = "C:\Programme\pd"
|
||||||
|
|
||||||
PD_WIN_INCLUDE_PATH = /I. /I$(PD_INST_PATH)\src /I$(VIS_CPP_PATH)\include
|
PD_WIN_INCLUDE_PATH = /I. /I$(PD_INST_PATH)\src /I$(VIS_CPP_PATH)\include
|
||||||
|
|
||||||
PD_WIN_C_FLAGS = /nologo /W3 /WX /DMSW /DNT /DPD /DWIN32 /DWINDOWS /Ox -DPA_LITTLE_ENDIAN
|
PD_WIN_C_FLAGS = /nologo /W3 /WX /DMSW /DNT /DPD /DWIN32 /DWINDOWS /Ox -DPA_LITTLE_ENDIAN
|
||||||
|
|
||||||
PD_WIN_L_FLAGS = /nologo
|
PD_WIN_L_FLAGS = /nologo
|
||||||
|
|
||||||
PD_WIN_LIB = /NODEFAULTLIB:libc /NODEFAULTLIB:oldnames /NODEFAULTLIB:kernel /NODEFAULTLIB:uuid \
|
PD_WIN_LIB = /NODEFAULTLIB:libc /NODEFAULTLIB:oldnames /NODEFAULTLIB:kernel /NODEFAULTLIB:uuid \
|
||||||
$(VIS_CPP_PATH)\lib\libc.lib \
|
$(VIS_CPP_PATH)\lib\libc.lib \
|
||||||
$(VIS_CPP_PATH)\lib\oldnames.lib \
|
$(VIS_CPP_PATH)\lib\oldnames.lib \
|
||||||
$(VIS_CPP_PATH)\lib\kernel32.lib \
|
$(VIS_CPP_PATH)\lib\kernel32.lib \
|
||||||
$(VIS_CPP_PATH)\lib\wsock32.lib \
|
$(VIS_CPP_PATH)\lib\wsock32.lib \
|
||||||
$(VIS_CPP_PATH)\lib\winmm.lib \
|
$(VIS_CPP_PATH)\lib\winmm.lib \
|
||||||
$(PD_INST_PATH)\bin\pthreadVC.lib \
|
$(PD_INST_PATH)\bin\pthreadVC.lib \
|
||||||
$(PD_INST_PATH)\bin\pd.lib
|
$(PD_INST_PATH)\bin\pd.lib
|
||||||
|
|
||||||
|
|
||||||
SRC = comport.c
|
SRC = comport.c
|
||||||
|
|
||||||
|
|
||||||
OBJ = $(SRC:.c=.obj)
|
OBJ = $(SRC:.c=.obj)
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c
|
cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c
|
||||||
|
|
||||||
comport.dll: $(OBJ)
|
comport.dll: $(OBJ)
|
||||||
link $(PD_WIN_L_FLAGS) /dll /export:comport_setup \
|
link $(PD_WIN_L_FLAGS) /dll /export:comport_setup \
|
||||||
/out:comport.dll $(OBJ) $(PD_WIN_LIB)
|
/out:comport.dll $(OBJ) $(PD_WIN_LIB)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
del *.obj
|
del *.obj
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue