ext2spice: Makefile use EXT2SPICE_MAIN for deprecated standalone
This commit is contained in:
parent
df6bc6bc51
commit
659ec36d2d
|
|
@ -11,7 +11,7 @@ EXTRA_LIBS = ${MAGICDIR}/extflat/libextflat.o ${MAGICDIR}/utils/libutils.a
|
||||||
include ${MAGICDIR}/defs.mak
|
include ${MAGICDIR}/defs.mak
|
||||||
|
|
||||||
LIBS += -lm ${LD_EXTRA_LIBS} ${SUB_EXTRA_LIBS}
|
LIBS += -lm ${LD_EXTRA_LIBS} ${SUB_EXTRA_LIBS}
|
||||||
CLEANS += exttospice${SHDLIB_EXT} spicewrap.o spicehier.o
|
CLEANS += exttospice${SHDLIB_EXT} ext2spice_main.o spicewrap.o spicehier.o
|
||||||
|
|
||||||
main: ext2spice
|
main: ext2spice
|
||||||
|
|
||||||
|
|
@ -23,6 +23,9 @@ spicewrap.o: ext2spice.c ext2spice.h
|
||||||
spicehier.o: ext2hier.c ext2spice.h
|
spicehier.o: ext2hier.c ext2spice.h
|
||||||
${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ext2hier.c -c -o spicehier.o
|
${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ext2hier.c -c -o spicehier.o
|
||||||
|
|
||||||
|
ext2spice_main.o: ext2spice.c
|
||||||
|
${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} -DEXT2SPICE_MAIN -c -o $@ $^
|
||||||
|
|
||||||
exttospice${SHDLIB_EXT}: spicewrap.o spicehier.o ${MAGICDIR}/extflat/libextflat.o
|
exttospice${SHDLIB_EXT}: spicewrap.o spicehier.o ${MAGICDIR}/extflat/libextflat.o
|
||||||
@echo --- making exttospice Tcl library \(exttospice${SHDLIB_EXT}\)
|
@echo --- making exttospice Tcl library \(exttospice${SHDLIB_EXT}\)
|
||||||
${RM} exttospice${SHDLIB_EXT}
|
${RM} exttospice${SHDLIB_EXT}
|
||||||
|
|
|
||||||
|
|
@ -1157,7 +1157,7 @@ runexttospice:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0 /* Independent program "ext2spice" has been deprecated */
|
#ifdef EXT2SPICE_MAIN /* Independent program "ext2spice" has been deprecated */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
@ -1324,7 +1324,7 @@ main(
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* Deprecated */
|
#endif /* EXT2SPICE_MAIN Deprecated */
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue