summaryrefslogtreecommitdiffstats
path: root/qarsh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'qarsh/Makefile')
-rw-r--r--qarsh/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/qarsh/Makefile b/qarsh/Makefile
new file mode 100644
index 0000000..0402db7
--- /dev/null
+++ b/qarsh/Makefile
@@ -0,0 +1,30 @@
+
+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
+
+qarshd: qarshd.c $(COMMON)
+qarsh: qarsh.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