makefile-updates-20010828
[openafs.git] / src / afsmonitor / Makefile.in
index a51f005..2f546f6 100644 (file)
@@ -13,52 +13,45 @@ SYS_NAME=@AFS_SYSNAME@
 
 SHELL = /bin/sh
 
-
-
 include ../config/Makefile.${SYS_NAME}
 
 CFLAGS=-g -I. \
        -I${TOP_SRCDIR}/config \
-       -I${SRCDIR}include \
-       -I${SRCDIR}include/afs \
+       -I${SRCDIR}/include \
+       -I${SRCDIR}/include/afs \
        -I${SRCDIR} ${XCFLAGS}
 LDFLAGS = ${XLDFLAGS}
-RPCINCLS=
 
-INCLS=${SRCDIR}include/afs/gtxobjects.h \
-       ${SRCDIR}include/afs/gtxwindows.h \
-       ${SRCDIR}include/afs/gtxcurseswin.h \
-       ${SRCDIR}include/afs/gtxdumbwin.h \
-       ${SRCDIR}include/afs/gtxX11win.h \
-       ${SRCDIR}include/afs/gtxobjects.h \
-       ${SRCDIR}include/afs/gtxlightobj.h \
-       ${SRCDIR}include/afs/gtxtextobj.h \
-       ${SRCDIR}include/afs/gtxobjdict.h \
-       ${RPCINCLS} \
-       ${SRCDIR}include/afs/keys.h \
-       ${SRCDIR}include/afs/cellconfig.h \
-       ${SRCDIR}include/afs/cmd.h \
-       ${SRCDIR}include/afs/xstat_fs.h \
-       ${SRCDIR}include/afs/xstat_cm.h \
+INCLS=${SRCDIR}/include/afs/gtxobjects.h \
+       ${SRCDIR}/include/afs/gtxwindows.h \
+       ${SRCDIR}/include/afs/gtxcurseswin.h \
+       ${SRCDIR}/include/afs/gtxdumbwin.h \
+       ${SRCDIR}/include/afs/gtxX11win.h \
+       ${SRCDIR}/include/afs/gtxobjects.h \
+       ${SRCDIR}/include/afs/gtxlightobj.h \
+       ${SRCDIR}/include/afs/gtxtextobj.h \
+       ${SRCDIR}/include/afs/gtxobjdict.h \
+       ${SRCDIR}/include/afs/keys.h \
+       ${SRCDIR}/include/afs/cellconfig.h \
+       ${SRCDIR}/include/afs/cmd.h \
+       ${SRCDIR}/include/afs/xstat_fs.h \
+       ${SRCDIR}/include/afs/xstat_cm.h \
        afsmonitor.h \
        afsmon-labels.h
-LIBS=${SRCDIR}lib/afs/libxstat_fs.a \
-       ${SRCDIR}lib/afs/libxstat_cm.a \
-       ${SRCDIR}lib/afs/libgtx.a \
-       ${SRCDIR}lib/afs/libafsint.a \
-       ${SRCDIR}lib/afs/libcmd.a \
-       ${SRCDIR}lib/librx.a \
-       ${SRCDIR}lib/liblwp.a \
-       ${SRCDIR}lib/afs/libsys.a \
-       ${SRCDIR}lib/afs/util.a 
-
-EXTRA_LIBS= ${TXLIBS} ${SRCDIR}lib/afs/libtermlib.a  ${XLIBS} 
-
-include ../config/Makefile.version
-
-noversion: install
+LIBS=${SRCDIR}/lib/afs/libxstat_fs.a \
+       ${SRCDIR}/lib/afs/libxstat_cm.a \
+       ${SRCDIR}/lib/afs/libgtx.a \
+       ${SRCDIR}/lib/afs/libafsint.a \
+       ${SRCDIR}/lib/afs/libcmd.a \
+       ${SRCDIR}/lib/librx.a \
+       ${SRCDIR}/lib/liblwp.a \
+       ${SRCDIR}/lib/afs/libsys.a \
+       ${SRCDIR}/lib/afs/util.a 
+
+EXTRA_LIBS= ${TXLIBS} ${SRCDIR}/lib/afs/libtermlib.a  ${XLIBS} 
 
 all: afsmonitor 
+system: install
 
 afsmon-output.o: afsmon-output.c ${INCLS}
 afsmon-win.o: afsmon-win.c ${INCLS}
@@ -72,18 +65,13 @@ afsmon-parselog:  afsmon-parselog.o ${LIBS}
        ${CC} ${CFLAGS} -o afsmon-parselog afsmon-parselog.c \
                ${LIBS} ${EXTRA_LIBS}
 
-#gtxtest.o:    gtxtest.c ${INCLS}
-#gtxtest:      gtxtest.o ${LIBS}
-#              cc ${CFLAGS} -o gtxtest gtxtest.o ${LIBS} ${EXTRA_LIBS} 
-
 #
 # Misc others
 #
-system: install
-
 install: all
-       ${INSTALL} afsmonitor ${DESTDIR}bin
+       ${INSTALL} afsmonitor ${DESTDIR}/bin
 
 clean:
-       rm -f  *.o afsmonitor AFS_component_version_number.c
+       rm -f *.o afsmonitor AFS_component_version_number.c
 
+include ../config/Makefile.version