mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 07:30:13 +01:00
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
SHELL = @SHELL@
|
|
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
includedir = @includedir@
|
|
libdir = @libdir@
|
|
libexecdir = @libexecdir@
|
|
srcdir = @srcdir@
|
|
sysconfdir = @sysconfdir@
|
|
mandir = @mandir@
|
|
datarootdir = @datarootdir@
|
|
localstatedir = @localstatedir@
|
|
|
|
CC = @CC@
|
|
CFLAGS = @CFLAGS@ @CPPFLAGS@
|
|
DEFS = @defs@
|
|
INCDIR = -I. -I../.. -I../../src @INCDIR@ @sql_includes@
|
|
LIBDIR = -L. @LIBDIR@ @LDFLAGS@ -L../../src
|
|
LIBS = @LIBS@ @sql_libs@
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
all:
|
|
sed -e "s%SBINDIR%$(sbindir)%" -e "s%SYSCONFDIR%$(sysconfdir)%" $(srcdir)/rc.piler.in > $(srcdir)/rc.piler
|
|
sed -e "s%SBINDIR%$(sbindir)%" -e "s%SYSCONFDIR%$(sysconfdir)%" $(srcdir)/rc.pilergetd.in > $(srcdir)/rc.pilergetd
|
|
sed -e "s%BINDIR%$(bindir)%" -e "s%SYSCONFDIR%$(sysconfdir)%" $(srcdir)/rc.searchd.in > $(srcdir)/rc.searchd
|
|
|
|
|
|
install:
|
|
$(INSTALL) -m 0755 $(srcdir)/rc.piler $(DESTDIR)/etc/init.d/rc.piler
|
|
$(INSTALL) -m 0755 $(srcdir)/rc.pilergetd $(DESTDIR)/etc/init.d/rc.pilergetd
|
|
$(INSTALL) -m 0755 $(srcdir)/rc.searchd $(DESTDIR)/etc/init.d/rc.searchd
|
|
|
|
clean:
|
|
rm -f rc.piler rc.pilergetd rc.searchd
|
|
|
|
distclean: clean
|
|
rm -f Makefile
|