mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
This commit is contained in:
parent
e72f703e5b
commit
7277b16017
5
Makefile
5
Makefile
@ -346,7 +346,7 @@ sim_test:
|
||||
################################################################################
|
||||
|
||||
|
||||
clean: clean_sim_serv clean_utils clean_swig clean_dp clean_ICG clean_java
|
||||
clean: clean_sim_serv clean_utils clean_swig clean_dp clean_ICG clean_java clean_sim_serv_xml
|
||||
@/bin/rm -rf $(TRICK_BIN_DIR)
|
||||
@/bin/rm -rf $(TRICK_LIB_DIR)
|
||||
|
||||
@ -394,6 +394,9 @@ clean_dp:
|
||||
clean_java:
|
||||
@ $(MAKE) -C ${TRICK_HOME}/trick_source/java clean
|
||||
|
||||
clean_sim_serv_xml:
|
||||
@/bin/rm -rf ${TRICK_HOME}/share/trick/xml/*
|
||||
|
||||
|
||||
# FIXME: Seems to me that the for loop below should be removed and that the
|
||||
# 'clean' target in trick_sims/makefile should be doing this. --Penn
|
||||
|
@ -13,7 +13,7 @@ while(my $line = <$classes_resource>) {
|
||||
}
|
||||
close($classes_resource);
|
||||
|
||||
open(my $sim_services_resource, "<", "$ENV{TRICK_HOME}/trick_source/sim_services/include/sim_services_classes.resource")
|
||||
open(my $sim_services_resource, "<", "$ENV{TRICK_HOME}/share/trick/xml/sim_services_classes.resource")
|
||||
or open(my $sim_services_resource, "<", "$ENV{TRICK_HOME}/temp_src/io_src/sim_services_classes.resource")
|
||||
or die "cannot open sim_services_classes.resource";
|
||||
|
||||
|
1
share/trick/xml/.gitignore
vendored
Normal file
1
share/trick/xml/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*sim_services_classes.resource
|
@ -279,7 +279,7 @@ void PrintAttributes::printSieClass( ClassValues * cv ) {
|
||||
#ifdef EXTERNAL_BUILD
|
||||
xmlFileName = output_dir + "/sim_services_classes.resource";
|
||||
#else
|
||||
xmlFileName = std::string(getenv("TRICK_HOME")) + "/trick_source/sim_services/include/sim_services_classes.resource";
|
||||
xmlFileName = std::string(getenv("TRICK_HOME")) + "/share/trick/xml/sim_services_classes.resource";
|
||||
#endif
|
||||
} else {
|
||||
xmlFileName = "build/classes.resource";
|
||||
@ -320,7 +320,7 @@ void PrintAttributes::printSieEnum( EnumValues * ev ) {
|
||||
#ifdef EXTERNAL_BUILD
|
||||
xmlFileName = output_dir + "/sim_services_classes.resource";
|
||||
#else
|
||||
xmlFileName = std::string(getenv("TRICK_HOME")) + "/trick_source/sim_services/include/sim_services_classes.resource";
|
||||
xmlFileName = std::string(getenv("TRICK_HOME")) + "/share/trick/xml/include/sim_services_classes.resource";
|
||||
#endif
|
||||
|
||||
} else {
|
||||
|
@ -2,7 +2,4 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefi
|
||||
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
|
||||
-include Makefile_deps
|
||||
|
||||
resource_clean:
|
||||
$(RM) -f sim_services_classes.resource
|
||||
|
||||
real_clean: resource_clean
|
||||
real_clean:
|
||||
|
Loading…
Reference in New Issue
Block a user