File: Makefile

package info (click to toggle)
rungetty 1.2-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 324 kB
  • sloc: ansic: 3,931; makefile: 33
file content (20 lines) | stat: -rw-r--r-- 518 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CC?=gcc
DEB_CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
DEB_LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
CFLAGS=$(RPM_OPTS) -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe $(DEB_CFLAGS)
LDFLAGS=-Wl,-warn-common -s $(DEB_LDFLAGS)

all:		rungetty
		size rungetty

install:	all
		mkdir -p $(ROOT)/sbin
		mkdir -p $(ROOT)/usr/man/man8
		install -s -m 0755 -o root -g root rungetty $(ROOT)/sbin/
		install -m 0644 -o root -g root rungetty.8 $(ROOT)/usr/man/man8/

rungetty:	rungetty.o

clean:
		rm -f *.o rungetty