I read the Makefile,
and the SYMLINK = ln -sf
and in my .cshrc:
setenv QMAKESPC solaris-cc-64
thanks
Added after 1 24 minutes:
I modified the Makefile in the src folder:
QMAKE_TARGET = qwt
DESTDIR = ../lib/
TARGET = libqwt.so.5.2.1
TARGETA = ../lib/libqwt.a
[U]TARGET0 = libqwt.so
TARGET1 = libqwt.so.5
TARGET2 = libqwt.so.5.2[/U]
QMAKE_TARGET = qwt
DESTDIR = ../lib/
TARGET = libqwt.so.5.2.1
TARGETA = ../lib/libqwt.a
[U]TARGET0 = libqwt.so
TARGET1 = libqwt.so.5
TARGET2 = libqwt.so.5.2[/U]
To copy to clipboard, switch view to plain text mode
and the another segment
all: Makefile ../lib/$(TARGET)
../lib/$(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
@$(CHK_DIR_EXISTS) ../lib/ || $(MKDIR) ../lib/
-$(DEL_FILE) -o $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
[U] -$(SYMLINK) $(TARGET) $(TARGET0)
-$(SYMLINK) $(TARGET) $(TARGET1)
-$(SYMLINK) $(TARGET) $(TARGET2)
-$(DEL_FILE) ../lib/$(TARGET)
-$(DEL_FILE) ../lib/$(TARGET0)
-$(DEL_FILE) ../lib/$(TARGET1)
-$(DEL_FILE) ../lib/$(TARGET2)[/U]
-$(MOVE) $(TARGET) [U]$(TARGET0) $(TARGET1) $(TARGET2)[/U] ../lib/
all: Makefile ../lib/$(TARGET)
../lib/$(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
@$(CHK_DIR_EXISTS) ../lib/ || $(MKDIR) ../lib/
-$(DEL_FILE) -o $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
[U] -$(SYMLINK) $(TARGET) $(TARGET0)
-$(SYMLINK) $(TARGET) $(TARGET1)
-$(SYMLINK) $(TARGET) $(TARGET2)
-$(DEL_FILE) ../lib/$(TARGET)
-$(DEL_FILE) ../lib/$(TARGET0)
-$(DEL_FILE) ../lib/$(TARGET1)
-$(DEL_FILE) ../lib/$(TARGET2)[/U]
-$(MOVE) $(TARGET) [U]$(TARGET0) $(TARGET1) $(TARGET2)[/U] ../lib/
To copy to clipboard, switch view to plain text mode
then it will done.
so I want to know,
how to generate the right makefile if I qmake src.pro?
Bookmarks