blob: ad9fdc80fd481e580507c0446035f415a32ddb76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
$NetBSD: patch-ac,v 1.5 2000/04/28 10:12:44 drochner Exp $
--- sys/unix/Makefile.src.orig Sat Dec 11 06:21:05 1999
+++ sys/unix/Makefile.src Fri Apr 28 11:50:01 2000
@@ -132,8 +132,8 @@
# flags for debugging:
# CFLAGS = -g -I../include
-CFLAGS = -O -I../include
-LFLAGS =
+CFLAGS = -O -I../include -I${X11BASE}/include
+LFLAGS = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib
# Only used for Qt interface (other interfaces are standard C)
CXXFLAGS = -g $(CFLAGS) -I. -I$(QTDIR)/include
@@ -165,8 +165,8 @@
#
#
-WINSRC = $(WINTTYSRC)
-WINOBJ = $(WINTTYOBJ)
+WINSRC = $(WINQTSRC)
+WINOBJ = $(WINQTOBJ)
# on some systems the termcap library is in -ltermcap or -lcurses
# on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead
@@ -192,14 +192,14 @@
# WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0
#
# libraries for Qt
-WINQTLIB = -L$(QTDIR)/lib -lqt
+WINQTLIB = -Wl,-R$(QTDIR)/lib -L$(QTDIR)/lib -lqt -lXpm -lX11 -lICE -lSM -lz -lpng -lXext
#
# libraries for KDE (with Qt)
WINKDELIB = -lkdecore -lkdeui -lXext
#
#
-WINLIB = $(WINTTYLIB)
+WINLIB = $(WINQTLIB)
# any other strange libraries your system needs (for Sysunix only -- the more
# specialized targets should already be right)
|