File: Makefile

package info (click to toggle)
squirrelmail 1%3A1.2.6-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,300 kB
  • ctags: 4,949
  • sloc: php: 21,297; perl: 2,538; sh: 350; ansic: 122; makefile: 69
file content (25 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (8)
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

DESTDIR=/usr/local/bin
BINDROOT=/usr/local

# Solaris
#CC=gcc
#CFLAGS=-I$(BINDROOT)/bind/include -I$(BINDROOT)/include
#LDFLAGS=-L$(BINDROOT)/lib -llwres -lsocket -lnsl -lpthread

# Linux
CC=gcc
CFLAGS=-I$(BINDROOT)/bind/include -I$(BINDROOT)/include
LDFLAGS=-L$(BINDROOT)/lib -lpthread -llwres

all: bulkquery

bulkquery: bulkquery.c
	$(CC) $(CFLAGS) -o bulkquery bulkquery.c $(LDFLAGS)

clean:
	rm bulkquery

install:
	cp bulkquery $(DESTDIR)/bulkquery
	chmod 755 $(DESTDIR)/bulkquery