File tree Expand file tree Collapse file tree 6 files changed +15
-17
lines changed Expand file tree Collapse file tree 6 files changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ doc/version.texi
5
5
doc /yafc.info
6
6
.deps
7
7
yafc
8
- yafcrc.h
8
+ src / yafcrc.h
9
9
contrib /* .spec
10
10
src /* .o
11
11
src /ftp /* .o
Original file line number Diff line number Diff line change @@ -135,22 +135,21 @@ DEFS = -DLOCALEDIR=\"${YAFC_LOCALEDIR}\" \
135
135
-DSYSCONFDIR=\"@sysconfdir@\" \
136
136
@DEFS@
137
137
138
- BUILT_SOURCES = yafcrc.h
138
+ BUILT_SOURCES = src/ yafcrc.h
139
139
140
140
AM_CPPFLAGS = $(BSD_CFLAGS ) \
141
141
$(SSH_CFLAGS ) \
142
142
$(EDITLINE_CFLAGS ) \
143
143
-I$(top_srcdir ) /src \
144
- -I$(top_srcdir ) /lib \
145
144
-I$(top_srcdir ) /src/ftp \
146
145
-I$(top_srcdir ) /src/libmhe
147
146
148
- yafcrc.h : $(top_srcdir ) /samples/yafcrc
149
- echo " const char *default_yafcrc = \"\" " > yafcrc.h
147
+ src/ yafcrc.h : $(top_srcdir ) /samples/yafcrc
148
+ echo " const char *default_yafcrc = \"\" " > src/ yafcrc.h
150
149
sed \
151
150
-e ' s/\\/\\\\/g' \
152
151
-e ' s/"/\\\"/g' \
153
152
-e ' s/^\(.*\)$$/\"\1\\n\"/' \
154
153
< $(top_srcdir ) /samples/yafcrc \
155
- >> yafcrc.h
156
- echo " ;" >> yafcrc.h
154
+ >> src/ yafcrc.h
155
+ echo " ;" >> src/ yafcrc.h
Original file line number Diff line number Diff line change 14
14
#include "ftp.h"
15
15
#include "input.h"
16
16
#include "gvars.h"
17
- #include "base64.h"
17
+ #include "../../lib/ base64.h"
18
18
#include "commands.h"
19
19
#include "shortpath.h"
20
20
#include "strq.h"
Original file line number Diff line number Diff line change 13
13
#include "syshdr.h"
14
14
15
15
#include "url.h"
16
- #include "xmalloc.h"
17
16
#include "strq.h"
18
- #include "base64.h"
17
+ #include "../../lib/ base64.h"
19
18
20
19
void listify_string (const char * str , list * lp );
21
20
Original file line number Diff line number Diff line change 11
11
*/
12
12
13
13
#include "syshdr.h"
14
- #include "ftp.h"
15
- #include "linklist.h"
14
+ #include "ftp/ftp .h"
15
+ #include "libmhe/ linklist.h"
16
16
#include "stats.h"
17
17
18
18
/* time (in seconds) before a cached directory times out, 0 == never */
Original file line number Diff line number Diff line change 32
32
#endif
33
33
34
34
#ifdef HAVE_CONFIG_H
35
- # include "config.h"
35
+ # include "../ config.h"
36
36
#endif
37
37
38
38
#ifdef HAVE_SYS_TYPES_H
56
56
#include <errno.h>
57
57
#include <grp.h>
58
58
59
- #include "xmalloc.h"
59
+ #include "libmhe/ xmalloc.h"
60
60
61
61
#include <sys/ioctl.h>
62
62
@@ -169,20 +169,20 @@ typedef CPPFunction rl_completion_func_t;
169
169
#ifdef HAVE_FNMATCH_GNU
170
170
#include <fnmatch.h>
171
171
#else
172
- #include "fnmatch.h" /* our own, in lib/ */
172
+ #include "../lib/ fnmatch.h" /* our own, in lib/ */
173
173
#endif
174
174
175
175
#if defined(HAVE_GETOPT_LONG ) && defined(HAVE_GETOPT_H )
176
176
# include <getopt.h>
177
177
#else
178
- # include "getopt.h" /* our own, in lib/ */
178
+ # include "../lib/ getopt.h" /* our own, in lib/ */
179
179
#endif
180
180
181
181
#define min (a , b ) ((a) < (b) ? (a) : (b))
182
182
183
183
#ifdef HAVE_KERBEROS
184
184
# define SECFTP
185
- # include "security.h" /* our own, in lib/ */
185
+ # include "../lib/ security.h" /* our own, in lib/ */
186
186
# ifndef HAVE_DECL_STRLCPY
187
187
size_t strlcpy (char * dst , const char * src , size_t dst_sz );
188
188
# endif
You can’t perform that action at this time.
0 commit comments