File: Imakefile

package info (click to toggle)
lcgdm 1.10.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 17,532 kB
  • sloc: ansic: 226,887; sh: 13,562; perl: 11,575; python: 11,572; cpp: 5,716; sql: 1,824; makefile: 1,301; fortran: 113
file content (54 lines) | stat: -rw-r--r-- 1,207 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
COMM       @(#)$RCSfile: Imakefile,v $ $Revision: 1.4 $ $Date: 2008/09/24 11:25:01 $ CERN IT-GD/CT Jean-Philippe Baud
COMM
COMM  Copyright (C) 1999-2008 by CERN/IT/GD/CT & CNRS/IN2P3/LAL
COMM  All rights reserved
COMM

COMM		Make DPM tests

#include <Project.tmpl>

SUBDIRS = $(NSDIR) $(DPMDIR) $(SRMV1DIR) $(SRMV2DIR) $(SRMV2_2DIR)

MakeSubdirs(all,$(SUBDIRS))
MakeSubdirs(clean,$(SUBDIRS))
MakeSubdirs(clobber,$(SUBDIRS))
MakeSubdirs(install,$(SUBDIRS))
MakeSubdirs(install.man,$(SUBDIRS))

#if defined(_WIN32)
Makefiles:
	@for %i in ( $(SUBDIRS) ) \
	do @(echo test\\%i - & cd %i & \
		imake -Ui386 -I../../config ;\
		$(MAKE) $(MFLAGS) $@ & cd .. )

depend:
	@echo Not supported on this platform
#else
Makefiles:
	for i in $(SUBDIRS) ;\
	do (if [ -d $$i ] ;\
	    then \
	      (echo " $$i:" ; cd $$i ;\
	      imake -Ui386 -I../../config ;\
	      $(MAKE) $(MFLAGS) $@) ;\
	    else \
	      (echo "ERROR : No directory $$i" ;\
	      exit 1) ;\
	    fi )\
	done ;

depend:
	for i in $(SUBDIRS) ;\
	do (if [ -d $$i ] ;\
	    then \
	      (echo " test/$$i:" ; cd $$i ;\
	      $(MAKE) $(MFLAGS) $@) ;\
	    else \
	      (echo "ERROR : No directory $$i" ;\
	      exit 1) ;\
	    fi )\
	done ;

#endif