Revision 21603,
995 bytes
checked in by zacheiss, 20 years ago
(diff) |
Include build logic to link against different versions of tcl/tk on
Solaris and Linux.
|
Line | |
---|
1 | # $Id: Makefile.athena,v 1.1 2005-03-17 22:23:07 zacheiss Exp $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | |
---|
5 | dist: |
---|
6 | cp "$$CONFIG_SITE" config.site.athena |
---|
7 | |
---|
8 | prepare: |
---|
9 | rm -f Modules/Setup Modules/Setup.local |
---|
10 | case $$ATHENA_HOSTTYPE in \ |
---|
11 | sun4) \ |
---|
12 | echo "_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT -ltk8.3 -ltcl8.3 -lX11" > Modules/Setup.local ; \ |
---|
13 | CONFIG_SITE=`pwd`/config.site.athena \ |
---|
14 | CPPFLAGS="-I/usr/athena/include -I/usr/sfw/include -I/usr/openwin/include" \ |
---|
15 | LDFLAGS="-L/usr/athena/lib -L/usr/sfw/lib -L/usr/openwin/lib -Wl,-R/usr/athena/lib -Wl,-R/usr/sfw/lib" \ |
---|
16 | ./configure \ |
---|
17 | ;; \ |
---|
18 | linux) \ |
---|
19 | echo "_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT -ltk -ltcl -lX11" > Modules/Setup.local ; \ |
---|
20 | CONFIG_SITE=`pwd`/config.site.athena \ |
---|
21 | CPPFLAGS="-I/usr/athena/include -I/usr/X11R6/include" \ |
---|
22 | LDFLAGS="-L/usr/athena/lib -L/usr/X11R6/lib -Wl,-R/usr/athena/lib" \ |
---|
23 | ./configure \ |
---|
24 | ;; \ |
---|
25 | esac |
---|
26 | |
---|
27 | all: |
---|
28 | ${MAKE} |
---|
29 | |
---|
30 | clean: |
---|
31 | ${MAKE} clean |
---|
32 | |
---|
33 | install: |
---|
34 | ${MAKE} install DESTDIR="$$SRVD" |
---|
Note: See
TracBrowser
for help on using the repository browser.