File: 2004_12_17_idl.test

package info (click to toggle)
makepp 2.0.98.5-2.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,744 kB
  • sloc: perl: 15,893; makefile: 38; javascript: 25; sh: 1
file content (37 lines) | stat: -rw-r--r-- 1,248 bytes parent folder | download | duplicates (3)
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
###	SPAR <http://www.cpan.org/scripts/>
###	1	644	1329052295	1329052295	is_relevant.pl
have_cc
###	13	644	1113847363	1113847363	Makeppfile
# This tests that parser c_compilation finds an #include in an IDL file.
# And that this happens from a C compiler including the output without
# an undefined value being returned from Mpp::Scanner::include.

%.h %.c: %.idl
	: parser c_compilation
	.$/idlcompiler -Iinclude $(input)

include/%.idl: from/%.idl
	&ln $(input) $(output)

test.i: test.c	# AIX compiler doesn't like -o here
	$(CC) -E $(input) >$(output)
###	4	755	1113847363	1113847363	idlcompiler
#! /bin/sh
# Never mind real IDL compiler functionality.
echo a >try.h	# AIX compiler would warn about empty file
>try.c
###	2	755	1113847363	1208539694	idlcompiler.bat
@echo a >try.h
@echo >try.c
###	1	644	1113847363	1113847363	test.c
#include "try.h"
###	1	644	1105301400	1105300333	try.idl
#include "more.idl"
###	D	755	1105301531	1105301438	from/
###	1	644	1105301400	1105300066	from/more.idl
/* to be found automatically */
###	D	755	1105301531	1105301524	include/
###	D	755	1105301531	1105301438	answers/
###	D	755	1105301531	1105301438	answers/include/
###	1	644	1105301400	1105300066	answers/include/more.idl
/* to be found automatically */