Skip to content

Commit

Permalink
Add nmap-payloads to the Windows build.
Browse files Browse the repository at this point in the history
  • Loading branch information
david committed May 25, 2010
1 parent 0760591 commit 7b1a1d4
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mswin32/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ winbuild:
rm -rf nmap-$(NMAP_VERSION)
rm -f nmap-$(NMAP_VERSION)-win32.zip
mkdir nmap-$(NMAP_VERSION)
cd Release && cp -r ../../CHANGELOG ../../COPYING nmap-mac-prefixes nmap-os-db nmap-protocols nmap-rpc nmap-service-probes nmap-services nmap.exe nmap.xsl nse_main.lua ../nmap_performance.reg ../../README-WIN32 ../nmap-$(NMAP_VERSION)/
cd Release && cp -r ../../CHANGELOG ../../COPYING nmap-mac-prefixes nmap-os-db nmap-payloads nmap-protocols nmap-rpc nmap-service-probes nmap-services nmap.exe nmap.xsl nse_main.lua ../nmap_performance.reg ../../README-WIN32 ../nmap-$(NMAP_VERSION)/
cp -f OpenSSL/bin/*.dll ./nmap-$(NMAP_VERSION)/
mkdir nmap-$(NMAP_VERSION)/scripts
cd Release && cp -f $(NSE_FILES) ../nmap-$(NMAP_VERSION)/scripts/
Expand Down
24 changes: 24 additions & 0 deletions mswin32/nmap.vcproj
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,30 @@
/>
</FileConfiguration>
</File>
<File
RelativePath="..\nmap-payloads"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="Copying $(InputName) to output directory..."
CommandLine="copy /y &quot;$(InputPath)&quot; &quot;$(TargetDir)$(InputName)&quot; &gt; nul&#x0D;&#x0A;"
Outputs="$(TargetDir)$(InputName)"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="Copying $(InputName) to output directory..."
CommandLine="copy /y &quot;$(InputPath)&quot; &quot;$(TargetDir)$(InputName)&quot; &gt; nul&#x0D;&#x0A;"
Outputs="$(TargetDir)$(InputName)"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\nmap-protocols"
>
Expand Down
2 changes: 2 additions & 0 deletions mswin32/nsis/Nmap.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ Section "Nmap Core Files" SecCore
File ..\..\COPYING
File ..\..\nmap-mac-prefixes
File ..\..\nmap-os-db
File ..\..\nmap-payloads
File ..\..\nmap-protocols
File ..\..\nmap-rpc
File ..\..\nmap-service-probes
Expand Down Expand Up @@ -392,6 +393,7 @@ Section "Uninstall"
Delete "$INSTDIR\COPYING"
Delete "$INSTDIR\nmap-mac-prefixes"
Delete "$INSTDIR\nmap-os-db"
Delete "$INSTDIR\nmap-payloads"
Delete "$INSTDIR\nmap-protocols"
Delete "$INSTDIR\nmap-rpc"
Delete "$INSTDIR\nmap-service-probes"
Expand Down

0 comments on commit 7b1a1d4

Please sign in to comment.