summaryrefslogtreecommitdiffstats
path: root/qarsh/Makefile
blob: a742e127937c6545cfffe847911bfc7d0380ce20 (plain)
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

include ../../make/defines.mk
.PHONY: clean clobber uninstall

CFLAGS := -Wall -g -I/usr/include/libxml2
LOADLIBES := -lxml2

COMMON := qarsh_packet.c sockutil.c

all: qarshd qarsh qacp

qarshd: qarshd.c $(COMMON)
qarsh: qarsh.c $(COMMON)
qacp: qacp.c $(COMMON)

install: qarsh qarshd
	@echo Installing qarsh daemon and client
	install -d ${STSDIR}/bin/
	install qarsh ${STSDIR}/bin
	install qarshd ${STSDIR}/bin

uninstall:
	${UNINSTALL} qarsh ${STSDIR}/bin
	${UNINSTALL} qarshd ${STSDIR}/bin

clean:
	/bin/rm -f *.o

clobber:
	/bin/rm -f qarsh
	/bin/rm -f qarshd