Changeset 1983 in Sophya for trunk/ArchTOIPipe/SMakefile


Ignore:
Timestamp:
May 6, 2002, 6:21:53 PM (23 years ago)
Author:
ansari
Message:

Compil sur MacOS-X (.dylib au lieu de .so) Reza 5/5/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/SMakefile

    r1980 r1983  
    9595# XPILIBS = $(LIBXPIPATH) $(LIBXPILIST)
    9696
     97# --- Shared lib name (extension) depending on OS
     98SLBNAME = $(MYSLB)libpipe.so
     99ifeq ($(MACHEROS),Darwin)
     100SLBNAME = $(MYSLB)libpipe.dylib
     101endif
     102
    97103#  main dependence list
    98 archslb : $(SLB)libpipe.so
     104archslb : $(SLBNAME)
    99105 
    100106# List of .o files for each module
     
    107113
    108114ALLOBJS = $(OBJKernel) $(OBJProcessors) $(OBJProcWSophya)
    109  
     115
    110116# Building ArchTOIPipe shared library
    111 $(SLB)libpipe.so : $(PSLB)
     117$(SLBNAME) : $(PSLB)
    112118        cd  $(OBJ); \
    113         $(CMDSHLCXX) -o $(MYSLB)libpipe.so  \
     119        $(CMDSHLCXX) -o $(SLBNAME)  \
    114120        $(FGSHLACXX) $(ALLOBJS)  $(FGSHLNCXX)\
    115121        -L$(SLB) -lsophya -lextsophya $(EXTLIB) $(LIBLSHL)
Note: See TracChangeset for help on using the changeset viewer.