Changeset 477 for pjproject/trunk


Ignore:
Timestamp:
May 27, 2006 1:11:32 PM (19 years ago)
Author:
bennylp
Message:

Added README-RTEMS and tweaked the makefiles

Location:
pjproject/trunk
Files:
1 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/build/rules.mak

    r433 r477  
    155155           if test -f $$F; then \ 
    156156             echo "$(OBJDIR)/" | tr -d '\n' >> $(DEP_FILE); \ 
    157              if $(CC_NAME) -M $(DEPFLAGS) $$F | sed '/^#/d' >> $(DEP_FILE); then \ 
     157             if $(CC) -M $(DEPFLAGS) $$F | sed '/^#/d' >> $(DEP_FILE); then \ 
    158158                true; \ 
    159159             else \ 
  • pjproject/trunk/pjlib-util/build/Makefile

    r431 r477  
    7070        $(MAKE) -f $(RULES_MAK) APP=UTIL_TEST app=pjlib-util-test $@ 
    7171 
    72 clean depend realclean: 
     72clean: 
    7373        $(MAKE) -f $(RULES_MAK) APP=PJLIB_UTIL app=pjlib-util $@ 
    7474        $(MAKE) -f $(RULES_MAK) APP=UTIL_TEST app=pjlib-util-test $@ 
    75         @if test "$@" = "depend"; then \ 
    76           echo '$(TEST_EXE): $(PJLIB_UTIL_LIB)' >> .pjlib-util-test-$(TARGET_NAME).depend; \ 
    77         fi 
     75 
     76realclean: 
     77        $(subst @@,$(subst /,$(HOST_PSEP),.pjlib-util-$(TARGET_NAME).depend),$(HOST_RMR)) 
     78        $(subst @@,$(subst /,$(HOST_PSEP),.pjlib-util-test-$(TARGET_NAME).depend),$(HOST_RMR)) 
     79        $(MAKE) -f $(RULES_MAK) APP=PJLIB_UTIL app=pjlib-util $@ 
     80        $(MAKE) -f $(RULES_MAK) APP=UTIL_TEST app=pjlib-util-test $@ 
     81 
     82depend: 
     83        $(MAKE) -f $(RULES_MAK) APP=PJLIB_UTIL app=pjlib-util $@ 
     84        $(MAKE) -f $(RULES_MAK) APP=UTIL_TEST app=pjlib-util-test $@ 
     85        echo '$(TEST_EXE): $(PJLIB_UTIL_LIB)' >> .pjlib-util-test-$(TARGET_NAME).depend; \ 
    7886 
    7987 
  • pjproject/trunk/pjlib/build/Makefile

    r431 r477  
    9595 
    9696realclean: 
     97        $(subst @@,$(subst /,$(HOST_PSEP),.pjlib-$(TARGET_NAME).depend),$(HOST_RMR)) 
     98        $(subst @@,$(subst /,$(HOST_PSEP),.pjlib-test-$(TARGET_NAME).depend),$(HOST_RMR)) 
    9799        $(MAKE) -f $(RULES_MAK) APP=PJLIB app=pjlib realclean 
    98100        $(MAKE) -f $(RULES_MAK) APP=TEST app=pjlib-test realclean 
  • pjproject/trunk/pjmedia/build/Makefile

    r452 r477  
    164164        $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_TEST app=pjmedia-test $@ 
    165165 
    166 clean depend realclean: 
     166clean: 
    167167        $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ 
    168168        $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ 
    169169        $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_TEST app=pjmedia-test $@ 
     170 
     171realclean: 
     172        $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-$(TARGET_NAME).depend),$(HOST_RMR)) 
     173        $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-codec-$(TARGET_NAME).depend),$(HOST_RMR)) 
     174        $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-test-$(TARGET_NAME).depend),$(HOST_RMR)) 
     175         
     176        $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ 
    170177        $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ 
    171         @if test "$@" = "depend"; then \ 
    172           echo '$(PJMEDIA_LIB): .pjmedia-$(TARGET_NAME).depend' >> .pjmedia-$(TARGET_NAME).depend; \ 
    173           echo '$(PJMEDIA_CODEC_LIB): .pjmedia-codec-$(TARGET_NAME).depend' >> .pjmedia-codec-$(TARGET_NAME).depend; \ 
    174           echo '$(PJMEDIA_TEST_EXE): $(PJMEDIA_LIB) $(PJMEDIA_CODEC_LIB)' >> .pjmedia-test-$(TARGET_NAME).depend; \ 
    175         fi 
     178        $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_TEST app=pjmedia-test $@ 
     179 
     180depend: 
     181        $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ 
     182        $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ 
     183        $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_TEST app=pjmedia-test $@ 
     184        echo '$(PJMEDIA_LIB): .pjmedia-$(TARGET_NAME).depend' >> .pjmedia-$(TARGET_NAME).depend; \ 
     185        echo '$(PJMEDIA_CODEC_LIB): .pjmedia-codec-$(TARGET_NAME).depend' >> .pjmedia-codec-$(TARGET_NAME).depend; \ 
     186        echo '$(PJMEDIA_TEST_EXE): $(PJMEDIA_LIB) $(PJMEDIA_CODEC_LIB)' >> .pjmedia-test-$(TARGET_NAME).depend; \ 
    176187 
    177188 
  • pjproject/trunk/pjsip/build/Makefile

    r431 r477  
    134134        $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $@ 
    135135 
     136realclean: 
     137        $(subst @@,$(subst /,$(HOST_PSEP),.pjsip-$(TARGET_NAME).depend),$(HOST_RMR)) 
     138        $(subst @@,$(subst /,$(HOST_PSEP),.pjsip-ua-$(TARGET_NAME).depend),$(HOST_RMR)) 
     139        $(subst @@,$(subst /,$(HOST_PSEP),.pjsip-simple-$(TARGET_NAME).depend),$(HOST_RMR)) 
     140        $(subst @@,$(subst /,$(HOST_PSEP),.pjsua-lib-$(TARGET_NAME).depend),$(HOST_RMR)) 
     141        $(MAKE) -f $(RULES_MAK) APP=PJSIP app=pjsip $@ 
     142        $(MAKE) -f $(RULES_MAK) APP=PJSIP_UA app=pjsip-ua $@ 
     143        $(MAKE) -f $(RULES_MAK) APP=PJSIP_SIMPLE app=pjsip-simple $@ 
     144        $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $@ 
    136145 
    137146 
     147 
Note: See TracChangeset for help on using the changeset viewer.