1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/wolfcs-stund

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
Makefile 1.4 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
hanpfei Отправлено 28.05.2016 06:59 bba6ddf
TARS= client.cxx server.cxx stun.cxx stun.h tlsServer.cxx udp.cxx udp.h \
Makefile rfc3489.txt\
client.sln client.vcproj server.sln server.vcproj Stun.sln \
id.pem id_key.pem root.pem \
nattestwarning.txt nattest wnattest.bat \
WinStun/resource.h WinStun/stdafx.cpp WinStun/stdafx.h \
WinStun/WinStun.cpp WinStun/WinStunDlg.cpp WinStun/WinStunDlg.h WinStun/WinStun.h \
WinStun/WinStun.rc WinStun/WinStun.vcproj \
WinStun/res/WinStun.ico WinStun/res/WinStun.manifest WinStun/res/WinStun.rc2 \
WinStunSetup/WinStunSetup.vdproj
# if you chnage this version, change in stun.h too
VERSION=0.96
#CXXFLAGS+=-O2
#LDFLAGS+=-O2 -lssl
STUNLIB=libstun.a
#
# Alternatively, for debugging.
#
CXXFLAGS+=-g -O -Wall
LDFLAGS+=-g -O -Wall
#LDFLAGS+=-DHAVE_LIBEV -lev
# for solaris
#LDFLAGS+= -lnsl -lsocket
all: stun_server client
clean:
- rm *.o stun_server client tlsServer
tar: $(TARS)
cd ..; tar cvfz `date +"stund/stund_$(VERSION)_$(PROG)%b%d.tgz"` \
$(addprefix stund/, $(TARS))
stun_server: server.o stun.o udp.o
$(CXX) $(LDFLAGS) -o $@ $^
tlsServer: tlsServer.o stun.o udp.o
$(CXX) $(LDFLAGS) -o $@ $^
client: client.o stun.o udp.o
$(CXX) -pthread $(LDFLAGS) -o $@ $^
%.o:%.cxx
$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@
libstun.a: stun.o udp.o
ar rv $@ $<
%:RCS/%
co $@
# Dependancies
server.o: stun.h udp.h
client.o: stun.h udp.h
stun.o: stun.h udp.h
udp.o: stun.h udp.h
tlsServer.o: stun.h udp.h

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/wolfcs-stund.git
git@api.gitlife.ru:oschina-mirror/wolfcs-stund.git
oschina-mirror
wolfcs-stund
wolfcs-stund
master