source: server/common/oursrc/execsys/Makefile.in @ 87

Last change on this file since 87 was 87, checked in by tabbott, 17 years ago
Makefile.in changes to make things more portable. Added install, clean, distclean targets so that one can easily build and install on non-Fedora systems, and removed unecessary targets (those that are already default make rules).
File size: 700 bytes
Line 
1CC = @CC@
2CFLAGS = @CFLAGS@
3prefix = @prefix@
4exec_prefix = @exec_prefix@
5libexecdir = @libexecdir@
6sysconfdir = @sysconfdir@
7APACHEDIR = /etc/httpd
8SYSCATPATH = /usr/local/sbin
9
10all-local: staticsys-cat execsys-binfmt
11
12staticsys-cat.c execsys-binfmt: staticsys-cat.c.pre execsys-binfmt.pre
13        @UPD_VARS@ syscat_path=$(SYSCATPATH) perl upd-execsys
14
15install: all-local
16        install -D -p -m644 execsys.conf $(DESTDIR)$(APACHEDIR)/conf.d/execsys.conf
17        install -D -p -m755 execsys-binfmt $(DESTDIR)$(sysconfdir)/init.d/execsys-binfmt
18        install -D -p -m755 staticsys-cat $(DESTDIR)$(SYSCATPATH)/staticsys-cat
19
20clean:
21        rm -f staticsys-cat
22
23distclean: clean
24        rm -f configure config.* Makefile
25        rm -rf auto*.cache
Note: See TracBrowser for help on using the repository browser.