File: GNUmakefile

package info (click to toggle)
ddns3-client 1.8-13
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 228 kB
  • sloc: ansic: 967; sh: 64; makefile: 3
file content (34 lines) | stat: -rw-r--r-- 679 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
#
# ddns3 Debian makefile
#
# Author: 	Alan Yates <alany@ay.com.au>
# Version:	$Id: GNUmakefile,v 1.1.1.1 2002/07/19 11:47:20 alany Exp $
# Maintainer:	Ian Maclaine-cross <iml@debian.org>

# tools
AR=ar
CC=gcc
RANLIB=ranlib
INSTALL=install
# INSTALL_FLAGS=-s

# system dependent libraries to link
LINUX_LIBS=-lcrypt
LIBS=$(LINUX_LIBS)

all:		ddns3

ddns3:		ddns3.c libddns3.a
	$(CC) ${CFLAGS} $(LDFLAGS) $(CPPFLAGS) ddns3.c libddns3.a -o ddns3 $(LIBS)

libddns3.a:	sockio.o crypto.o auth.o md5.o ctx.o
	$(AR) -cr libddns3.a *.o
	$(RANLIB) libddns3.a

.PHONY : clean install

install:	ddns3
	$(INSTALL) $(INSTALL_FLAGS) ddns3 $(DESTDIR)/usr/bin/

clean:
	rm -f *.o core *.a ddns3