1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
### SPAR <http://www.cpan.org/scripts/>
### 1 644 1329052295 1329052295 is_relevant.pl
have_cc
### 13 644 1169469581 1169504947 makepp_test_script.pl
#
# This test checks that 2nd level includes are correctly found and that a
# symlink is not rebuilt just because the linkee is.
#
makepp;
n_files 'n_files_1';
unlink 'answers/n_files' # This file system emulates symlinks by copying. Thus
if !-l 'include/a.h'; # makepp will recreate the "links", so count is wrong.
c_echo 'int i;', '-oa/a1.h';
unlink 'a/a2.h';
makepp;
### 24 644 1165597567 1186006155 RootMakeppfile
makepp_percent_subdirs = 1
$(phony all): a/a.i c.i
ifeq $(filter %cl %cl.exe %bcc32 %bcc32.exe, $(CC))
LN = &ln -fr
else
LN = &cp # These don't understand Cygwin symlinks
endif
include/%.h: a/%.h
$(LN) $(input) include
include/%.h: b/%.h
$(LN) $(input) include
d.h a/a2.h:
&touch $@
%.i: %.c
$(CC) -E -I$(ROOT)/include $(input) >$(output)
c.i: c.c :smartscan
$(CC) -E -I$(ROOT)/include $(input) >$(output)
### D 755 1165597598 1165597598 a/
### 2 644 1165597567 1165595737 a/a.c
#include "b.h"
#include "a.h"
### 1 644 1165597567 1165597311 a/a.h
#include "a1.h"
### 0 644 1165597567 1165597200 a/a1.h
### D 755 1165597598 1165597517 b/
### 2 644 1165597567 1169470101 b/b.h
#include "a.h"
#include "a2.h"
### D 755 1165597598 1165597598 include/
### 1 644 1165597567 1165597311 c.h
#define X
### 6 644 1165597567 1165597311 c.c
#include "c.h"
#undef X
#include "c.h"
#ifdef X
#include "d.h"
#endif
### D 755 1169470547 1169470547 answers/
### 1 644 1169470547 1190056014 answers/n_files_1
8 1 0
### 1 644 1169470587 1190056004 answers/n_files
2 1 0
|