Changeset 103

Show
Ignore:
Timestamp:
11/19/07 20:43:51 (1 year ago)
Author:
rcrowley
Message:

Reorganized XPCOM filenames, added RSA MD5 from RFC 1321.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/uploadr/MacUploadr.app/Contents/Resources/components/Makefile

    r95 r103  
    2020 
    2121PLATFORM := $(filter mac ppc linux universal, $(MAKECMDGOALS)) 
    22 COMPONENT := $(filter gm secret, $(MAKECMDGOALS)) 
     22COMPONENT := $(filter gm key, $(MAKECMDGOALS)) 
    2323 
    2424ifeq (mac, $(PLATFORM)) 
     
    4040        @echo "Components:" 
    4141        @echo "  gm" 
    42         @echo "  secret" 
    43         @echo "Steps:" 
    44         @echo "  xpt (Works on Intel Mac only)" 
    45         @echo "  dylib" 
     42        @echo "  key" 
    4643        @echo "Mix & match from the above lists to build components for platforms" 
    4744        @echo "" 
     
    7673                -m header \ 
    7774                -I$(GECKO_SDK).$(PLATFORM)/idl \ 
    78                 gm.idl 
     75                flIGM.idl 
    7976        $(GECKO_SDK).$(PLATFORM)/bin/xpidl \ 
    8077                -m typelib \ 
    8178                -I$(GECKO_SDK).$(PLATFORM)/idl \ 
    82                 gm.idl 
     79                flIGM.idl 
    8380endif 
    8481        g++ -w -c -O2 \ 
    85                 -o gm_impl.o \ 
     82                -o flGM.o \ 
    8683                -I$(GECKO_SDK).$(PLATFORM)/include \ 
    8784                -I$(GM_INCLUDE) \ 
    8885                -I$(EXIV_INCLUDE) \ 
    8986                $(DEFINE) \ 
    90                 gm_impl.cpp 
     87                flGM.cpp 
    9188        g++ -w -c -O2 \ 
    92                 -o gm_module.o \ 
     89                -o flGMModule.o \ 
    9390                -I$(GECKO_SDK).$(PLATFORM)/include \ 
    9491                -I$(GM_INCLUDE) \ 
    9592                -I$(EXIV_INCLUDE) \ 
    9693                $(DEFINE) \ 
    97                 gm_module.cpp 
     94                flGMModule.cpp 
    9895        g++ -dynamiclib -O2 \ 
    9996                -o gm.dylib.$(PLATFORM) \ 
    100                 gm_impl.o gm_module.o \ 
     97                flGM.o flGMModule.o \ 
    10198                -L$(GECKO_SDK).$(PLATFORM)/lib \ 
    10299                -L$(GM_LIB) \ 
     
    118115 
    119116 
    120 secret
     117key
    121118ifneq (universal, $(PLATFORM)) 
    122         @echo "Building the API Secret XPCOM component..." 
     119        @echo "Building the API key XPCOM component..." 
    123120ifeq (mac, $(PLATFORM)) 
    124121        @echo "Building XPT file..." 
     
    126123                -m header \ 
    127124                -I$(GECKO_SDK).$(PLATFORM)/idl \ 
    128                 secret.idl 
     125                flIKey.idl 
    129126        $(GECKO_SDK).$(PLATFORM)/bin/xpidl \ 
    130127                -m typelib \ 
    131128                -I$(GECKO_SDK).$(PLATFORM)/idl \ 
    132                 secret.idl 
     129                flIKey.idl 
    133130endif 
    134131        g++ -w -c -O2 \ 
    135                 -o secret_impl.o \ 
     132                -o flKey.o \ 
    136133                -I$(GECKO_SDK).$(PLATFORM)/include \ 
    137134                $(DEFINE) \ 
    138                 secret_impl.cpp 
     135                flKey.cpp 
    139136        g++ -w -c -O2 \ 
    140                 -o secret_module.o \ 
     137                -o flKeyModule.o \ 
    141138                -I$(GECKO_SDK).$(PLATFORM)/include \ 
    142139                $(DEFINE) \ 
    143                 secret_module.cpp 
     140                flKeyModule.cpp 
    144141        g++ -dynamiclib -O2 \ 
    145                 -o secret.dylib.$(PLATFORM) \ 
    146                 secret_impl.o secret_module.o \ 
     142                -o key.dylib.$(PLATFORM) \ 
     143                flKey.o flKeyModule.o \ 
    147144                -L$(GECKO_SDK).$(PLATFORM)/lib \ 
    148145                -L$(XULRUNNER) -Wl,-executable_path,$(XULRUNNER) \ 
    149146                -lxpcomglue_s -lxpcom -lnspr4 
    150147else 
    151         @echo "Not building the API Secret XPCOM component" 
     148        @echo "Not building the API key XPCOM component" 
    152149endif 
    153150