/usr/share/doc/ats-lang-anairiats-examples/examples/MISC/HttpServer/Makefile is in ats-lang-anairiats-examples 0.2.5-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | #
#
# A simple (single threaded) HTTP server implemented in ATS
#
#
######
ATSUSRQ="$(ATSHOME)"
ifeq ($(ATSUSRQ),"")
ATSUSRQ="/usr"
endif
######
ATSCC=$(ATSUSRQ)/bin/atscc
ATSOPT=$(ATSUSRQ)/bin/atsopt
######
.PHONY: all
all:: checkall cleanall
checkall::
cleanall:: clean
######
#
# If on SunOS, please add [-lsocket]
#
checkall:: server
server: server.dats
$(ATSCC) -D_ATS_GCATS -o server -O2 server.dats
cleanall:: ; $(RMF) server
checkall:: server2
server2: server2.dats
$(ATSCC) -D_ATS_GCATS -o server2 -O2 server2.dats
cleanall:: ; $(RMF) server2
######
DIR=/home/fac2/hwxi/public_html/ATS/EXAMPLE/HttpServer
update::
cp Makefile $(DIR)
cp server.dats $(DIR)
######
RMF = rm -f
######
clean:
$(RMF) *~
$(RMF) *_dats.c *_sats.c
###### end of [Makefile] ######
|