/usr/lib/ats2-postiats-0.1.3/share/Makefile.gen is in ats2-lang 0.1.3-1.
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 | #
#
# A Makefile for processing [Makefile.atxt]
# to generate Makefiles that do the actual work
#
######
#
# Author: Hongwei Xi (gmhwxiATgmailCOM)
#
######
ATSHOMEQ="$(ATSHOME)"
ATSCC=$(ATSHOMEQ)/bin/atscc
ATSDOC=$(ATSHOMEQ)/bin/atsdoc
######
Makefile: Makefile.exe ; ./$< > $@
Makefile.exe: Makefile_atxt.dats
$(ATSCC) $(ATSGCFLAG) -o $@ $< -latsdoc
Makefile_atxt.dats: Makefile.atxt
$(ATSDOC) --outcode $@ -i $< > Makefile_atxt.txt
######
Makefile2: Makefile2.exe ; ./$< > $@
Makefile2.exe: Makefile2_atxt.dats
$(ATSCC) $(ATSGCFLAG) -o $@ $< -latsdoc
Makefile2_atxt.dats: Makefile2.atxt
$(ATSDOC) --outcode $@ -i $< > Makefile2_atxt.txt
######
RMF=rm -f
######
clean:: ; $(RMF) *~
clean:: ; $(RMF) *_?ats.o *_?ats.c
clean:: ; $(RMF) *_atxt.txt
clean:: ; $(RMF) *_atxt.dats
clean:: ; $(RMF) Makefile.exe
clean:: ; $(RMF) Makefile2.exe
cleanall:: clean
cleanall:: ; $(RMF) Makefile
cleanall:: ; $(RMF) Makefile2
######
###### end of [Makefile.gen] ######
|