Changeset 606

Show
Ignore:
Timestamp:
01/04/12 05:21:06 (5 months ago)
Author:
aldacron
Message:

[Derelict2 - DerelictAllegro?]
* added support for the allegro_primitives addon

Files:

Legend:

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

    r603 r606  
    1010DIA_LIB=$(LIB_PRE)DerelictAllegroDialog.$(LIB_EXT) 
    1111TTF_LIB=$(LIB_PRE)DerelictAllegroTTF.$(LIB_EXT) 
     12PRM_LIB=$(LIB_PRE)DerelictAllegroPrimitives.$(LIB_EXT) 
    1213 
    13 all : $(AL_LIB) $(IMG_LIB) $(FNT_LIB) $(AUD_LIB) $(COD_LIB) $(DIA_LIB) $(TTF_LIB) copylib 
     14all : $(AL_LIB) $(IMG_LIB) $(FNT_LIB) $(AUD_LIB) $(COD_LIB) $(DIA_LIB) $(TTF_LIB) $(PRM_LIB) copylib 
    1415DerelictAllegro : $(AL_LIB) copylib 
    1516DerelictAllegroImage : $(IMG_LIB) copylib 
     
    1920DerelictAllegroDialog : $(DIA_LIB) copylib 
    2021DerelictAllegroTTF : $(TTF_LIB) copylib 
     22DerelictAllegroPrimitives : $(PRM_LIB) copylib 
    2123 
    2224AL_SRC= \ 
     
    4244TTF_SRC=\ 
    4345    derelict/allegro/ttf.d 
     46     
     47PRM_SRC=\ 
     48    derelict/allegro/primitives.d 
    4449     
    4550$(AL_LIB) : $(DC)_build_al 
     
    5055$(DIA_LIB) : $(DC)_build_dia 
    5156$(TTF_LIB) : $(DC)_build_ttf 
     57$(PRM_LIB) : $(DC)_build_prm 
    5258 
    5359# DMD ############################################## 
     
    7278dmd_build_ttf: 
    7379    $(DC) $(DFLAGS) $(DFLAGS_REQ) $(TTF_SRC) $(HD)/$(PACKAGE_PATH) $(OF)$(TTF_LIB) 
     80     
     81dmd_build_prm: 
     82    $(DC) $(DFLAGS) $(DFLAGS_REQ) $(PRM_SRC) $(HD)/$(PACKAGE_PATH) $(OF)$(PRM_LIB) 
    7483     
    7584# LDC ############################################## 
     
    109118    $(RM) *.o 
    110119     
     120ldc_build_prm: 
     121    $(DC) $(DFLAGS) $(DFLAGS_REQ) $(PRM_SRC) $(HD)/$(PACKAGE_PATH) 
     122    ar rcs $(PRM_LIB) *.o 
     123    $(RM) *.o 
     124     
    111125# GDMD/GDC ############################################## 
    112126gdmd_build_al: 
     
    131145    $(DC) $(DFLAGS) $(DFLAGS_REQ) $(TTF_SRC) $(HD)/$(PACKAGE_PATH) $(OF)$(TTF_LIB) 
    132146     
     147gdmd_build_prm: 
     148    $(DC) $(DFLAGS) $(DFLAGS_REQ) $(PRM_SRC) $(HD)/$(PACKAGE_PATH) $(OF)$(PRM_LIB) 
     149     
    133150copylib:         
    134151    $(CP) *.$(LIB_EXT) $(LIB_DEST) 
  • branches/Derelict2/win32.mak

    r603 r606  
    101101    cd DerelictAllegro 
    102102    $(DMAKE) DerelictAllegroDialog PLATFORM=win32 DC=$(DC) 
     103    cd .. 
     104     
     105DerelictAllegroPrimitives: 
     106    cd DerelictAllegro 
     107    $(DMAKE) DerelictAllegroPrimitives PLATFORM=win32 DC=$(DC) 
    103108    cd .. 
    104109