mirror of
git://slackware.nl/current.git
synced 2025-01-15 15:41:54 +01:00
5a12e7c134
Wed Aug 26 10:00:38 CDT 2009 Slackware 13.0 x86_64 is released as stable! Thanks to everyone who helped make this release possible -- see the RELEASE_NOTES for the credits. The ISOs are off to the replicator. This time it will be a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. We're taking pre-orders now at store.slackware.com. Please consider picking up a copy to help support the project. Once again, thanks to the entire Slackware community for all the help testing and fixing things and offering suggestions during this development cycle. As always, have fun and enjoy! -P.
60 lines
2 KiB
Diff
60 lines
2 KiB
Diff
--- ncompress-4.2.4/Makefile.orig Thu Oct 31 10:38:46 1996
|
|
+++ ncompress-4.2.4/Makefile Thu Oct 31 10:39:12 1996
|
|
@@ -0,0 +1,57 @@
|
|
+# Makefile generated by build.
|
|
+
|
|
+# C complier
|
|
+CC=cc $(RPM_OPT_FLAGS)
|
|
+
|
|
+# Install directory for binarys
|
|
+BINDIR=/usr/bin
|
|
+
|
|
+# Install directory for manual
|
|
+MANDIR=/usr/man/man1
|
|
+
|
|
+# compiler options:
|
|
+# options is a collection of:
|
|
+#
|
|
+# -DAMIGA=1 Amiga support.
|
|
+# -DNOFUNCDEF=1 Disable libary function definitions in
|
|
+# compress42.c
|
|
+# -DDIRENT=1 Use dirent.h
|
|
+# -DSYSDIR=1 Use sys/dir.h
|
|
+# -DLSTAT=1 Use lstat for finding symlinks.
|
|
+# -DUTIME_H=1 Use utime.h
|
|
+# -DUSERMEM=<size> Availble memory for compress (default 800k).
|
|
+# -DREGISTERS=<nbr> Number of registers (default 2).
|
|
+# -DIBUFSIZ=<size> Input buffer size (default BUFSIZ).
|
|
+# -DOBUFSIZ=<size> Output buffer size (default BUFSIZ)
|
|
+# -DBYTEORDER=<order> Byte order (default: unknown).
|
|
+# -DNOALLIGN=1 Data word allignment (default: yes).
|
|
+# -DDEF_ERRNO=1 Define error (not defined in errno.h).
|
|
+# -DMAXSEG_64K=1 -BITS=16 Support segment processsor like 80286.
|
|
+#
|
|
+options= -DDIRENT=1 -DSYSDIR=1 -DUTIME_H=1 -DUSERMEM=800000 -DREGISTERS=20 -DIBUFSIZ=1024 -DOBUFSIZ=1024 -DBYTEORDER=$(ENDIAN)
|
|
+
|
|
+# libary options
|
|
+LBOPT=
|
|
+
|
|
+
|
|
+compress: Makefile compress42.c patchlevel.h
|
|
+ $(CC) -o compress $(options) "-DCOMPILE_DATE=\"`date`\"" compress42.c
|
|
+
|
|
+install: compress
|
|
+ [ -f $(BINDIR)/compress ] && \
|
|
+ { rm -f $(BINDIR)/compress.old ; \
|
|
+ mv $(BINDIR)/compress $(BINDIR)/compress.old ; }
|
|
+ rm -f $(BINDIR)/uncompress $(BINDIR)/zcat
|
|
+ cp compress $(BINDIR)/compress
|
|
+ strip $(BINDIR)/compress
|
|
+ rm -f $(BINDIR)/uncompress
|
|
+ ln $(BINDIR)/compress $(BINDIR)/uncompress
|
|
+ rm -f $(BINDIR)/zcat
|
|
+ ln -f $(BINDIR)/compress $(BINDIR)/zcat
|
|
+ cp zcmp zdiff zmore $(BINDIR)/.
|
|
+ chmod 0755 $(BINDIR)/compress $(BINDIR)/zcmp $(BINDIR)/zdiff $(BINDIR)/zmore
|
|
+ cp compress.1 zcmp.1 zmore.1 $(MANDIR)/.
|
|
+ chmod 0644 $(MANDIR)/compress.1 $(MANDIR)/zcmp.1 $(MANDIR)/zmore.1
|
|
+
|
|
+cleanup:
|
|
+ rm -f compress compress.def comp.log
|