~ubuntu-branches/ubuntu/raring/rsh-redone/raring

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Package Import Robot
  • Author(s): Guus Sliepen
  • Date: 2013-02-21 12:38:42 UTC
  • mfrom: (3.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20130221123842-vqt4sqqbz2tc4xs9
Tags: 85-2
* Bump Standards-Version.
* Apply patch from Colin Watson fixing the order in which the libraries are
  linked. Closes: #641408
* Enable hardening flags.
* Depend on ${misc:Depends}.
* Leave read permissions on the setuid binaries.
* Add lintian overrides for the setuid binaries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
all: $(BIN) $(SBIN)
20
20
 
21
21
rlogin: rlogin.c
22
 
        $(CC) $(CFLAGS) -o $@ $<
 
22
        $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $<
23
23
 
24
24
in.rlogind: rlogind.c
25
 
        $(CC) $(CFLAGS) -o $@ $< -lutil -lpam
 
25
        $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< -lutil -lpam
26
26
 
27
27
rsh: rsh.c
28
 
        $(CC) $(CFLAGS) -o $@ $<
 
28
        $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $<
29
29
 
30
30
in.rshd: rshd.c
31
 
        $(CC) $(CFLAGS) -o $@ $< -lpam
 
31
        $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< -lpam
32
32
 
33
33
install: install-bin install-sbin install-man install-pam
34
34
 
35
35
install-bin: $(BIN)
36
36
        mkdir -p $(DESTDIR)$(BINDIR)
37
 
        $(INSTALL) -m 4711 $(BIN) $(DESTDIR)$(BINDIR)/
 
37
        $(INSTALL) -m 4755 $(BIN) $(DESTDIR)$(BINDIR)/
38
38
 
39
39
install-sbin: $(SBIN)
40
40
        mkdir -p $(DESTDIR)$(SBINDIR)