File: Makefile.in

package info (click to toggle)
simpleproxy 3.5-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 276 kB
  • ctags: 88
  • sloc: ansic: 1,417; sh: 214; makefile: 35
file content (46 lines) | stat: -rw-r--r-- 886 bytes parent folder | download
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# $Id$

# Solaris 2.5
#CFLAGS=-fd -O -v -Xc -D__EXTENSIONS__ -DSUN

CC=@CC@
CFLAGS=@CFLAGS@ @DEFS@
LIBS=@LIBS@
INSTALL = @INSTALL@
LINT=@LINT@

top_srcdir=@top_srcdir@
srcdir=@srcdir@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
mandir=@mandir@

RM=rm -f

all: simpleproxy

lint:
	$(LINT) simpleproxy.c cfg.c

clean:
	$(RM) *.o simpleproxy *~ core

distclean: clean
	rm -f config.log config.cache config.status Makefile

install: simpleproxy
	$(top_srcdir)/mkinstalldirs $(bindir)
	$(INSTALL)   simpleproxy $(bindir)
	$(top_srcdir)/mkinstalldirs $(mandir)/man1
	$(INSTALL)   simpleproxy.man $(mandir)/man1/simpleproxy.1

simpleproxy: simpleproxy.o cfg.o Makefile
	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o simpleproxy simpleproxy.o cfg.o $(LIBS)

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

cfg.o: cfg.c cfg.h Makefile
simpleproxy.o: simpleproxy.c cfg.h Makefile