xref: /llvm-project-15.0.7/lldb/test/API/functionalities/limit-debug-info/Makefile (revision a03dc8c9)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1*a03dc8c9SPavel LabathCFLAGS_EXTRAS = $(LIMIT_DEBUG_INFO_FLAGS)
2*a03dc8c9SPavel LabathLD_EXTRAS = -L. -lone -ltwo
3*a03dc8c9SPavel LabathCXX_SOURCES = main.cpp
4*a03dc8c9SPavel Labath
5*a03dc8c9SPavel LabathONE_CXXFLAGS = $(LIMIT_DEBUG_INFO_FLAGS)
6*a03dc8c9SPavel Labathifdef STRIP_ONE
7*a03dc8c9SPavel Labath  ONE_CXXFLAGS += -g0
8*a03dc8c9SPavel Labathendif
9*a03dc8c9SPavel Labath
10*a03dc8c9SPavel LabathTWO_CXXFLAGS = $(LIMIT_DEBUG_INFO_FLAGS)
11*a03dc8c9SPavel Labathifdef STRIP_TWO
12*a03dc8c9SPavel Labath  TWO_CXXFLAGS += -g0
13*a03dc8c9SPavel Labathendif
14*a03dc8c9SPavel Labath
15*a03dc8c9SPavel Labathinclude Makefile.rules
16*a03dc8c9SPavel Labath
17*a03dc8c9SPavel Labatha.out: libone libtwo
18*a03dc8c9SPavel Labath
19*a03dc8c9SPavel Labathlibone:
20*a03dc8c9SPavel Labath	$(MAKE) -f $(MAKEFILE_RULES) \
21*a03dc8c9SPavel Labath	  DYLIB_ONLY=YES DYLIB_CXX_SOURCES=one.cpp DYLIB_NAME=one \
22*a03dc8c9SPavel Labath	  CFLAGS_EXTRAS="$(ONE_CXXFLAGS)"
23*a03dc8c9SPavel Labath
24*a03dc8c9SPavel Labathlibtwo: libone
25*a03dc8c9SPavel Labath	$(MAKE) -f $(MAKEFILE_RULES) \
26*a03dc8c9SPavel Labath	  DYLIB_ONLY=YES DYLIB_CXX_SOURCES=two.cpp DYLIB_NAME=two \
27*a03dc8c9SPavel Labath	  CFLAGS_EXTRAS="$(TWO_CXXFLAGS)" LD_EXTRAS="-L. -lone"
28

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026