Add a gitignore make target.

This commit is contained in:
Roy Marples
2008-03-03 13:04:08 +00:00
parent 61c476e72d
commit 7a8e9d4ddb
18 changed files with 145 additions and 17 deletions

12
src/.gitignore vendored
View File

@@ -1,12 +0,0 @@
.depend
rc
*.[oa]
*.lo
*.so
*.So
*.so.*
version.h
# Experimental stuff
rc-daemon.c
rc-daemon.h

6
src/libeinfo/.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
.depend
libeinfo.o
libeinfo.So
libeinfo.a
libeinfo.so.1
libeinfo.so

14
src/librc/.gitignore vendored Normal file
View File

@@ -0,0 +1,14 @@
.depend
librc.o
librc-daemon.o
librc-depend.o
librc-misc.o
librc-strlist.o
librc.So
librc-daemon.So
librc-depend.So
librc-misc.So
librc-strlist.So
librc.a
librc.so.1
librc.so

68
src/rc/.gitignore vendored Normal file
View File

@@ -0,0 +1,68 @@
.depend
version.h
rc-status
rc-update
runscript
start-stop-daemon
einfon
einfo
ewarnn
ewarn
eerrorn
eerror
ebegin
eend
ewend
eindent
eoutdent
esyslog
eval_ecolors
veinfo
vewarn
vebegin
veend
vewend
veindent
veoutdent
service_starting
service_started
service_stopping
service_stopped
service_inactive
service_wasinactive
service_coldplugged
service_started_daemon
checkpath
fstabinfo
mountinfo
rc-depend
service_get_value
service_set_value
get_options
save_options
shell_var
is_newer_than
is_older_than
mark_service_starting
mark_service_started
mark_service_stopping
mark_service_stopped
mark_service_inactive
mark_service_wasinactive
mark_service_coldplugged
mark_service_failed
rc-abort
checkpath.o
fstabinfo.o
mountinfo.o
rc-applets.o
rc-depend.o
rc-logger.o
rc-misc.o
rc-plugin.o
rc-status.o
rc-update.o
rc.o
runscript.o
start-stop-daemon.o
rc

View File

@@ -27,6 +27,8 @@ RC_SBINLINKS= mark_service_starting mark_service_started \
mark_service_inactive mark_service_wasinactive \
mark_service_coldplugged mark_service_failed \
rc-abort
ALL_LINKS= ${BINLINKS} ${SBINLINKS} ${RC_BINLINKS} ${RC_SBINLINKS}
CLEANFILES+= ${ALL_LINKS}
LDFLAGS+= -L../librc -L../libeinfo
LDADD+= -lutil -lrc -leinfo
@@ -66,7 +68,5 @@ install: all
${INSTALL} -m ${PAMMODE} start-stop-daemon.pam ${DESTDIR}${PAMDIR}/start-stop-daemon; \
fi
ALL_LINKS = $(BINLINKS) $(SBINLINKS) $(RC_BINLINKS) $(RC_SBINLINKS)
CLEANFILES += $(ALL_LINKS)
links: rc
for l in $(ALL_LINKS) ; do ln -sf rc $$l || exit $$? ; done
for l in ${ALL_LINKS}; do ln -sf rc $$l || exit $$? ; done