2000-09-12 07:50:45 +00:00
|
|
|
--- configs/freebsd-g++-shared Sun Sep 10 18:44:24 2000
|
|
|
|
+++ configs/freebsd-g++-shared.new Sun Sep 10 18:44:53 2000
|
2000-08-29 23:44:32 +00:00
|
|
|
@@ -21,7 +21,7 @@
|
1999-08-30 07:13:00 +00:00
|
|
|
SYSCONF_LIBS_X11 = -lXext -lX11 -lm
|
1999-02-25 08:25:17 +00:00
|
|
|
# Qt, Qt+OpenGL
|
|
|
|
SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib
|
2000-08-29 23:44:32 +00:00
|
|
|
-SYSCONF_LIBS_QT = -lqt$(QT_THREAD_SUFFIX)
|
|
|
|
+SYSCONF_LIBS_QT = -lqt2$(QT_THREAD_SUFFIX)
|
|
|
|
SYSCONF_LIBS_QT_OPENGL =
|
1999-02-25 08:25:17 +00:00
|
|
|
# OpenGL
|
2000-03-06 18:24:03 +00:00
|
|
|
SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib
|
2000-08-29 23:44:32 +00:00
|
|
|
@@ -44,7 +44,7 @@
|
|
|
|
SYSCONF_LIBS_THREAD =
|
1999-02-25 08:25:17 +00:00
|
|
|
|
2000-08-29 23:44:32 +00:00
|
|
|
# Meta-object compiler
|
|
|
|
-SYSCONF_MOC = $(QTDIR)/bin/moc
|
|
|
|
+SYSCONF_MOC = $(QTDIR)/bin/moc2
|
|
|
|
|
|
|
|
# UI compiler
|
|
|
|
SYSCONF_UIC = $(QTDIR)/bin/uic
|
2000-09-12 07:50:45 +00:00
|
|
|
@@ -55,16 +55,14 @@
|
1999-08-30 07:13:00 +00:00
|
|
|
# - Usually needs to incorporate $(VER_MAJ), $(VER_MIN) and $(VER_PATCH)
|
1998-07-20 16:51:18 +00:00
|
|
|
#
|
2000-03-06 18:24:03 +00:00
|
|
|
SYSCONF_LINK_SHLIB = g++
|
1999-08-30 07:13:00 +00:00
|
|
|
-SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ).$(VER_MIN).$(VER_PATCH)
|
1999-01-07 10:58:33 +00:00
|
|
|
+SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ)
|
|
|
|
SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -shared \
|
|
|
|
$(LFLAGS) -o $(SYSCONF_LINK_TARGET_SHARED) \
|
1999-08-30 07:13:00 +00:00
|
|
|
$(OBJECTS) $(OBJMOC) $(LIBS) && \
|
1999-01-07 10:58:33 +00:00
|
|
|
mv $(SYSCONF_LINK_TARGET_SHARED) $(DESTDIR); \
|
1999-08-30 07:13:00 +00:00
|
|
|
cd $(DESTDIR) && \
|
|
|
|
- rm -f lib$(TARGET).so lib$(TARGET).so.$(VER_MAJ) lib$(TARGET).so.$(VER_MAJ).$(VER_MIN); \
|
1999-01-07 10:58:33 +00:00
|
|
|
- ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so; \
|
1999-08-30 07:13:00 +00:00
|
|
|
- ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so.$(VER_MAJ); \
|
|
|
|
- ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so.$(VER_MAJ).$(VER_MIN)
|
2000-09-12 07:50:45 +00:00
|
|
|
+ rm -f lib$(TARGET).so;\
|
1999-08-30 07:13:00 +00:00
|
|
|
+ ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so
|
1998-07-20 16:51:18 +00:00
|
|
|
|
|
|
|
# Linking static libraries
|
|
|
|
# - Build the $(TARGET) library, eg. lib$(TARGET).a
|