Преглед на файлове

- cleaned up examples.bak (examples had no g write permissions,
I had to mv it to examples.bak & cp examples.bak to examples; chmod g+w
because the examples owner was "ser")
- undoed some tls stuff

Andrei Pelinescu-Onciul преди 22 години
родител
ревизия
e8f8146efb
променени са 3 файла, в които са добавени 6 реда и са изтрити 1 реда
  1. 2 0
      Makefile
  2. 3 0
      Makefile.sources
  3. 1 1
      main.c

+ 2 - 0
Makefile

@@ -154,6 +154,8 @@ tar:
 		--exclude=$(notdir $(CURDIR))/test* \
 		--exclude=$(notdir $(CURDIR))/tmp* \
 		--exclude=$(notdir $(CURDIR))/debian/ser* \
+		--exclude=$(notdir $(CURDIR))/tls* \
+		--exclude=$(notdir $(CURDIR))/ser_tls* \
 		--exclude=CVS* \
 		--exclude=*.[do] \
 		--exclude=*.so \

+ 3 - 0
Makefile.sources

@@ -14,6 +14,9 @@
 sources=$(filter-out $(auto_gen), $(wildcard *.c) $(wildcard mem/*.c) \
 		$(wildcard parser/*.c) $(wildcard parser/digest/*.c) \
 		$(wildcard parser/contact/*.c) $(wildcard db/*.c) ) $(auto_gen)
+ifneq ($(TLS),)
+	sources+= $(wildcard tls/*.c)
+endif
 objs=$(sources:.c=.o)
 extra_objs=
 depends=$(sources:.c=.d)

+ 1 - 1
main.c

@@ -99,7 +99,7 @@
 #ifdef USE_TCP
 #include "tcp_init.h"
 #ifdef USE_TLS
-#include "tls_init.h"
+#include "tls/tls_init.h"
 #endif
 #endif