Updated Makefiles
This commit is contained in:
parent
cb415a3994
commit
e2bf92cb27
@ -61,25 +61,25 @@ TARGET = mbfido mbseq mbaff mbindex mbdiff mbfile mbmsg
|
||||
all: ${TARGET}
|
||||
|
||||
mbfido: ${MBFIDO_OBJS} ${MBFIDO_LIBS}
|
||||
${CC} -o mbfido ${MBFIDO_OBJS} ${LIBS} ${MBFIDO_LIBS}
|
||||
${CC} -o mbfido ${MBFIDO_OBJS} ${LDFLAGS} ${LIBS} ${MBFIDO_LIBS}
|
||||
|
||||
mbseq: ${MBSEQ_OBJS} ${MBSEQ_LIBS}
|
||||
${CC} -o mbseq ${MBSEQ_OBJS} ${LIBS} ${MBSEQ_LIBS}
|
||||
${CC} -o mbseq ${MBSEQ_OBJS} ${LDFLAGS} ${LIBS} ${MBSEQ_LIBS}
|
||||
|
||||
mbaff: ${MBAFF_OBJS} ${MBAFF_LIBS}
|
||||
${CC} -o mbaff ${MBAFF_OBJS} ${LIBS} ${MBAFF_LIBS}
|
||||
${CC} -o mbaff ${MBAFF_OBJS} ${LDFLAGS} ${LIBS} ${MBAFF_LIBS}
|
||||
|
||||
mbindex: ${MBINDEX_OBJS} ${MBINDEX_LIBS}
|
||||
${CC} -o mbindex ${MBINDEX_OBJS} ${LIBS} ${MBINDEX_LIBS}
|
||||
${CC} -o mbindex ${MBINDEX_OBJS} ${LDFLAGS} ${LIBS} ${MBINDEX_LIBS}
|
||||
|
||||
mbdiff: ${MBDIFF_OBJS} ${MBDIFF_LIBS}
|
||||
${CC} -o mbdiff ${MBDIFF_OBJS} ${LIBS} ${MBDIFF_LIBS}
|
||||
${CC} -o mbdiff ${MBDIFF_OBJS} ${LDFLAGS} ${LIBS} ${MBDIFF_LIBS}
|
||||
|
||||
mbfile: ${MBFILE_OBJS} ${MBFILE_LIBS}
|
||||
${CC} -o mbfile ${MBFILE_OBJS} ${LIBS} ${MBFILE_LIBS}
|
||||
${CC} -o mbfile ${MBFILE_OBJS} ${LDFLAGS} ${LIBS} ${MBFILE_LIBS}
|
||||
|
||||
mbmsg: ${MBMSG_OBJS} ${MBMSG_LIBS}
|
||||
${CC} -o mbmsg ${MBMSG_OBJS} ${LIBS} ${MBMSG_LIBS}
|
||||
${CC} -o mbmsg ${MBMSG_OBJS} ${LDFLAGS} ${LIBS} ${MBMSG_LIBS}
|
||||
|
||||
clean:
|
||||
rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak
|
||||
|
@ -18,7 +18,7 @@ all: mbmon
|
||||
|
||||
|
||||
mbmon: ${OBJS} ${LIBS}
|
||||
${CC} -o mbmon ${OBJS} ${LIBS}
|
||||
${CC} -o mbmon ${OBJS} ${LDFLAGS} ${LIBS}
|
||||
|
||||
clean:
|
||||
rm -f mbmon *.o *.h~ *.c~ core filelist Makefile.bak
|
||||
|
@ -58,25 +58,25 @@ clean:
|
||||
rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak
|
||||
|
||||
mbsebbs: ${MBSEBBS_OBJS} ${MBSEBBS_LIBS}
|
||||
${CC} -o mbsebbs ${MBSEBBS_OBJS} ${LIBS} ${MBSEBBS_LIBS}
|
||||
${CC} -o mbsebbs ${MBSEBBS_OBJS} ${LDFLAGS} ${LIBS} ${MBSEBBS_LIBS}
|
||||
|
||||
mbnewusr: ${MBNEWUSR_OBJS} ${MBNEWUSR_LIBS}
|
||||
${CC} -o mbnewusr ${MBNEWUSR_OBJS} ${LIBS} ${MBNEWUSR_LIBS}
|
||||
${CC} -o mbnewusr ${MBNEWUSR_OBJS} ${LDFLAGS} ${LIBS} ${MBNEWUSR_LIBS}
|
||||
|
||||
mball: ${MBALL_OBJS} ${MBALL_LIBS}
|
||||
${CC} -o mball ${MBALL_OBJS} ${LIBS} ${MBALL_LIBS}
|
||||
${CC} -o mball ${MBALL_OBJS} ${LDFLAGS} ${LIBS} ${MBALL_LIBS}
|
||||
|
||||
mblang: ${MBLANG_OBJS} ${MBLANG_LIBS}
|
||||
${CC} -o mblang ${MBLANG_OBJS} ${LIBS} ${MBLANG_LIBS}
|
||||
${CC} -o mblang ${MBLANG_OBJS} ${LDFLAGS} ${LIBS} ${MBLANG_LIBS}
|
||||
|
||||
mbstat: ${MBSTAT_OBJS} ${MBSTAT_LIBS}
|
||||
${CC} -o mbstat ${MBSTAT_OBJS} ${LIBS} ${MBSTAT_LIBS}
|
||||
${CC} -o mbstat ${MBSTAT_OBJS} ${LDFLAGS} ${LIBS} ${MBSTAT_LIBS}
|
||||
|
||||
mbtoberep: ${MBTOBE_OBJS} ${MBTOBE_LIBS}
|
||||
${CC} -o mbtoberep ${MBTOBE_OBJS} ${LIBS} ${MBTOBE_LIBS}
|
||||
${CC} -o mbtoberep ${MBTOBE_OBJS} ${LDFLAGS} ${LIBS} ${MBTOBE_LIBS}
|
||||
|
||||
mbuser: ${MBUSER_OBJS} ${MBUSER_LIBS}
|
||||
${CC} -o mbuser ${MBUSER_OBJS} ${LIBS} ${MBUSER_LIBS}
|
||||
${CC} -o mbuser ${MBUSER_OBJS} ${LDFLAGS} ${LIBS} ${MBUSER_LIBS}
|
||||
|
||||
install: all
|
||||
@if [ "`id -un`" != "root" ] ; then \
|
||||
|
@ -34,7 +34,7 @@ all: mbsetup
|
||||
|
||||
|
||||
mbsetup: ${OBJS} ${LIBS}
|
||||
${CC} -o mbsetup ${OBJS} ${LIBS}
|
||||
${CC} -o mbsetup ${OBJS} ${LDFLAGS} ${LIBS}
|
||||
|
||||
clean:
|
||||
rm -f mbsetup *.o *.h~ *.c~ core filelist Makefile.bak
|
||||
|
@ -24,7 +24,7 @@ OTHER = Makefile issue issue.netbsd
|
||||
all: mbtask
|
||||
|
||||
mbtask: ${OBJS} ${LIBS}
|
||||
${CC} ${CFLAGS} -o mbtask ${OBJS} ${LIBS}
|
||||
${CC} ${CFLAGS} -o mbtask ${OBJS} ${LDFLAGS} ${LIBS}
|
||||
|
||||
clean:
|
||||
rm -f mbtask *.o *.h~ *.c~ version.* core filelist Makefile.bak
|
||||
|
@ -32,13 +32,13 @@ clean:
|
||||
rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak
|
||||
|
||||
mbuseradd: ${MBUSERADD_OBJS}
|
||||
${CC} -o mbuseradd ${MBUSERADD_OBJS} ${LIBS}
|
||||
${CC} -o mbuseradd ${MBUSERADD_OBJS} ${LDFLAGS} ${LIBS}
|
||||
|
||||
mbpasswd: ${MBPASSWD_OBJS}
|
||||
${CC} -o mbpasswd ${MBPASSWD_OBJS} ${LIBS}
|
||||
${CC} -o mbpasswd ${MBPASSWD_OBJS} ${LDFLAGS} ${LIBS}
|
||||
|
||||
mblogin: ${MBLOGIN_OBJS}
|
||||
${CC} -o mblogin ${MBLOGIN_OBJS} ${LIBS}
|
||||
${CC} -o mblogin ${MBLOGIN_OBJS} ${LDFLAGS} ${LIBS}
|
||||
|
||||
install: all
|
||||
@if [ "`id -un`" != "root" ] ; then \
|
||||
|
Reference in New Issue
Block a user