File: Makefile

package info (click to toggle)
titantools 4.0.11-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 116 kB
  • ctags: 28
  • sloc: ansic: 329; makefile: 68
file content (20 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Titan Makefile for Solaris
VERSION = 4.0

CC = cc
CPPFLAGS =
CFLAGS   = 
LDFLAGS  = -dn
LIBS     = -Bstatic /usr/lib/libc.a -Bstatic /usr/ccs/lib/libtermcap.a -Bstatic /usr/lib/libnsl.a
LIBS2    = /usr/lib/libc.a 


# default target
all:  noshell runas

noshell: noshell.o
	$(CC) -Bstatic $(CFLAGS) -o noshell $(LIBS) $(LDFLAGS) noshell.o

runas: stubs.o runas.o
	$(CC) $(CFLAGS) -o runas $(LIBS2) $(LDFLAGS) stubs.o runas.o