X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fclam%2Fcpp%2Frules.def;h=64f2dde58605a44e6f56406dafa532f48bbd0964;hb=4be7627787c8ef59b9c2dac636d2665afbb9bf96;hp=eff3d6bf0a7278e720f75969c12864256d1c36ed;hpb=54bafaab2c49eb0c64e6e40750f2f14e869f1edd;p=feisty_meow.git diff --git a/scripts/clam/cpp/rules.def b/scripts/clam/cpp/rules.def index eff3d6bf..64f2dde5 100644 --- a/scripts/clam/cpp/rules.def +++ b/scripts/clam/cpp/rules.def @@ -450,6 +450,21 @@ include rules.def ############################################################################ +# this adds in a customization for the cleanup variables, since the base +# clam code has no idea about a dynamic library directory. + +cpp_add_to_cleanups_variable: +# echo here is actual targets before hand $(ACTUAL_TARGETS) + $(eval CLEANUPS = $(ACTUAL_TARGETS:$(STATIC_LIBRARY_DIR)/%.library=$(STATIC_LIBRARY_DIR)/$(LIB_PREFIX)%.a) $(CLEANUPS) ) +# echo "IN CPP, new CLEANUPS variable: $(CLEANUPS)" + +#dynamic is taken care of in clam base still? +#DYNAMIC_LIBRARY_DIR +#hmmm: still should change there in the base and do it +# here instead. + +############################################################################ + # C++ source to object file translation. # if there is a special set of flags for this source file, we use them # instead of the default compiler flags.