Changeset 198 in Sophya for trunk/SophyaPI
- Timestamp:
- Feb 22, 1999, 7:41:43 PM (27 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/piusmak
r38 r198 1 CC := gcc2 CXX := g++3 1 include $(EROSBASEREP)/Include/MakefileUser.h 4 2 … … 6 4 $(COMPILE.cc) -o $@ $< 7 5 LIBF = $(SLB)libpeida.so $(SLB)liberosc.so 8 LIBS = -L$(SLB) -lpeida -lerosc 6 LIBS = -L$(SLB) -lpeida -lerosc 9 7 10 #------------------------------------------------- End of Makefile.h-------8 #-------------------------------------------------------- 11 9 all : piup.so 12 10 … … 17 15 cp -p user.so piup.so 18 16 19 20 17 user.so : user.o $(LIBF) 21 ld -shared -o user.so -all user.o \ 22 -none $(LIBS) -lgcxx -lm -lc 18 ifeq (${MACHEROS},Linux) 19 $(LINK.cc) -shared -o user.so --whole-archive user.o --nowhole-archive $(LIBS) -lm -lc 20 endif 21 ifeq (${MACHEROS},OSF1) 22 ifeq ($(CXX), cxx) 23 $(LINK.cc) -shared -o user.so -all user.o -none $(LIBS) -lm -lc 24 endif 25 ifeq ($(CXX), g++) 26 ld -shared -o user.so -all user.o -none $(LIBS) -L$(GLB) -lg++ -lstdc++ -lm -lc 27 endif 28 endif 23 29 24 30 user.o: user.cc $(INC)piup.h \
Note:
See TracChangeset
for help on using the changeset viewer.