blob: 9d55486bc273a2ba9de47bfe4c999a0c28248630 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- Makefile.orig Mon Oct 13 15:25:38 1997
+++ Makefile Tue Jul 2 01:04:00 2002
@@ -1,8 +1,11 @@
# New Makefile for apc (13 October 1997)
#
-CFLAGS+=-DOS=\"$(OSTYPE)\" -I${X11BASE}/include
+.if exists(${X11BASE}/include/X11/forms.h)
+XFORMSINC=-I${X11BASE}/include/X11
+.endif
+CFLAGS+=-DOS=\"$(OSTYPE)\" -I${X11BASE}/include ${XFORMSINC}
LDFLAGS+=-L${X11BASE}/lib
-LDADD+=-lxforms -lX11 -lm
+LDADD+=-lforms -lX11 -lm -lXpm
BINDIR=${X11BASE}/bin
MANDIR=${X11BASE}/man/man
PROG= apc
|