Changeset 198 in Sophya


Ignore:
Timestamp:
Feb 22, 1999, 7:41:43 PM (27 years ago)
Author:
ercodmgr
Message:

pour g++/cxx/LInux piusmak cmv 22/2/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/piusmak

    r38 r198  
    1 CC := gcc
    2 CXX := g++
    31include  $(EROSBASEREP)/Include/MakefileUser.h
    42
     
    64        $(COMPILE.cc) -o $@ $<
    75LIBF =  $(SLB)libpeida.so $(SLB)liberosc.so
    8 LIBS = -L$(SLB) -lpeida -lerosc 
     6LIBS = -L$(SLB) -lpeida -lerosc
    97
    10 #------------------------------------------------- End of Makefile.h -------
     8#--------------------------------------------------------
    119all : piup.so
    1210
     
    1715        cp -p user.so piup.so
    1816
    19  
    2017user.so : user.o $(LIBF)
    21         ld -shared -o user.so -all user.o \
    22         -none $(LIBS) -lgcxx -lm -lc
     18ifeq (${MACHEROS},Linux)
     19        $(LINK.cc) -shared -o user.so --whole-archive user.o --nowhole-archive $(LIBS) -lm -lc
     20endif
     21ifeq (${MACHEROS},OSF1)
     22ifeq ($(CXX), cxx)
     23        $(LINK.cc) -shared -o user.so -all user.o -none $(LIBS) -lm -lc
     24endif
     25ifeq ($(CXX), g++)
     26        ld -shared -o user.so -all user.o -none $(LIBS) -L$(GLB) -lg++ -lstdc++ -lm -lc
     27endif
     28endif
    2329
    2430user.o: user.cc  $(INC)piup.h \
Note: See TracChangeset for help on using the changeset viewer.