38 |
|
#packages containing libraries |
39 |
|
PackageLibs = \ |
40 |
|
utils \ |
41 |
+ |
visitors \ |
42 |
|
math \ |
43 |
|
types \ |
44 |
|
primitives \ |
44 |
– |
visitors \ |
45 |
|
UseTheForce/DarkSide \ |
46 |
|
UseTheForce \ |
47 |
|
brains \ |
48 |
|
io \ |
49 |
< |
integrators \ |
50 |
< |
minimizers \ |
49 |
> |
integrators\ |
50 |
|
constraints \ |
51 |
< |
profiling \ |
52 |
< |
restraints \ |
51 |
> |
minimizers \ |
52 |
> |
selection \ |
53 |
|
|
54 |
|
#packages containing applications |
55 |
|
Applications = \ |
56 |
|
applications/oopse \ |
57 |
|
applications/dump2Xyz \ |
58 |
< |
applications/simpleBuilder |
58 |
> |
applications/simpleBuilder\ |
59 |
> |
applications/staticProps \ |
60 |
> |
applications/dynamicProps \ |
61 |
|
|
62 |
+ |
Samples = \ |
63 |
+ |
samples/argon \ |
64 |
+ |
samples/water/dimer \ |
65 |
+ |
samples/water/spce \ |
66 |
+ |
samples/water/ssd \ |
67 |
+ |
samples/water/ssde \ |
68 |
+ |
samples/water/tip3p_ice \ |
69 |
+ |
samples/water/tip4p \ |
70 |
+ |
samples/lipid \ |
71 |
+ |
samples/alkane \ |
72 |
+ |
samples/minimizer \ |
73 |
+ |
samples/metals \ |
74 |
+ |
samples/zcons \ |
75 |
+ |
|
76 |
|
IncludeDirs = \ |
62 |
– |
@SPRNG_INC_DIR@ \ |
77 |
|
@MPI_INC_DIR@ |
78 |
|
|
79 |
|
LibraryDirs = \ |
66 |
– |
@SPRNG_LIB_DIR@ \ |
80 |
|
@MPI_LIB_DIR@ |
81 |
|
|
82 |
|
Libraries = \ |
70 |
– |
@SPRNG_LIB@ \ |
83 |
|
@MPI_LIB@ \ |
84 |
|
@MPI_F90_LIB@ |
85 |
|
|
86 |
|
OopseHome = @OOPSE_HOME@ |
87 |
< |
ForceParamDir = @OOPSE_HOME@/share/forceFields/ |
88 |
< |
SampleSimDir = @OOPSE_HOME@/share/samples/ |
87 |
> |
ForceParamDir = $(OopseHome)/share/forceFields |
88 |
> |
SampleSimDir = $(OopseHome)/share/samples |
89 |
> |
InstallBinDir = $(OopseHome)/bin |
90 |
> |
DocDir = $(OopseHome)/doc |
91 |
|
FrcDeclare = -DFRC_PATH="$(ForceParamDir)" |
92 |
+ |
F90Declare = -D__FORTRAN90 |
93 |
|
ParallelDeclare = -DIS_MPI |
94 |
|
UseMPI = @USE_MPI@ |
95 |
+ |
ModuleCase = @F90_MODULE_NAMES@ |
96 |
+ |
ModSuffix = @MOD@ |
97 |
|
LinkOptions = \ |
98 |
|
@F90LIBS@ |
99 |
|
|
111 |
|
TargetDir = $(DEV_ROOT)/obj |
112 |
|
ParallelTargetDir = $(DEV_ROOT)/MPIobj |
113 |
|
LibDir = $(DEV_ROOT)/lib |
97 |
– |
ParallelLibDir = $(DEV_ROOT)/MPIlib |
114 |
|
MakeDir = $(DEV_ROOT)/make |
115 |
|
BinDir = $(DEV_ROOT)/bin |
116 |
|
DocsDir = $(DEV_ROOT)/docs |
123 |
|
# /home/maul/gezelter/src/code/src/UseTheForce/Darkside --> UseTheForce/Darkside |
124 |
|
#Package = $(shell echo $(CurrentDir) | sed -e 's/^.*\/src\/\(.*\)/\1/g') |
125 |
|
#use shell script to get the absolute path and then rip it off from $(CurrentDir) |
126 |
< |
Package = $(subst $(shell cd $(SourceDir); pwd)/,,$(CurrentDir)) |
126 |
> |
#Package = $(subst $(shell cd $(SourceDir); pwd)/,,$(CurrentDir)) |
127 |
> |
# REMINDER: We are now using the Package line in each subdir makefile. |
128 |
> |
# This avoids the strange path problem and the subshell |
129 |
|
|
130 |
|
PackageList = $(Package) |
131 |
|
PackageSourceDir = $(SourceDir)/$(Package) |
225 |
|
ParallelStaticLibrary = $(LibDir)/lib$(subst /,,$(patsubst %,oopse_%,$(Package)))_MPI.a |
226 |
|
endif |
227 |
|
endif |
228 |
+ |
|
229 |
|
# |
230 |
|
# Misc |
231 |
|
# |
247 |
|
# |
248 |
|
#--------------------------------------------------------------------------- |
249 |
|
Print = @echo |
250 |
< |
Move = mv |
250 |
> |
Move = mv -f |
251 |
|
Copy = cp |
252 |
|
CCompiler = @CC@ |
253 |
|
CppCompiler = @CXX@ |
254 |
|
Linker = @CXX@ |
255 |
|
MakeDepend = makedepend |
256 |
< |
Install = @INSTALL@ |
256 |
> |
INSTALL = @INSTALL@ |
257 |
|
InstallProgram = @INSTALL_PROGRAM@ |
258 |
|
InstallData = @INSTALL_DATA@ |
259 |
< |
MakeDir = @MKINSTALLDIRS@ |
259 |
> |
MkDir = @MKINSTALLDIRS@ |
260 |
|
Delete = rm -fr |
261 |
|
StaticArchiver = @AR@ |
262 |
|
DynamicArchiver = @CC@ |
275 |
|
Yacc = @YACC@ |
276 |
|
Lex = @LEX@ |
277 |
|
Ranlib = @RANLIB@ |
278 |
+ |
Doxygen = @DOXYGEN@ |
279 |
|
|
260 |
– |
|
280 |
|
MakeOptions = -k |
281 |
|
MakeDependOptions = |
282 |
|
StaticArchiverOptions = rc |
285 |
|
JniOptions = |
286 |
|
RmiOptions = -d $(TargetDir) -classpath $(ClassPath) \ |
287 |
|
-sourcepath $(SourceDir) |
288 |
< |
COptions = $(FrcDeclare) |
289 |
< |
CParallelOptions = $(FrcDeclare) $(ParallelDeclare) |
290 |
< |
CppOptions = $(FrcDeclare) |
291 |
< |
CppParallelOptions = $(FrcDeclare) $(ParallelDeclare) |
288 |
> |
COptions = $(FrcDeclare) @CFLAGS@ |
289 |
> |
CParallelOptions = $(FrcDeclare) $(ParallelDeclare) @CFLAGS@ |
290 |
> |
CppOptions = $(FrcDeclare) @CXXFLAGS@ @OOPSE_TEMPLATE_FLAGS@ |
291 |
> |
CppParallelOptions = $(FrcDeclare) $(ParallelDeclare) @CXXFLAGS@ @OOPSE_TEMPLATE_FLAGS@ |
292 |
|
FortranOptions = |
293 |
< |
F90Options = @PREPFLAG@ @F90FLAGS@ @MODDIRFLAG@$(SourceDir) -module $(TargetDir) |
294 |
< |
F90ParallelOptions = @PREPFLAG@ @F90FLAGS@ @MODDIRFLAG@$(SourceDir) -module $(ParallelTargetDir) @PREPDEFFLAG@$(ParallelDeclare) |
293 |
> |
F90Options = @PREPFLAG@ @F90FLAGS@ @MODDIRFLAG@$(SourceDir) @MODDIRFLAG@$(TargetDir) |
294 |
> |
F90ParallelOptions = @PREPFLAG@ @F90FLAGS@ @MODDIRFLAG@$(SourceDir) @MODDIRFLAG@$(ParallelTargetDir) @PREPDEFFLAG@$(ParallelDeclare) |
295 |
|
JavaCompilerOptions = -d $(TargetDir) -classpath $(ClassPath) \ |
296 |
|
-sourcepath $(SourceDir) -deprecation |
297 |
|
JavaRunOptions = -classpath $(ClassPath) |
317 |
|
|
318 |
|
#--------------------------------------------------------------------------- |
319 |
|
# |
320 |
+ |
# Install |
321 |
+ |
# |
322 |
+ |
#--------------------------------------------------------------------------- |
323 |
+ |
|
324 |
+ |
ifneq "$(words $(SampleFiles))" "0" |
325 |
+ |
MySample = $(subst $(shell cd $(DEV_ROOT)/samples; pwd)/,,$(CurrentDir)) |
326 |
+ |
MyInstallDir = $(SampleSimDir)/$(MySample) |
327 |
+ |
InstallFiles = $(SampleFiles) |
328 |
+ |
InstallCommand = $(InstallData) |
329 |
+ |
endif |
330 |
+ |
|
331 |
+ |
ifneq "$(words $(Main))" "0" |
332 |
+ |
MyInstallDir = $(InstallBinDir) |
333 |
+ |
ifeq "$(UseMPI)" "yes" |
334 |
+ |
InstallFiles = $(Executable) $(ParallelExecutable) |
335 |
+ |
else |
336 |
+ |
InstallFiles = $(Executable) |
337 |
+ |
endif |
338 |
+ |
InstallCommand = $(InstallProgram) |
339 |
+ |
endif |
340 |
+ |
|
341 |
+ |
ifneq "$(words $(ForcefieldFiles))" "0" |
342 |
+ |
MyInstallDir = $(ForceParamDir) |
343 |
+ |
InstallFiles = $(ForcefieldFiles) |
344 |
+ |
InstallCommand = $(InstallData) |
345 |
+ |
endif |
346 |
+ |
|
347 |
+ |
ifneq "$(words $(InstallFiles))" "0" |
348 |
+ |
InstallList = |
349 |
+ |
else |
350 |
+ |
InstallList = $(patsubst %,$(DEV_ROOT)/%,$(Samples)) $(DEV_ROOT)/forceFields $(patsubst %, $(SourceDir)/%,$(Applications)) |
351 |
+ |
endif |
352 |
+ |
|
353 |
+ |
InstallListLoop = $(patsubst %,$(SourceDir)/%/.install,$(PackageList)) $(patsubst %,%/.install,$(InstallList)) |
354 |
+ |
|
355 |
+ |
|
356 |
+ |
|
357 |
+ |
#--------------------------------------------------------------------------- |
358 |
+ |
# |
359 |
|
# Rules |
360 |
|
# |
361 |
|
#--------------------------------------------------------------------------- |
366 |
|
|
367 |
|
# Create target directory |
368 |
|
$(PackageTargetDir) : |
369 |
< |
$(MakeDir) $@ |
369 |
> |
$(MkDir) $@ |
370 |
|
|
371 |
+ |
$(BinDir) : |
372 |
+ |
$(MkDir) $@ |
373 |
+ |
|
374 |
|
# .c -> .o |
375 |
|
$(PackageTargetDir)/%.o : %.c |
376 |
|
$(Print) $@ |
424 |
|
# .F90 -> .o |
425 |
|
$(PackageTargetDir)/%.o : %.F90 |
426 |
|
$(F90Compiler) $(F90Options) $(IncludePath) -c $< -o $@ |
427 |
+ |
if test -n "`ls *.$(ModSuffix)`"; then \ |
428 |
+ |
$(Move) `ls *.$(ModSuffix)` $(PackageTargetDir);\ |
429 |
+ |
fi |
430 |
|
|
431 |
|
$(PackageParallelTargetDir)/%.o : %.F90 |
432 |
|
$(F90Compiler) $(F90ParallelOptions) $(IncludePath) -c $< -o $@ |
433 |
+ |
if test -n "`ls *.$(ModSuffix)`"; then \ |
434 |
+ |
$(Move) "`ls *.$(ModSuffix)`" $(PackageParallelTargetDir);\ |
435 |
+ |
fi |
436 |
|
|
437 |
|
ifeq "$(UseMPI)" "yes" |
438 |
|
%.o : %.F90 |
439 |
|
$(MAKE) $(MakeOptions) $(PackageTargetDir)/$@ |
440 |
+ |
if test -n "`ls *.$(ModSuffix)`"; then\ |
441 |
+ |
$(Move) "`ls *.$(ModSuffix)`" $(PackageTargetDir);\ |
442 |
+ |
fi |
443 |
+ |
|
444 |
|
$(MAKE) $(MakeOptions) $(PackageParallelTargetDir)/$@ |
445 |
+ |
if test -n "`ls *.$(ModSuffix)`"; then\ |
446 |
+ |
$(Move) "`ls *.$(ModSuffix)`" $(PackageTargetDir);\ |
447 |
+ |
fi |
448 |
+ |
|
449 |
|
else |
450 |
|
%.o : %.F90 |
451 |
|
$(MAKE) $(MakeOptions) $(PackageTargetDir)/$@ |
452 |
+ |
if test -n "`ls *.$(ModSuffix)`"; then\ |
453 |
+ |
$(Move) "`ls *.$(ModSuffix)`" $(PackageTargetDir);\ |
454 |
+ |
fi |
455 |
|
endif |
456 |
|
|
457 |
|
|
491 |
|
|
492 |
|
$(LibDir)/%_UP.a : $(ObjectFiles) |
493 |
|
$(StaticArchiver) $(StaticArchiverOptions) $@ $(ObjectFiles) |
494 |
< |
touch $(LibDir)/.stamp_UP |
494 |
> |
@touch $(LibDir)/.stamp_UP |
495 |
|
|
496 |
|
$(LibDir)/%_MPI.a: $(ParallelObjectFiles) |
497 |
|
$(StaticArchiver) $(StaticArchiverOptions) $@ $(ParallelObjectFiles) |
498 |
< |
touch $(LibDir)/.stamp_MPI |
498 |
> |
@touch $(LibDir)/.stamp_MPI |
499 |
|
|
500 |
|
%_UP.a : $(ObjectFiles) |
501 |
|
$(MAKE) $(MakeOptions) $(LibDir)/$@ |
548 |
|
%_Skel.class : %.class |
549 |
|
$(MAKE) $(MakeOptions) $(PackageTargetDir)/$@ |
550 |
|
|
551 |
+ |
document : |
552 |
+ |
$(Print) Generate Documentation for OOPSE-2.0 |
553 |
+ |
@cd $(DEV_ROOT)/src |
554 |
+ |
$(Doxygen) $(DEV_ROOT)/make/Doxyfile |
555 |
+ |
|
556 |
|
#GUN make funtions to merge the libraries |
557 |
|
find_objs = $(shell $(StaticArchiver) -t $(1)) |
558 |
|
extract_objs = $(shell $(StaticArchiver) -x $(1) $(call find_objs, $(1))) |
560 |
|
remove_objs = $(shell $(Delete) $(call find_objs, $(1))) |
561 |
|
do_create = $(call extract_objs,$(1))$(call create_archive,$(1),$(2))$(call remove_objs,$(1)) |
562 |
|
|
563 |
< |
$(CombinedStaticLib) : $(LibDir)/.stamp_UP |
563 |
> |
$(CombinedStaticLib) : $(LibDir)/.stamp_UP |
564 |
> |
$(Print) create $@ |
565 |
|
$(foreach thisLib,$(LibNames),$(call do_create,$(thisLib),$@)) |
566 |
|
$(Ranlib) $(CombinedStaticLib) |
567 |
|
|
568 |
|
$(CombinedParallelStaticLib) : $(LibDir)/.stamp_MPI |
569 |
+ |
$(Print) create $@ |
570 |
|
$(foreach thisLib,$(ParallelLibNames), $(call do_create, $(thisLib), $@)) |
571 |
|
$(Ranlib) $(CombinedParallelStaticLib) |
572 |
|
|
573 |
|
# Executable |
574 |
< |
$(Executable) : $(CombinedStaticLib) $(ObjectFiles) |
575 |
< |
$(Linker) $(ObjectFiles) $(LinkOptions) $(LibDirs) $(CombinedStaticLib) $(Libraries) -o $@ |
574 |
> |
$(Executable) : $(CombinedStaticLib) $(ObjectFiles) $(BinDir) |
575 |
> |
$(Linker) $(ObjectFiles) $(CombinedStaticLib) $(LinkOptions) $(LibDirs) $(Libraries) -o $@ |
576 |
|
|
577 |
< |
$(ParallelExecutable) : $(CombinedParallelStaticLib) $(ParallelObjectFiles) |
578 |
< |
$(Linker) $(ParallelObjectFiles) $(ParallelLinkOptions) $(LibDirs) $(CombinedParallelStaticLib) $(Libraries) -o $@ |
577 |
> |
$(ParallelExecutable) : $(CombinedParallelStaticLib) $(ParallelObjectFiles) $(BinDir) |
578 |
> |
$(Linker) $(ParallelObjectFiles) $(CombinedParallelStaticLib) $(ParallelLinkOptions) $(LibDirs) $(Libraries) -o $@ |
579 |
|
|
580 |
|
# Anything else is just copied from source to target |
581 |
|
$(PackageTargetDir)/% : $(PackageSourceDir)/% |
588 |
|
|
589 |
|
_all : _buildall |
590 |
|
|
591 |
+ |
_buildall : |
592 |
|
ifeq "$(UseMPI)" "yes" |
593 |
|
_buildall : \ |
594 |
|
$(DependencyFile) \ |
624 |
|
$(Print) Done clean. |
625 |
|
|
626 |
|
_cleanall : |
627 |
< |
$(Delete) $(ObjectFiles) $(ParallelObjectFiles) |
627 |
> |
$(Delete) \ |
628 |
> |
$(ObjectFiles) \ |
629 |
> |
$(ParallelObjectFiles) \ |
630 |
> |
$(JarFile) \ |
631 |
> |
$(SharedLibrary) \ |
632 |
> |
$(StaticLibrary) \ |
633 |
> |
$(ParallelSharedLibrary) \ |
634 |
> |
$(ParallelStaticLibrary) \ |
635 |
> |
$(CombinedStaticLib) \ |
636 |
> |
$(CombinedParallelStaticLib) |
637 |
|
|
638 |
|
# make distclean |
639 |
|
distclean : $(PackageListLoop) |
640 |
|
$(Print) Done clean. |
641 |
|
|
642 |
< |
_distcleanall : |
643 |
< |
$(Delete) $(ObjectFiles) \ |
549 |
< |
$(ParallelObjectFiles) \ |
550 |
< |
$(JarFile) \ |
551 |
< |
$(SharedLibrary) \ |
552 |
< |
$(StaticLibrary) \ |
553 |
< |
$(ParallelSharedLibrary) \ |
554 |
< |
$(ParallelStaticLibrary) \ |
555 |
< |
$(Executable) \ |
642 |
> |
_distcleanall : _cleanall |
643 |
> |
$(Delete) $(Executable) \ |
644 |
|
$(ParallelExecutable) \ |
645 |
|
$(DependencyFile) |
646 |
|
|
559 |
– |
|
647 |
|
# make depend |
648 |
|
depend : $(PackageListLoop) |
649 |
|
$(Print) Done dependencies. |
654 |
|
$(Print) $@ |
655 |
|
@cd $(PackageSourceDir) |
656 |
|
|
570 |
– |
@touch Make.ctemp |
571 |
– |
@touch Make.ctemp |
572 |
– |
|
657 |
|
ifneq "$(words $(CppFiles))" "0" |
658 |
< |
$(CppCompiler) $(IncludePath) -MM $(CppFiles) > Make.cpptemp |
659 |
< |
cat Make.cpptemp | sed 's/^[a-zA-Z0-9]/$$\(DEV_ROOT\)\/obj\/&/g' >> $(DependencyFile) |
660 |
< |
cat Make.cpptemp | sed 's/^[a-zA-Z0-9]/$$\(DEV_ROOT\)\/MPIobj\/&/g' >> $(DependencyFile) |
658 |
> |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(TargetDir)/' -MM $(CppFiles)>> Make.cpptemp |
659 |
> |
@cat Make.cpptemp >> $(DependencyFile) |
660 |
> |
$(Delete) Make.cpptemp |
661 |
> |
|
662 |
> |
ifeq "$(UseMPI)" "yes" |
663 |
> |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(ParallelTargetDir)/' $(ParallelDeclare) -MM $(CppFiles)>> Make.cpptemp |
664 |
> |
@cat Make.cpptemp >> $(DependencyFile) |
665 |
> |
@$(Delete) Make.cpptemp |
666 |
> |
endif |
667 |
> |
|
668 |
|
endif |
669 |
|
|
670 |
|
ifneq "$(words $(CFiles))" "0" |
671 |
< |
$(CCompiler) $(IncludePath) -MM $(CFiles) $(DerivedCFiles) > Make.ctemp |
672 |
< |
cat Make.ctemp | sed 's/^[a-zA-Z0-9]/$$\(DEV_ROOT\)\/obj\/&/g' >> $(DependencyFile) |
673 |
< |
cat Make.ctemp | sed 's/^[a-zA-Z0-9]/$$\(DEV_ROOT\)\/MPIobj\/&/g' >> $(DependencyFile) |
671 |
> |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(TargetDir)/' -MM $(CFiles) $(DerivedCFiles) >> Make.ctemp |
672 |
> |
@cat Make.ctemp >> $(DependencyFile) |
673 |
> |
$(Delete) Make.ctemp |
674 |
|
|
675 |
+ |
ifeq "$(UseMPI)" "yes" |
676 |
+ |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(ParallelTargetDir)/' $(ParallelDeclare) -MM $(CFiles) $(DerivedCFiles) >> Make.ctemp |
677 |
+ |
@cat Make.ctemp >> $(DependencyFile) |
678 |
+ |
@$(Delete) Make.ctemp |
679 |
+ |
endif |
680 |
+ |
|
681 |
|
endif |
682 |
|
|
683 |
|
ifneq "$(words $(F90Files))" "0" |
684 |
< |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(DEV_ROOT)/obj/' -D__FORTRAN90 $(F90Files) > Make.ftemp |
685 |
< |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(DEV_ROOT)/MPIobj/' -DIS_MPI -D__FORTRAN90 $(F90Files) >> Make.ftemp |
686 |
< |
cat Make.ftemp >> $(DependencyFile) |
684 |
> |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(TargetDir)/' $(F90Declare) -MM -mc $(ModuleCase) -ms $(ModSuffix) $(F90Files) > Make.ftemp |
685 |
> |
@cat Make.ftemp >> $(DependencyFile) |
686 |
> |
@$(Delete) Make.ftemp |
687 |
> |
|
688 |
> |
ifeq "$(UseMPI)" "yes" |
689 |
> |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(ParallelTargetDir)/' $(ParallelDeclare) $(F90Declare) -MM -mc $(ModuleCase) -ms $(ModSuffix) $(F90Files) >> Make.ftemp |
690 |
> |
@cat Make.ftemp >> $(DependencyFile) |
691 |
> |
@$(Delete) Make.ftemp |
692 |
> |
endif |
693 |
> |
|
694 |
|
endif |
591 |
– |
$(Delete) Make.cpptemp Make.ctemp Make.ftemp |
695 |
|
|
696 |
|
# make lib |
697 |
|
lib : $(PackageListLoop) |
704 |
|
jarsign : $(JarFile) |
705 |
|
$(JarSigner) -keystore GeoSoftKeystore $(JarFile) myself |
706 |
|
|
707 |
+ |
#make install |
708 |
+ |
%.install : |
709 |
+ |
@$(MAKE) $(MakeOptions) -C $(subst .install,,$@) _installall |
710 |
+ |
|
711 |
+ |
install : $(InstallListLoop) |
712 |
+ |
$(Print) Done Install |
713 |
+ |
|
714 |
+ |
_installall : _buildall _installdata |
715 |
+ |
|
716 |
+ |
$(MyInstallDir) : |
717 |
+ |
$(MkDir) $@ |
718 |
+ |
|
719 |
+ |
_installdata : $(MyInstallDir) |
720 |
+ |
$(Print) $(InstallFiles) |
721 |
+ |
ifneq "$(words $(InstallFiles))" "0" |
722 |
+ |
$(InstallData) $(InstallFiles) $(MyInstallDir) |
723 |
+ |
endif |
724 |
+ |
|
725 |
|
# make statistics |
726 |
|
_statisticsall : |
727 |
< |
@$(Print) $(SourceFiles) >> $(DEV_ROOT)/files.tmp |
727 |
> |
@$(Print) $(patsubst %,$(CurrentDir)/%,$(SourceFiles)) >> $(DEV_ROOT)/files.tmp |
728 |
|
|
729 |
|
statistics : $(PackageListLoop) |
730 |
|
@$(List) $(DEV_ROOT)/files.tmp | xargs $(WordCount) $(WordCountOptions) |