Skip to content

Commit

Permalink
Fix line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwoodcock committed Feb 22, 2010
1 parent 764aba0 commit 3cab9f4
Showing 1 changed file with 110 additions and 110 deletions.
220 changes: 110 additions & 110 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,110 +1,110 @@
#
# nspark makefile (UNIX)
#
# $Header: makefile 1.30 92/12/23 $
#
# SYSTYPE: BSD42, BSD43, BSD44,
# SYSV2, SYSV3, SYSV4,
#
SYSTYPE= BSD44
INSTALLDIR= $${HOME}/bin
CC = cc

# Under System V change "install" to "cp"
INSTALL = install -s

# --- You shouldn't need to edit below this line ---

VERSION = 1.7.8b1
MAINTAINER = [email protected]
BACKUPFILE = $${HOME}/tmp/nspark.zip

CDEFINES = -I. -O
CMISC = -DVERSION=\"$(VERSION)\" -DMAINTAINER=\"$(MAINTAINER)\" -D$(SYSTYPE)
# BB: For SGI systems fitted with a MIPS R4000 or better, add -mips2 to CFLAGS.
CFLAGS = $(CDEFINES) $(CMISC)
PROG = nspark
TESTPACK = testprog/testpack
SRCS = store.c pack.c compress.c crc.c \
io.c error.c misc.c date.c unix.c arcfs.c garble.c
HDRS = store.h pack.h compress.h crc.h \
nsparkio.h error.h misc.h date.h os.h spark.h arcfs.h garble.h
OBJS = store.o pack.o compress.o crc.o \
io.o error.o misc.o date.o unix.o arcfs.o garble.o

NSPARKSRCS = main.c arc.c unarc.c
NSPARKHDRS = main.h arc.h unarc.h
NSPARKOBJS = main.o arc.o unarc.o

TESTPACKSRCS = testprog/pack.c
TESTPACKOBJS = testprog/pack.o

# BB: For SGI systems use LIBS -lc_s -s.
LIBS =

.DEFAULT:
cc -c $<

all: $(PROG) $(TESTPACK)

$(TESTPACK): $(OBJS) $(TESTPACKOBJS)
$(CC) -o $(TESTPACK) $(OBJS) $(TESTPACKOBJS) $(LIBS)

$(PROG): $(OBJS) $(NSPARKOBJS)
$(CC) -o $(PROG) $(OBJS) $(NSPARKOBJS) $(LIBS)

install: $(PROG)
$(INSTALL) $(PROG) $(INSTALLDIR)

depend: $(SRCS) $(HDRS) $(NSPARKSRCS) $(NSPARKHDRS)
makedepend -w200 $(CDEFINES) -D$(SYSTYPE) -- $(SRCS) $(NSPARKSRCS)
mv makefile makefile.old
sed -f nosysdep.sed < makefile.old > makefile
rm -f makefile.old makefile.bak

tags: $(SRCS) $(HDRS)
ctags $(SRCS) $(HDRS)

clean:
rm -f $(PROG) $(TESTPACK) $(OBJS) $(NSPARKOBJS) $(TESTPACKOBJS) mkendian endian.h
rm -f a.out core *~

backup: clean
(cd ..; zip -r9y $(BACKUPFILE) nspark)

