summaryrefslogtreecommitdiffstats
path: root/btime/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'btime/Makefile')
-rw-r--r--btime/Makefile48
1 files changed, 0 insertions, 48 deletions
diff --git a/btime/Makefile b/btime/Makefile
deleted file mode 100644
index 6a2a454..0000000
--- a/btime/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-include ../../make/defines.mk
-
-.PHONY: clean clobber uninstall
-
-CC = gcc
-AR = ar
-#CFLAGS += -g
-
-all: libbtime.a btimed btimec
-
-btimed: btimed.c btime_int.h
- $(CC) $(CFLAGS) -o btimed btimed.c
-
-btimec: btimec.c libbtime.a
- $(CC) $(CFLAGS) -L. -o btimec btimec.c -lbtime
-
-libbtime.a: btime.c btime_int.h
- $(CC) $(CFLAGS) -c btime.c
- $(AR) -rc libbtime.a btime.o
-
-install: btimed btimec libbtime.a
- @echo "Installing btime deamon and test client"
- @install -d ${STSDIR}/bin/
- @install btimed ${STSDIR}/bin
- @install btimec ${STSDIR}/bin
-
- @echo "Installing btime library"
- @install -d ${STSDIR}/lib/
- @install libbtime.a ${STSDIR}/lib
-
- @echo "Installing btime header"
- @install -d ${STSDIR}/include/
- @install btime.h ${STSDIR}/include
-
-
-uninstall:
- ${UNINSTALL} btimed ${STSDIR}/bin
- ${UNINSTALL} btimec ${STSDIR}/bin
-
-
-clean:
- /bin/rm -f *.o
-
-clobber:
- /bin/rm -f btimec
- /bin/rm -f btimed
- /bin/rm -f *.a *.o
-