Embedded finit for small embedded Linux systems and servers.

o Make finit-alt.c the new finit.c, save old finit.c as finit-org.c
o Keep original finit-alt.c for reference.
o Update README and ChangeLog with direction of this fork
o Correct ChangeLog date for v0.1 and set release date for
  the 0.6-pre release to 20100614, which is the last commit
  by the original author.
o Add standard LICENSE file for MIT License
o Add standard AUTHORS file to document history of project
o Bump version to 1.0-pre to distance fork from original

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2012-09-14 13:10:39 +02:00
1 parent f92438d42a
commit 5816c9cab9
8 files changed
+801 -133

No files matched your search

+10 -10
View File
@@ -3,17 +3,17 @@ CFLAGS = -Os -Wall -DVERSION=\"$(VERSION)\" -DWHOAMI=\"`whoami`@`hostname`\"
LD = gcc
LDFLAGS =
LIBS =
VERSION = 0.6-pre
VERSION = 1.0-pre
PKG = finit-$(VERSION)
DFILES = Makefile README finit.c finit-mod.c finit-alt.c helpers.c helpers.h \
DFILES = Makefile README finit.c finit-mod.c finit-org.c helpers.c helpers.h \
patches/*patch contrib/services.sh* contrib/Makefile.*
BINS = finit-mod finit-alt finit-mdv #finit-exb
BINS = finit finit-mod finit-mdv #finit-exb
#### Configurable parameters
# Default user for finit-alt if not "user"
# Default user for finit if not "user"
#DEFUSER = fred
# Disable annoying gcc warning
@@ -46,7 +46,7 @@ endif
all: $(BINS)
finit: finit.o
finit-org: finit-org.o
$(LD) $(LDFLAGS) -o $@ $+ $(LIBS)
strip $@
@@ -54,7 +54,7 @@ finit-mod: finit-mod.o helpers.o
$(LD) $(LDFLAGS) -o $@ $+ $(LIBS)
strip $@
finit-alt: finit-alt.o helpers.o
finit: finit.o helpers.o
$(LD) $(LDFLAGS) -o $@ $+ $(LIBS)
strip $@
@@ -62,15 +62,15 @@ finit-mdv: finit-mdv.o helpers.o
$(LD) $(LDFLAGS) -o $@ $+ $(LIBS)
strip $@
finit-mdv.o: finit-alt.c Makefile
$(CC) -c $(CFLAGS) -DDIST_MDV -o $@ finit-alt.c
finit-mdv.o: finit.c Makefile
$(CC) -c $(CFLAGS) -DDIST_MDV -o $@ finit.c
finit-exb: finit-exb.o helpers.o
$(LD) $(LDFLAGS) -o $@ $+ $(LIBS)
strip $@
finit-exb.o: finit-alt.c Makefile
$(CC) -c $(CFLAGS) -DDIST_EEEXUBUNTU -o $@ finit-alt.c
finit-exb.o: finit.c Makefile
$(CC) -c $(CFLAGS) -DDIST_EEEXUBUNTU -o $@ finit.c
clean:
rm -f *.o core *~ $(BINS)