diff rvinterf/etmsync/Makefile @ 0:e7502631a0f9

initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Jun 2016 00:13:35 +0000
parents
children 3d148edb87c2
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rvinterf/etmsync/Makefile	Sat Jun 11 00:13:35 2016 +0000
@@ -0,0 +1,44 @@
+CC=	gcc
+CFLAGS=	-O2 -I../include
+PROGS=	fc-dspapidump fc-fsio fc-getpirimei fc-olddump fc-pirhackinit
+INSTBIN=/usr/local/bin
+
+DSPDUMP_OBJS=	connect.o dspapidump.o interf.o launchrvif.o memops.o \
+		simplemain.o
+
+FSIO_OBJS=	connect.o dispatch.o fdcmd.o fileio.o fsbasics.o fscmdtab.o \
+		fserr.o fsiomain.o fsmisc.o fspath.o fsread.o fsupload.o \
+		fswrite.o interf.o launchrvif.o memcmd.o memops.o rfcap.o \
+		stddirs.o symlink.o
+
+OLDDUMP_OBJS=	connect.o interf.o launchrvif.o memops.o olddump.o simplemain.o
+
+PIRIMEI_OBJS=	connect.o interf.o launchrvif.o memops.o pirimei.o \
+		pirimeimain.o simplemain.o
+
+PIRHACK_OBJS=	connect.o fileio.o fserr.o interf.o launchrvif.o memops.o \
+		pirhackinit.o pirimei.o rfcap.o simplemain.o stddirs.o
+
+all:	${PROGS}
+
+fc-dspapidump:	${DSPDUMP_OBJS}
+	${CC} ${CFLAGS} -o $@ ${DSPDUMP_OBJS}
+
+fc-fsio:	${FSIO_OBJS}
+	${CC} ${CFLAGS} -o $@ ${FSIO_OBJS}
+
+fc-olddump:	${OLDDUMP_OBJS}
+	${CC} ${CFLAGS} -o $@ ${OLDDUMP_OBJS}
+
+fc-getpirimei:	${PIRIMEI_OBJS}
+	${CC} ${CFLAGS} -o $@ ${PIRIMEI_OBJS} -lcrypto
+
+fc-pirhackinit:	${PIRHACK_OBJS}
+	${CC} ${CFLAGS} -o $@ ${PIRHACK_OBJS} -lcrypto
+
+install:	${PROGS}
+	mkdir -p ${INSTBIN}
+	install -c ${PROGS} ${INSTBIN}
+
+clean:
+	rm -f *.o *.out *errs ${PROGS}