reorganizing to prepare for transition to openpgp2ssh.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 12 Jun 2008 17:31:13 +0000 (13:31 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 12 Jun 2008 17:31:13 +0000 (13:31 -0400)
src/keytrans/Makefile [moved from src/gpg2ssh/Makefile with 61% similarity]
src/keytrans/gnutls-helpers.c [moved from src/gpg2ssh/gnutls-helpers.c with 100% similarity]
src/keytrans/gnutls-helpers.h [moved from src/gpg2ssh/gnutls-helpers.h with 100% similarity]
src/keytrans/gpg2ssh.c [moved from src/gpg2ssh/gpg2ssh.c with 100% similarity]
src/keytrans/openpgp2ssh.c [moved from src/gpg2ssh/main.c with 100% similarity]
src/keytrans/ssh2gpg.c [moved from src/gpg2ssh/ssh2gpg.c with 100% similarity]

similarity index 61%
rename from src/gpg2ssh/Makefile
rename to src/keytrans/Makefile
index 65a5f0f7623ceb47e6861882d6b917854588d50c..fdd4ccda27b0262f68913f0d175b5ee186c5442e 100644 (file)
@@ -1,18 +1,19 @@
-all: monkeysphere gpg2ssh ssh2gpg
+all: openpgp2ssh
 
-monkeysphere: main.c gnutls-helpers.o
-       gcc -g -Wall --pedantic -o monkeysphere main.c `libgnutls-config --libs --cflags` -lgnutls-extra gnutls-helpers.o
+openpgp2ssh: openpgp2ssh.c gnutls-helpers.o
+       gcc -g -Wall --pedantic -o openpgp2ssh openpgp2ssh.c `libgnutls-config --libs --cflags` -lgnutls-extra gnutls-helpers.o
 
+%.o: %.c
+       gcc -g -Wall --pedantic -o $@ -c $<
+
+clean: 
+       rm -f openpgp2ssh gpg2ssh ssh2gpg *.o
+
+# deprecated:
 gpg2ssh: gpg2ssh.c gnutls-helpers.o
        gcc -g -Wall --pedantic -o gpg2ssh gpg2ssh.c `libgnutls-config --libs --cflags` -lgnutls-extra gnutls-helpers.o
 
 ssh2gpg: ssh2gpg.c gnutls-helpers.o
        gcc -g -Wall --pedantic -o ssh2gpg ssh2gpg.c `libgnutls-config --libs --cflags` -lgnutls-extra gnutls-helpers.o
 
-%.o: %.c
-       gcc -g -Wall --pedantic -o $@ -c $<
-
-clean: 
-       rm -f monkeysphere gpg2ssh ssh2gpg *.o
-
 .PHONY: clean all
similarity index 100%
rename from src/gpg2ssh/gpg2ssh.c
rename to src/keytrans/gpg2ssh.c
similarity index 100%
rename from src/gpg2ssh/ssh2gpg.c
rename to src/keytrans/ssh2gpg.c