aboutsummaryrefslogtreecommitdiff
path: root/emulators/extract-xiso/files/Makefile
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-09-30 21:55:34 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-09-30 21:55:34 +0000
commit8290420c24a6c23060e41a226cb64744c0d7237e (patch)
treeb80fe35f53dc6e895387d6d1fbddf271320b8bf2 /emulators/extract-xiso/files/Makefile
parentc414238f4b44e234a9c43b567853e0a46ddc0867 (diff)
Notes
Diffstat (limited to 'emulators/extract-xiso/files/Makefile')
-rw-r--r--emulators/extract-xiso/files/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/emulators/extract-xiso/files/Makefile b/emulators/extract-xiso/files/Makefile
new file mode 100644
index 000000000000..6fcb9cceb18b
--- /dev/null
+++ b/emulators/extract-xiso/files/Makefile
@@ -0,0 +1,23 @@
+#
+# $FreeBSD$
+#
+
+LIBFTP_DIR=libftp-5.0.1.modified.by.in
+CFLAGS+=-D__FREEBSD__
+
+extract-xiso: extract-xiso.c
+ @${MAKE} libftp
+ ${CC} ${CFLAGS} -lc_r -o extract-xiso extract-xiso.c ${LIBFTP_DIR}/libftp.a
+
+libftp:
+ @${MAKE} -C ${LIBFTP_DIR}
+
+clean:
+ @${MAKE} -C ${LIBFTP_DIR} clean
+ @rm -f extract-xiso
+
+all: extract-xiso
+
+dist:
+ @${MAKE} clean
+ @${MAKE}