BSD 4_3 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Thu, 5 Jun 1986 08:01:47 +0000 (00:01 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Thu, 5 Jun 1986 08:01:47 +0000 (00:01 -0800)
Work on file usr/contrib/courier/examples/time/Makefile

Synthesized-from: CSRG/cd1/4.3

usr/contrib/courier/examples/time/Makefile [new file with mode: 0644]

diff --git a/usr/contrib/courier/examples/time/Makefile b/usr/contrib/courier/examples/time/Makefile
new file mode 100644 (file)
index 0000000..0c23d8d
--- /dev/null
@@ -0,0 +1,38 @@
+CFLAGS = -O
+USEROBJS1 = datime.o implicit.o
+USEROBJS2 = timex.o explicit.o
+SRVROBJS = Time.o Time_server.o
+LIBS = -lcr
+DESTDIR = /usr/new/lib/courier
+
+all:   datime timex Time
+
+datime:        $(USEROBJS1)
+       cc -o datime $(USEROBJS1) $(LIBS)
+
+implicit.o:    Time.cr
+       courier Time.cr
+       cc -c $(CFLAGS) Time_client.c
+       mv Time_client.o implicit.o
+
+timex: $(USEROBJS2)
+       cc -o timex $(USEROBJS2) $(LIBS)
+
+explicit.o:    Time.cr
+       courier -x Time.cr
+       cc -c $(CFLAGS) Time_client.c
+       mv Time_client.o explicit.o
+
+Time:  $(SRVROBJS)
+       cc -o Time $(SRVROBJS) $(LIBS)
+
+datime.o timex.o Time.o:       Time.h
+
+Time_server.c Time.h:  Time.cr
+       courier Time.cr
+
+install:       all
+       install -s Time $(DESTDIR)
+
+clean:
+       -rm -f *.o Time_*.c Time.h \#* Time datime timex