Mercurial > hg > index.fcgi > gift-gnutella > gift-gnutella-0.0.11-1pba
diff src/Makefile.msvc @ 0:d39e1d0d75b6
initial add
author | paulo@hit-nxdomain.opendns.com |
---|---|
date | Sat, 20 Feb 2010 21:18:28 -0800 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/Makefile.msvc Sat Feb 20 21:18:28 2010 -0800 1.3 @@ -0,0 +1,115 @@ 1.4 +# $Id: Makefile.msvc,v 1.18 2004/03/27 00:36:20 mkern Exp $ 1.5 + 1.6 +!include ../Make.msvc 1.7 + 1.8 +INCLUDES = $(INCLUDES) -I. -Iio 1.9 + 1.10 +!if defined(dynamic) || defined(DYNAMIC) 1.11 + 1.12 +LIBS = $(LIBS) $(LIBGIFT_LIB) $(LIBGIFTPROTO_LIB) $(GIFT_LIB) 1.13 +TARGET = $(GNUTELLA_DLL) 1.14 + 1.15 +!else # !(defined(dynamic) || defined(DYNAMIC)) 1.16 + 1.17 +LIBS = $(LIBS) $(LIBGIFT_STATIC) $(LIBGIFTPROTO_STATIC) $(GIFT_LIB) 1.18 +TARGET = $(GNUTELLA_STATIC) 1.19 + 1.20 +!endif # defined(dynamic) || defined(DYNAMIC) 1.21 + 1.22 + 1.23 +OBJECTS = \ 1.24 + dns$(O) \ 1.25 + file_cache$(O) \ 1.26 + gt_accept$(O) \ 1.27 + gt_ban$(O) \ 1.28 + gt_bind$(O) \ 1.29 + gt_conf$(O) \ 1.30 + gt_connect$(O) \ 1.31 + gt_gnutella$(O) \ 1.32 + gt_guid$(O) \ 1.33 + gt_http_client$(O) \ 1.34 + gt_http_server$(O) \ 1.35 + gt_netorg$(O) \ 1.36 + gt_node$(O) \ 1.37 + gt_node_cache$(O) \ 1.38 + gt_node_list$(O) \ 1.39 + gt_packet$(O) \ 1.40 + gt_query_route$(O) \ 1.41 + gt_search$(O) \ 1.42 + gt_search_exec$(O) \ 1.43 + gt_share$(O) \ 1.44 + gt_share_file$(O) \ 1.45 + gt_share_state$(O) \ 1.46 + gt_stats$(O) \ 1.47 + gt_urn$(O) \ 1.48 + gt_utils$(O) \ 1.49 + gt_version$(O) \ 1.50 + gt_web_cache$(O) \ 1.51 + gt_xfer$(O) \ 1.52 + gt_xfer_obj$(O) \ 1.53 + http_request$(O) \ 1.54 + sha1$(O) \ 1.55 + trie$(O) \ 1.56 + xml$(O) \ 1.57 + encoding\base32$(O) \ 1.58 + encoding\url$(O) \ 1.59 + io\io_buf$(O) \ 1.60 + io\rx_inflate$(O) \ 1.61 + io\rx_layer$(O) \ 1.62 + io\rx_link$(O) \ 1.63 + io\rx_packet$(O) \ 1.64 + io\rx_stack$(O) \ 1.65 + io\tx_deflate$(O) \ 1.66 + io\tx_layer$(O) \ 1.67 + io\tx_link$(O) \ 1.68 + io\tx_packet$(O) \ 1.69 + io\tx_stack$(O) \ 1.70 + message\bye$(O) \ 1.71 + message\gt_message$(O) \ 1.72 + message\ping$(O) \ 1.73 + message\ping_reply$(O) \ 1.74 + message\push$(O) \ 1.75 + message\query$(O) \ 1.76 + message\query_reply$(O) \ 1.77 + message\query_route$(O) \ 1.78 + message\vendor$(O) \ 1.79 + transfer\download$(O) \ 1.80 + transfer\push_proxy$(O) \ 1.81 + transfer\source$(O) 1.82 + 1.83 + 1.84 +all : $(TARGET) 1.85 + 1.86 + 1.87 +clean : 1.88 + @-del /Q /F *$(O) 1.89 + @-del /Q /F $(GNUTELLA_LIB) 1.90 + @-del /Q /F $(GNUTELLA_DLL) 1.91 + @-del /Q /F $(GNUTELLA_STATIC) 1.92 + @-del /Q /F *.exp 1.93 + @-del /Q /F *.idb 1.94 + @-del /Q /F *.ilk 1.95 + @-del /Q /F *.pch 1.96 + @-del /Q /F *.pdb 1.97 + @-del /Q /F *.plg 1.98 + @-del /Q /F io\*$(O) 1.99 + @-del /Q /F transfer\*$(O) 1.100 + @-del /Q /F message\*$(O) 1.101 + @-del /Q /F encoding\*$(O) 1.102 + 1.103 + 1.104 +!if defined(dynamic) || defined(DYNAMIC) 1.105 + 1.106 +$(TARGET) : $(OBJECTS) 1.107 + $(LD) $(LDFLAGS) -dll -out:$(TARGET) $(LIBS) $(OBJECTS) 1.108 + 1.109 +!else # !(defined(dynamic) || defined(DYNAMIC)) 1.110 + 1.111 +$(TARGET) : $(OBJECTS) 1.112 + $(LT) -nologo -out:$(TARGET) $(OBJECTS) 1.113 + 1.114 +!endif # defined(dynamic) || defined(DYNAMIC) 1.115 + 1.116 + 1.117 +.c$(O): 1.118 + $(CC) $(CFLAGS) $(DEFS) $(INCLUDES) -Fo$@ -c $<