diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-21 01:05:18 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-21 01:05:18 +0800 |
commit | 9b5400afa68cf72862fbe8bddf709cdbf9c9d852 (patch) | |
tree | cd1aad89d8012cbe39abd897e6f79486fd687939 /daemon/utmpd | |
parent | 585c1b5543748eac10c31917ef10be494208c9f5 (diff) | |
download | pttbbs-9b5400afa68cf72862fbe8bddf709cdbf9c9d852.tar pttbbs-9b5400afa68cf72862fbe8bddf709cdbf9c9d852.tar.gz pttbbs-9b5400afa68cf72862fbe8bddf709cdbf9c9d852.tar.bz2 pttbbs-9b5400afa68cf72862fbe8bddf709cdbf9c9d852.tar.lz pttbbs-9b5400afa68cf72862fbe8bddf709cdbf9c9d852.tar.xz pttbbs-9b5400afa68cf72862fbe8bddf709cdbf9c9d852.tar.zst pttbbs-9b5400afa68cf72862fbe8bddf709cdbf9c9d852.zip |
* utmpserver doesn't depend on util_var.o
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4683 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'daemon/utmpd')
-rw-r--r-- | daemon/utmpd/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/daemon/utmpd/Makefile b/daemon/utmpd/Makefile index 65269c8d..f033e984 100644 --- a/daemon/utmpd/Makefile +++ b/daemon/utmpd/Makefile @@ -1,5 +1,4 @@ # $Id$ -#SRCROOT= .. SRCROOT= ../.. .include "$(SRCROOT)/pttbbs.mk" @@ -19,16 +18,16 @@ all: ${PROGRAMS} .cpp.o: $(CXX) $(CXXFLAGS) -c $*.cpp -utmpserver: utmpserver.o $(UTILOBJ) - ${CC} ${CFLAGS} ${LDFLAGS} -o $* $*.o $(UTILOBJ) $(LDLIBS) -utmpserver2: utmpserver2.o friend.o $(UTILOBJ) - ${CXX} ${CFLAGS} ${LDFLAGS} -o $* $*.o $(UTILOBJ) friend.o $(LDLIBS) -utmpserver3: utmpserver3.o friend.o $(UTILOBJ) - ${CXX} ${CXXFLAGS} ${LDFLAGS} -levent -o $* $*.o $(UTILOBJ) friend.o $(LDLIBS) +utmpserver: utmpserver.o + ${CC} ${CFLAGS} ${LDFLAGS} -o $* $*.o $(LDLIBS) +utmpserver2: utmpserver2.o friend.o + ${CXX} ${CFLAGS} ${LDFLAGS} -o $* $*.o friend.o $(LDLIBS) +utmpserver3: utmpserver3.o friend.o + ${CXX} ${CXXFLAGS} ${LDFLAGS} -levent -o $* $*.o friend.o $(LDLIBS) utmpsync: utmpsync.o $(UTILOBJ) ${CC} ${CFLAGS} ${LDFLAGS} -o $* $*.o $(UTILOBJ) $(LDLIBS) -authserver: authserver.o $(UTILOBJ) +authserver: authserver.o ${CC} ${CFLAGS} ${LDFLAGS} -lcrypt -levent -o $* $> $(LDLIBS) clean: |