[go: up one dir, main page]

File: Makefile.am

package info (click to toggle)
rssh 2.3.2-8
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 700 kB
  • ctags: 78
  • sloc: ansic: 1,334; sh: 932; makefile: 98
file content (27 lines) | stat: -rw-r--r-- 1,111 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = nostdinc
ourdefs = -DPATH_RSSH_CONFIG=\"@sysconfdir@/rssh.conf\" -DPATH_CHROOT_HELPER=\"@libexecdir@/rssh_chroot_helper\"
CFLAGS = @defcflags@ @static@ 
bin_PROGRAMS = rssh
libexec_PROGRAMS = rssh_chroot_helper
nodist_rssh_SOURCES = main.c pathnames.h config.h
rssh_SOURCES = rssh.h rsshconf.h rsshconf.c log.c log.h util.c util.h argvec.c argvec.h
rssh_chroot_helper_SOURCES = rssh_chroot_helper.c log.c log.h argvec.c argvec.h util.c util.h rsshconf.c rsshconf.h rssh.h
dist_sysconf_DATA = rssh.conf
man_MANS = rssh.1 rssh.conf.5
EXTRA_DIST = $(man_MANS) CHROOT SECURITY LICENSE rssh.spec mkchroot.sh conf_convert.sh
base=`echo @PACKAGE_STRING@|tr " " "-"`

.c.o:
	$(CC) -c $(DEFS) $(ourdefs) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<

install-exec-hook:
	chmod u+s $(libexecdir)/rssh_chroot_helper

rpm:	dist
	rpmbuild -ta --sign $(base).tar.gz
	cp /users/ddm/tmp/RPM/i386/$(base)-1.i386.rpm .
	cp /users/ddm/tmp/RPM/$(base)-1.src.rpm .
	gpg -ba --default-key ddm@pizzashack.org $(base).tar.gz
	mv $(base).tar.gz.asc $(base).tar.gz.sig