2
0
Эх сурвалжийг харах

downloadertools: remove show_ddb

rdb 6 жил өмнө
parent
commit
13e91135e5

+ 0 - 5
makepanda/makepanda.py

@@ -4631,11 +4631,6 @@ if (PkgSkip("OPENSSL")==0 and not RTDIST and not RUNTIME and PkgSkip("DEPLOYTOOL
   TargetAdd('pencrypt.exe', input=COMMON_PANDA_LIBS)
   TargetAdd('pencrypt.exe', opts=OPTS)
 
-  TargetAdd('show_ddb_show_ddb.obj', opts=OPTS, input='show_ddb.cxx')
-  TargetAdd('show_ddb.exe', input=['show_ddb_show_ddb.obj'])
-  TargetAdd('show_ddb.exe', input=COMMON_PANDA_LIBS)
-  TargetAdd('show_ddb.exe', opts=OPTS)
-
 #
 # DIRECTORY: panda/src/downloadertools/
 #

+ 0 - 1
makepanda/makepanda.vcproj

@@ -2079,7 +2079,6 @@
 				<File RelativePath="..\panda\src\pnmimagetypes\colrops.c"></File>
 			</Filter>
 			<Filter Name="downloadertools">
-				<File RelativePath="..\panda\src\downloadertools\show_ddb.cxx"></File>
 				<File RelativePath="..\panda\src\downloadertools\pencrypt.cxx"></File>
 				<File RelativePath="..\panda\src\downloadertools\check_adler.cxx"></File>
 				<File RelativePath="..\panda\src\downloadertools\pdecrypt.cxx"></File>

+ 0 - 32
panda/src/downloadertools/show_ddb.cxx

@@ -1,32 +0,0 @@
-/**
- * PANDA 3D SOFTWARE
- * Copyright (c) Carnegie Mellon University.  All rights reserved.
- *
- * All use of this software is subject to the terms of the revised BSD
- * license.  You should have received a copy of this license along
- * with this source code in a file named "LICENSE."
- *
- * @file show_ddb.cxx
- * @author drose
- * @date 2002-11-02
- */
-
-#include "pandabase.h"
-#include "downloadDb.h"
-#include "filename.h"
-
-int
-main(int argc, char *argv[]) {
-  if (argc != 3) {
-    std::cerr << "Usage: show_ddb server.ddb client.ddb\n";
-    return 1;
-  }
-
-  Filename server_ddb = Filename::from_os_specific(argv[1]);
-  Filename client_ddb = Filename::from_os_specific(argv[2]);
-
-  DownloadDb db(server_ddb, client_ddb);
-  db.write(std::cout);
-
-  return 0;
-}