aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-03 13:04:08 +0000
committerRoy Marples <roy@marples.name>2008-03-03 13:04:08 +0000
commit7a8e9d4ddbe121bf2cafb095e9ecf262bc074133 (patch)
tree4bb8ef4bd3b8c4096356db12f7d6f62090ffc002 /src
parent61c476e72d7da6866ea9e3ba6a8d1e7bb295b7aa (diff)
Add a gitignore make target.
Diffstat (limited to 'src')
-rw-r--r--src/.gitignore12
-rw-r--r--src/libeinfo/.gitignore6
-rw-r--r--src/librc/.gitignore14
-rw-r--r--src/rc/.gitignore68
-rw-r--r--src/rc/Makefile6
5 files changed, 91 insertions, 15 deletions
diff --git a/src/.gitignore b/src/.gitignore
deleted file mode 100644
index f04dfe20..00000000
--- a/src/.gitignore
+++ /dev/null
@@ -1,12 +0,0 @@
-.depend
-rc
-*.[oa]
-*.lo
-*.so
-*.So
-*.so.*
-version.h
-
-# Experimental stuff
-rc-daemon.c
-rc-daemon.h
diff --git a/src/libeinfo/.gitignore b/src/libeinfo/.gitignore
new file mode 100644
index 00000000..b4fca0e2
--- /dev/null
+++ b/src/libeinfo/.gitignore
@@ -0,0 +1,6 @@
+.depend
+libeinfo.o
+libeinfo.So
+libeinfo.a
+libeinfo.so.1
+libeinfo.so
diff --git a/src/librc/.gitignore b/src/librc/.gitignore
new file mode 100644
index 00000000..8ebb1826
--- /dev/null
+++ b/src/librc/.gitignore
@@ -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
diff --git a/src/rc/.gitignore b/src/rc/.gitignore
new file mode 100644
index 00000000..17d975c1
--- /dev/null
+++ b/src/rc/.gitignore
@@ -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
diff --git a/src/rc/Makefile b/src/rc/Makefile
index fea22214..26ee1312 100644
--- a/src/rc/Makefile
+++ b/src/rc/Makefile
@@ -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