Revision 21714,
1006 bytes
checked in by ghudson, 20 years ago
(diff) |
Link explicitly against the X libraries. The gtk libraries have them as
ELF dependencies, but that isn't good enough for the Solaris 10 linker.
|
Line | |
---|
1 | # $Id: Makefile.in,v 1.2 2005-04-07 17:29:00 ghudson Exp $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | VPATH=@srcdir@ |
---|
5 | INSTALL=@INSTALL@ |
---|
6 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
7 | srcdir=@srcdir@ |
---|
8 | top_srcdir=@top_srcdir@ |
---|
9 | prefix=@prefix@ |
---|
10 | exec_prefix=@exec_prefix@ |
---|
11 | bindir=@bindir@ |
---|
12 | mandir=@mandir@ |
---|
13 | |
---|
14 | CC=@CC@ |
---|
15 | DEFS=@DEFS@ |
---|
16 | CPPFLAGS=@CPPFLAGS@ |
---|
17 | CFLAGS=@CFLAGS@ |
---|
18 | X_CFLAGS=@X_CFLAGS@ |
---|
19 | LDFLAGS=@LDFLAGS@ |
---|
20 | LIBS=@LIBS@ |
---|
21 | X_LIBS=@X_LIBS@ |
---|
22 | X_PRE_LIBS=@X_PRE_LIBS@ |
---|
23 | X_EXTRA_LIBS=@X_EXTRA_LIBS@ |
---|
24 | ALL_CFLAGS=`pkg-config --cflags gtk+-2.0` ${CPPFLAGS} ${CFLAGS} ${X_CFLAGS} \ |
---|
25 | ${DEFS} |
---|
26 | ALL_LDFLAGS=${LDFLAGS} ${X_LIBS} |
---|
27 | ALL_LIBS=`pkg-config --libs gtk+-2.0` ${X_PRE_LIBS} -lX11 ${X_EXTRA_LIBS} \ |
---|
28 | ${LIBS} |
---|
29 | |
---|
30 | all: gathlogout |
---|
31 | |
---|
32 | gathlogout: gathlogout.o |
---|
33 | ${CC} ${CFLAGS} ${ALL_LDFLAGS} -o $@ gathlogout.o ${ALL_LIBS} |
---|
34 | |
---|
35 | .c.o: |
---|
36 | ${CC} -c ${ALL_CFLAGS} $< |
---|
37 | |
---|
38 | check: |
---|
39 | |
---|
40 | install: |
---|
41 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} |
---|
42 | ${INSTALL_PROGRAM} gathlogout ${DESTDIR}${bindir} |
---|
43 | |
---|
44 | clean: |
---|
45 | rm -f gathlogout.o gathlogout |
---|
46 | |
---|
47 | distclean: clean |
---|
48 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.