summaryrefslogtreecommitdiff
path: root/examples/LDAP/smbldap-tools/mkntpwd/Makefile
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-08-20 21:52:52 +0000
committerGerald Carter <jerry@samba.org>2003-08-20 21:52:52 +0000
commita750624f4d005e2bc415e86a38947a7fa10d0cb9 (patch)
tree206472fd4bc1af26969b85e2ac19dafe82774eff /examples/LDAP/smbldap-tools/mkntpwd/Makefile
parent8bfe26b62db2e671b143d93a5428f8fb64a9df05 (diff)
downloadsamba-a750624f4d005e2bc415e86a38947a7fa10d0cb9.tar.gz
samba-a750624f4d005e2bc415e86a38947a7fa10d0cb9.tar.bz2
samba-a750624f4d005e2bc415e86a38947a7fa10d0cb9.zip
checlking in initial version of 2.2 scripts so I can start updating them
(This used to be commit 766a5070d58ada7a871a7fab45b5f7e203264952)
Diffstat (limited to 'examples/LDAP/smbldap-tools/mkntpwd/Makefile')
-rw-r--r--examples/LDAP/smbldap-tools/mkntpwd/Makefile62
1 files changed, 62 insertions, 0 deletions
diff --git a/examples/LDAP/smbldap-tools/mkntpwd/Makefile b/examples/LDAP/smbldap-tools/mkntpwd/Makefile
new file mode 100644
index 0000000000..23c9d471b0
--- /dev/null
+++ b/examples/LDAP/smbldap-tools/mkntpwd/Makefile
@@ -0,0 +1,62 @@
+# Makefile for l0phtcrack - mudge@l0pht.com 11/1/96
+
+# C compiler
+#CC=cc
+CC=gcc
+
+# Uncomment the following to add symbols to the code for debugging
+#DEBUG=-g -Wall -D_DEBUG
+#DEBUG=-D_DEBUG
+
+# Optimization for the compiler
+#OPTIMIZE=
+OPTIMIZE=-O2
+
+# Choose your architecture
+# note that if you are on a big-endian machine like SUN's
+# I haven't tweaked the mem-cmp's and md4 stuff to be in
+# the correct order yet. You're on your own right now.
+#
+# FreeBSD
+ARCH=-DMPU8086
+STATIC=
+XLIBS=
+#
+# SUNOS
+#ARCH=-DBIGENDIAN
+#STATIC=
+#OPTIMIZE=-O2
+#XLIBS=
+#
+# ULTRA_SPARC w/ native compiler
+#ARCH=-DBIGENDIAN
+#STATIC=
+#OPTIMIZE=-fast -xO4 -xdepend -xchip=ultra -xarch=v8plus
+#XLIBS=
+#
+# SunOS/Solaris w/gcc
+#ARCH=-DBIGENDIAN -DTEST
+#STATIC=
+#OPTIMIZE=-O2
+#XLIBS=
+#
+# NeXTStep 3.2
+#CC=cc
+#ARCH=-DBIGENDIAN
+#STATIC=-Bstatic
+#OPTIMIZE=
+#XLIBS=
+
+CFLAGS= $(DEBUG) $(OPTIMIZE) $(ARCH) $(VISUAL) $(PERMUTE) $(STATIC)
+
+OBJS = getopt.o md4.o mkntpwd.o smbdes.o
+
+mkntpwd: $(OBJS)
+ $(CC) $(CFLAGS) $(XLIBS) -o mkntpwd $(OBJS)
+
+clean:
+ rm -f core *.o mkntpwd
+
+install: mkntpwd
+ install -m 555 mkntpwd $(PREFIX)/sbin/mkntpwd
+