Changeset 603

Show
Ignore:
Timestamp:
01/03/12 09:38:22 (5 months ago)
Author:
aldacron
Message:

[Derelict2 - DerelictAllegro?]
* added support for the allegro_ttf addon
* updated the linux and mac makefiles with build targets for DerelictAllegroDialog?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Derelict2/DerelictAllegro/Makefile

    r602 r603  
    99COD_LIB=$(LIB_PRE)DerelictAllegroACodec.$(LIB_EXT) 
    1010DIA_LIB=$(LIB_PRE)DerelictAllegroDialog.$(LIB_EXT) 
     11TTF_LIB=$(LIB_PRE)DerelictAllegroTTF.$(LIB_EXT) 
    1112 
    12 all : $(AL_LIB) $(IMG_LIB) $(FNT_LIB) $(AUD_LIB) $(COD_LIB) $(DIA_LIB) copylib 
     13all : $(AL_LIB) $(IMG_LIB) $(FNT_LIB) $(AUD_LIB) $(COD_LIB) $(DIA_LIB) $(TTF_LIB) copylib 
    1314DerelictAllegro : $(AL_LIB) copylib 
    1415DerelictAllegroImage : $(IMG_LIB) copylib 
     
    1718DerelictAllegroACodec : $(COD_LIB) copylib 
    1819DerelictAllegroDialog : $(DIA_LIB) copylib 
     20DerelictAllegroTTF : $(TTF_LIB) copylib 
    1921 
    2022AL_SRC= \ 
     
    3739DIA_SRC=\ 
    3840    derelict/allegro/dialog.d 
     41     
     42TTF_SRC=\ 
     43    derelict/allegro/ttf.d 
    3944     
    4045$(AL_LIB) : $(DC)_build_al 
     
    4449$(COD_LIB) : $(DC)_build_cod 
    4550$(DIA_LIB) : $(DC)_build_dia 
     51$(TTF_LIB) : $(DC)_build_ttf 
    4652 
    4753# DMD ############################################## 
     
    6369dmd_build_dia: 
    6470    $(DC) $(DFLAGS) $(DFLAGS_REQ) $(DIA_SRC) $(HD)/$(PACKAGE_PATH) $(OF)$(DIA_LIB) 
     71     
     72dmd_build_ttf: 
     73    $(DC) $(DFLAGS) $(DFLAGS_REQ) $(TTF_SRC) $(HD)/$(PACKAGE_PATH) $(OF)$(TTF_LIB) 
    6574     
    6675# LDC ############################################## 
     
    95104    $(RM) *.o 
    96105     
     106ldc_build_ttf: 
     107    $(DC) $(DFLAGS) $(DFLAGS_REQ) $(TTF_SRC) $(HD)/$(PACKAGE_PATH) 
     108    ar rcs $(TTF_LIB) *.o 
     109    $(RM) *.o 
     110     
    97111# GDMD/GDC ############################################## 
    98112gdmd_build_al: 
     
    114128    $(DC) $(DFLAGS) $(DFLAGS_REQ) $(DIA_SRC) $(HD)/$(PACKAGE_PATH) $(OF)$(DIA_LIB) 
    115129     
     130gdmd_build_ttf: 
     131    $(DC) $(DFLAGS) $(DFLAGS_REQ) $(TTF_SRC) $(HD)/$(PACKAGE_PATH) $(OF)$(TTF_LIB) 
     132     
    116133copylib:         
    117134    $(CP) *.$(LIB_EXT) $(LIB_DEST) 
  • branches/Derelict2/linux.mak

    r545 r603  
    6464DerelictAllegroACodec : 
    6565    $(DMAKE) -C DerelictAllegro DerelictAllegroACodec PLATFORM=linux 
     66     
     67DerelictAllegroDialog : 
     68    $(DMAKE) -C DerelictAllegro DerelictAllegroDialog PLATFORM=linux 
     69     
     70DerelictAllegroTTF : 
     71    $(DMAKE) -C DerelictAllegro DerelictAllegroTTF PLATFORM=linux 
    6672 
    6773# There's only one DerelictFMODEX target 
  • branches/Derelict2/mac.mak

    r545 r603  
    5858DerelictAllegroACodec : 
    5959    $(DMAKE) -C DerelictAllegro DerelictAllegroACodec PLATFORM=mac 
     60     
     61DerelictAllegroDialog : 
     62    $(DMAKE) -C DerelictAllegro DerelictAllegroDialog PLATFORM=mac 
     63     
     64DerelictAllegroTTF : 
     65    $(DMAKE) -C DerelictAllegro DerelictAllegroTTF PLATFORM=mac 
    6066 
    6167# There's only one DerelictFMODEX target 
  • branches/Derelict2/win32.mak

    r602 r603  
    9494     
    9595DerelictAllegroDialog : 
     96    cd DerelictAllegro 
     97    $(DMAKE) DerelictAllegroDialog PLATFORM=win32 DC=$(DC) 
     98    cd .. 
     99     
     100DerelictAllegroTTF: 
    96101    cd DerelictAllegro 
    97102    $(DMAKE) DerelictAllegroDialog PLATFORM=win32 DC=$(DC)