52 |
|
selection \ |
53 |
|
restraints \ |
54 |
|
lattice \ |
55 |
+ |
openbabel |
56 |
|
|
57 |
|
#packages containing applications |
58 |
|
Applications = \ |
62 |
|
applications/dynamicProps \ |
63 |
|
applications/simpleBuilder\ |
64 |
|
applications/nanoRodBuilder \ |
65 |
+ |
applications/atom2mdin |
66 |
|
|
67 |
|
Samples = \ |
68 |
|
samples/argon \ |
335 |
|
CppCompiler = @CXX@ |
336 |
|
Linker = @CXX@ |
337 |
|
MakeDepend = makedepend |
338 |
+ |
LN_S = @LN_S@ |
339 |
|
INSTALL = @INSTALL@ |
340 |
|
InstallProgram = @INSTALL_PROGRAM@ |
341 |
|
InstallScript = @INSTALL_SCRIPT@ |
420 |
|
InstallFiles = $(Executable) |
421 |
|
endif |
422 |
|
InstallCommand = $(InstallProgram) |
423 |
+ |
ifneq "$(words $(LinkTargets))" "0" |
424 |
+ |
MyLinkSource = $(patsubst %, $(MyInstallDir)/%,$(Main)) |
425 |
+ |
MyLinkTargets = $(patsubst %, $(MyInstallDir)/%,$(LinkTargets)) |
426 |
+ |
endif |
427 |
|
endif |
428 |
|
|
429 |
|
ifneq "$(words $(ForcefieldFiles))" "0" |
647 |
|
create_archive = $(shell $(StaticArchiver) $(StaticArchiverOptions) $(2) $(call find_objs, $(1))) |
648 |
|
remove_objs = $(shell $(Delete) $(call find_objs, $(1))) |
649 |
|
do_create = $(call extract_objs,$(1))$(call create_archive,$(1),$(2))$(call remove_objs,$(1)) |
650 |
+ |
do_link = $(shell $(LN_S) $(1) $(2)) |
651 |
|
|
652 |
|
$(CombinedStaticLib) : $(LibDir)/.stamp_UP |
653 |
|
$(Print) create $@ |
807 |
|
install : $(InstallListLoop) |
808 |
|
$(Print) Done Install |
809 |
|
|
810 |
< |
_installall : _buildall _installdata |
810 |
> |
_installall : _buildall _installdata _installlinks |
811 |
|
|
812 |
|
$(MyInstallDir) : |
813 |
|
$(MkDir) $@ |
816 |
|
$(Print) $(InstallFiles) |
817 |
|
ifneq "$(words $(InstallFiles))" "0" |
818 |
|
$(InstallCommand) $(InstallFiles) $(MyInstallDir) |
819 |
+ |
endif |
820 |
+ |
|
821 |
+ |
_installlinks : $(MyInstallDir) |
822 |
+ |
ifneq "$(words $(MyLinkTargets))" "0" |
823 |
+ |
@cd $(MyInstallDir) |
824 |
+ |
$(foreach thisLink,$(MyLinkTargets),$(call do_link,$(MyLinkSource),$(thisLink))) |
825 |
|
endif |
826 |
|
|
827 |
|
# make statistics |
834 |
|
$(Print) Done statistics. |
835 |
|
|
836 |
|
# make pure |
837 |
< |
$(Executable).pure : |
838 |
< |
$(Purify) $(PurifyOptions) $(CppCompiler) $(LinkOptions) $(LibDirs) \ |
839 |
< |
$(LibList) $(ObjectFiles) -o $@ |
837 |
> |
#$(Executable).pure : |
838 |
> |
# $(Purify) $(PurifyOptions) $(CppCompiler) $(LinkOptions) $(LibDirs) \ |
839 |
> |
# $(LibList) $(ObjectFiles) -o $@ |
840 |
> |
# |
841 |
> |
#pure : $(Executable).pure |
842 |
|
|
827 |
– |
pure : $(Executable).pure |
828 |
– |
|
843 |
|
#make cvslog |
844 |
|
cvslog: |
845 |
|
$(DEV_ROOT)/scripts/cvs2cl |