Skip to content

Commit

Permalink
add server(not implemented yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
clowwindy committed May 24, 2012
1 parent dd06325 commit ab32e2a
Show file tree
Hide file tree
Showing 5 changed files with 553 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bin_PROGRAMS = local
bin_PROGRAMS = local server
local_SOURCES = encrypt.c encrypt.h local.c local.h
server_SOURCES = encrypt.c encrypt.h server.c server.h socks5.h

14 changes: 11 additions & 3 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
bin_PROGRAMS = local$(EXEEXT)
bin_PROGRAMS = local$(EXEEXT) server$(EXEEXT)
subdir = .
DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
Expand All @@ -52,6 +52,9 @@ PROGRAMS = $(bin_PROGRAMS)
am_local_OBJECTS = encrypt.$(OBJEXT) local.$(OBJEXT)
local_OBJECTS = $(am_local_OBJECTS)
local_LDADD = $(LDADD)
am_server_OBJECTS = encrypt.$(OBJEXT) server.$(OBJEXT)
server_OBJECTS = $(am_server_OBJECTS)
server_LDADD = $(LDADD)
DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
Expand All @@ -60,8 +63,8 @@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(local_SOURCES)
DIST_SOURCES = $(local_SOURCES)
SOURCES = $(local_SOURCES) $(server_SOURCES)
DIST_SOURCES = $(local_SOURCES) $(server_SOURCES)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
Expand Down Expand Up @@ -166,6 +169,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
local_SOURCES = encrypt.c encrypt.h local.c local.h
server_SOURCES = encrypt.c encrypt.h server.c server.h socks5.h
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-am

Expand Down Expand Up @@ -260,6 +264,9 @@ clean-binPROGRAMS:
local$(EXEEXT): $(local_OBJECTS) $(local_DEPENDENCIES) $(EXTRA_local_DEPENDENCIES)
@rm -f local$(EXEEXT)
$(LINK) $(local_OBJECTS) $(local_LDADD) $(LIBS)
server$(EXEEXT): $(server_OBJECTS) $(server_DEPENDENCIES) $(EXTRA_server_DEPENDENCIES)
@rm -f server$(EXEEXT)
$(LINK) $(server_OBJECTS) $(server_LDADD) $(LIBS)

mostlyclean-compile:
-rm -f *.$(OBJEXT)
Expand All @@ -269,6 +276,7 @@ distclean-compile:

@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encrypt.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/local.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Po@am__quote@

.c.o:
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
Expand Down
Loading

0 comments on commit ab32e2a

Please sign in to comment.