[lldb/testsuite] Modernize 2 test Makefiles
authorFred Riss <friss@apple.com>
Sat, 18 Jan 2020 04:49:08 +0000 (20:49 -0800)
committerFred Riss <friss@apple.com>
Sat, 18 Jan 2020 04:56:28 +0000 (20:56 -0800)
commit546f8f426463c7c22a3a8731803a501ff044ba20
tree594f80ffeee95ff0b6e619676e3daba8de9eff62
parent509b78883d4f8fdb13ccc754bba9782d51b477d8
[lldb/testsuite] Modernize 2 test Makefiles

Those old Makefiles used completely ad-hoc rules for building files,
which means they didn't obey the test harness' variants.

They were somewhat tricky to update as they use very peculiar build
flags for some files. For this reason I was careful to compare the
build commands before and after the change, which is how I found the
discrepancy fixed by the previous commit.

While some of the make syntax used here might not be easy to grasp for
newcomers (per-target variable overrides), it seems better than to
have to repliacte the Makefile.rules logic for the test variants and
platform support.
lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile
lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/Makefile