]> arthur.barton.de Git - netatalk.git/commitdiff
Changed Makefile to work with current tree setup
authorrufustfirefly <rufustfirefly>
Mon, 7 Aug 2000 20:29:33 +0000 (20:29 +0000)
committerrufustfirefly <rufustfirefly>
Mon, 7 Aug 2000 20:29:33 +0000 (20:29 +0000)
contrib/timelord/Makefile

index 969457b63a1b96a3de8150a2dfc6f4776f5bba85..b1d9c0a20f0c0a666cdfe337e4c9b9e7e692f929 100644 (file)
@@ -1,24 +1,24 @@
 # Set DESTDIR to the root of the netatalk installation:
-DESTDIR=/usr/local/atalk
+PREFIX=/usr
 
 SRC = timelord.c
 OBJ = timelord.o
 
-INCPATH=       -I${DESTDIR}/include
+INCPATH=       -I../../include -I../../sys
 CFLAGS=        ${DEFS} ${OPTOPTS} ${INCPATH}
 LIBS=  ${ADDLIBS} -latalk
 TAGSFILE=      tags
 CC=    cc
 INSTALL=       install
-LIBDIRS=       -L${DESTDIR}/lib
+LIBDIRS=       -L../../libatalk/
 
 all : timelord
 
-timelord : ${OBJ} ${DESTDIR}/lib/libatalk.a
+timelord : ${OBJ} ../../libatalk/libatalk.a
        ${CC} ${CFLAGS} -o timelord ${OBJ} ${LIBDIRS} ${LIBS}
 
 install : all
-       ${INSTALL} -c timelord ${DESTDIR}/etc
+       ${INSTALL} -c timelord ${PREFIX}/sbin
 
 clean :
        rm -f a.out core* *.o *.bak *[Ee]rrs tags