Changeset 4711 for pjproject/trunk/pjsip-apps/build/Samples.mak
- Timestamp:
- Jan 23, 2014 2:28:41 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/build/Samples.mak
r4705 r4711 11 11 export _CXXFLAGS:= $(PJ_CXXFLAGS) 12 12 export _LDFLAGS := $(PJ_LDFLAGS) $(PJ_LDLIBS) $(LDFLAGS) 13 export _LDXXFLAGS := $(PJ_LDXXFLAGS) $(PJ_LDXXLIBS) $(LDFLAGS) 13 14 14 15 SRCDIR := ../src/samples … … 30 31 pjsip-perf \ 31 32 pcaputil \ 32 pjsua2_demo \33 33 playfile \ 34 34 playsine \ … … 48 48 vid_streamutil 49 49 50 PJSUA2_SAMPLES := pjsua2_demo 51 50 52 EXES := $(foreach file, $(SAMPLES), $(file)$(HOST_EXE)) 53 PJSUA2_EXES := $(foreach file, $(PJSUA2_SAMPLES), $(file)$(HOST_EXE)) 51 54 52 55 .PHONY: $(EXES) 56 .PHONY: $(PJSUA2_EXES) 53 57 54 all: $(EXES) 58 all: $(EXES) $(PJSUA2_EXES) 55 59 56 60 $(EXES): 57 $(MAKE) --no-print-directory -f $(RULES_MAK) SAMPLE_SRCDIR=$(SRCDIR) SAMPLE_OBJS=$@.o SAMPLE_CFLAGS="$(_CFLAGS)" SAMPLE_CXXFLAGS="$(_CXXFLAGS)" SAMPLE_LDFLAGS="$(_LDFLAGS) -lstdc++" SAMPLE_EXE=$@ APP=SAMPLE app=sample $(subst /,$(HOST_PSEP),$(BINDIR)/$@) 61 $(MAKE) --no-print-directory -f $(RULES_MAK) SAMPLE_SRCDIR=$(SRCDIR) SAMPLE_OBJS=$@.o SAMPLE_CFLAGS="$(_CFLAGS)" SAMPLE_CXXFLAGS="$(_CXXFLAGS)" SAMPLE_LDFLAGS="$(_LDFLAGS)" SAMPLE_EXE=$@ APP=SAMPLE app=sample $(subst /,$(HOST_PSEP),$(BINDIR)/$@) 62 63 $(PJSUA2_EXES): 64 $(MAKE) --no-print-directory -f $(RULES_MAK) PJSUA2_SAMPLE_SRCDIR=$(SRCDIR) PJSUA2_SAMPLE_OBJS=$@.o PJSUA2_SAMPLE_CFLAGS="$(_CFLAGS)" PJSUA2_SAMPLE_CXXFLAGS="$(_CXXFLAGS)" PJSUA2_SAMPLE_LDFLAGS="$(_LDXXFLAGS)" PJSUA2_SAMPLE_EXE=$@ APP=PJSUA2_SAMPLE app=pjsua2_sample $(subst /,$(HOST_PSEP),$(BINDIR)/$@) 58 65 59 66 depend:
Note: See TracChangeset
for help on using the changeset viewer.