TMPDIR = $$HOME/tmp
DISTLEAF = nspark-$(VERSION)
DISTDIR = $(TMPDIR)/$(DISTLEAF)
dist: clean $(SRCS) $(HDRS)
rm -f RCS/rel-$(VERSION)
makerel makefile *.c *.h > RCS/rel-$(VERSION)
chmod 444 RCS/rel-$(VERSION)
mkdir $(DISTDIR)
cp *.c *.h nosysdep.sed README BUGS CHANGES makefile $(DISTDIR)
mkdir $(DISTDIR)/mkfiles
cp mkfiles/* $(DISTDIR)/mkfiles
(cd $(TMPDIR); tar cf - $(DISTLEAF) | compress > $(DISTLEAF).tar.Z)
(cd $(TMPDIR); rm -rf $(DISTLEAF))

io.o: endian.h

endian.h: mkendian
./mkendian > endian.h

mkendian: mkendian.c
$(CC) -o mkendian mkendian.c

# DO NOT DELETE THIS LINE -- make depend depends on it.

main.o: spark.h nsparkio.h cproto.h error.h misc.h arc.h unarc.h
arc.o: spark.h error.h cproto.h
unarc.o: spark.h store.h cproto.h pack.h compress.h main.h nsparkio.h misc.h os.h error.h crc.h
store.o: spark.h main.h crc.h cproto.h nsparkio.h
pack.o: spark.h main.h crc.h cproto.h nsparkio.h
compress.o: spark.h pack.h cproto.h main.h crc.h nsparkio.h
crc.o: spark.h main.h
io.o: spark.h main.h error.h cproto.h arcfs.h
error.o: error.h cproto.h
misc.o: spark.h cproto.h main.h date.h misc.h
date.o: spark.h
unix.o: spark.h date.h cproto.h
#
# nspark makefile (UNIX)
#
# $Header: makefile 1.30 92/12/23 $
#
# SYSTYPE: BSD42, BSD43, BSD44,
# SYSV2, SYSV3, SYSV4,
#
SYSTYPE= BSD44
INSTALLDIR= $${HOME}/bin
CC = cc

# Under System V change "install" to "cp"
INSTALL = install -s

# --- You shouldn't need to edit below this line ---

VERSION = 1.7.8b1
MAINTAINER = [email protected]
BACKUPFILE = $${HOME}/tmp/nspark.zip

CDEFINES = -I. -O
CMISC = -DVERSION=\"$(VERSION)\" -DMAINTAINER=\"$(MAINTAINER)\" -D$(SYSTYPE)
# BB: For SGI systems fitted with a MIPS R4000 or better, add -mips2 to CFLAGS.
CFLAGS = $(CDEFINES) $(CMISC)
PROG = nspark
TESTPACK = testprog/testpack
SRCS = store.c pack.c compress.c crc.c \
io.c error.c misc.c date.c unix.c arcfs.c garble.c
HDRS = store.h pack.h compress.h crc.h \
nsparkio.h error.h misc.h date.h os.h spark.h arcfs.h garble.h
OBJS = store.o pack.o compress.o crc.o \
io.o error.o misc.o date.o unix.o arcfs.o garble.o

NSPARKSRCS = main.c arc.c unarc.c
NSPARKHDRS = main.h arc.h unarc.h
NSPARKOBJS = main.o arc.o unarc.o

TESTPACKSRCS = testprog/pack.c
TESTPACKOBJS = testprog/pack.o

# BB: For SGI systems use LIBS -lc_s -s.
LIBS =

.DEFAULT:
cc -c $<

all: $(PROG) $(TESTPACK)

$(TESTPACK): $(OBJS) $(TESTPACKOBJS)
$(CC) -o $(TESTPACK) $(OBJS) $(TESTPACKOBJS) $(LIBS)

$(PROG): $(OBJS) $(NSPARKOBJS)
$(CC) -o $(PROG) $(OBJS) $(NSPARKOBJS) $(LIBS)

install: $(PROG)
$(INSTALL) $(PROG) $(INSTALLDIR)

depend: $(SRCS) $(HDRS) $(NSPARKSRCS) $(NSPARKHDRS)
makedepend -w200 $(CDEFINES) -D$(SYSTYPE) -- $(SRCS) $(NSPARKSRCS)
mv makefile makefile.old
sed -f nosysdep.sed < makefile.old > makefile
rm -f makefile.old makefile.bak

tags: $(SRCS) $(HDRS)
ctags $(SRCS) $(HDRS)

clean:
rm -f $(PROG) $(TESTPACK) $(OBJS) $(NSPARKOBJS) $(TESTPACKOBJS) mkendian endian.h
rm -f a.out core *~

backup: clean
(cd ..; zip -r9y $(BACKUPFILE) nspark)

TMPDIR = $$HOME/tmp
DISTLEAF = nspark-$(VERSION)
DISTDIR = $(TMPDIR)/$(DISTLEAF)
dist: clean $(SRCS) $(HDRS)
rm -f RCS/rel-$(VERSION)
makerel makefile *.c *.h > RCS/rel-$(VERSION)
chmod 444 RCS/rel-$(VERSION)
mkdir $(DISTDIR)
cp *.c *.h nosysdep.sed README BUGS CHANGES makefile $(DISTDIR)
mkdir $(DISTDIR)/mkfiles
cp mkfiles/* $(DISTDIR)/mkfiles
(cd $(TMPDIR); tar cf - $(DISTLEAF) | compress > $(DISTLEAF).tar.Z)
(cd $(TMPDIR); rm -rf $(DISTLEAF))

io.o: endian.h

endian.h: mkendian
./mkendian > endian.h

mkendian: mkendian.c
$(CC) -o mkendian mkendian.c

# DO NOT DELETE THIS LINE -- make depend depends on it.

main.o: spark.h nsparkio.h cproto.h error.h misc.h arc.h unarc.h
arc.o: spark.h error.h cproto.h
unarc.o: spark.h store.h cproto.h pack.h compress.h main.h nsparkio.h misc.h os.h error.h crc.h
store.o: spark.h main.h crc.h cproto.h nsparkio.h
pack.o: spark.h main.h crc.h cproto.h nsparkio.h
compress.o: spark.h pack.h cproto.h main.h crc.h nsparkio.h
crc.o: spark.h main.h
io.o: spark.h main.h error.h cproto.h arcfs.h
error.o: error.h cproto.h
misc.o: spark.h cproto.h main.h date.h misc.h
date.o: spark.h
unix.o: spark.h date.h cproto.h

0 comments on commit 3cab9f4

Please sign in to comment.