/usr/lib/ats-anairiats-0.2.5/contrib/glib/Makefile is in ats-lang-anairiats 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 | #
# API for glib in ATS
#
# Author: Hongwei Xi (hwxi AT cs DOT bu DOT edu)
# Time: February, 2010
#
######
ATSUSRQ="$(ATSHOME)"
ifeq ($(ATSUSRQ),"")
ATSUSRQ="/usr"
endif
######
ATSCC=$(ATSUSRQ)/bin/atscc -Wall
GLIBCFLAGS = `pkg-config glib-2.0 --cflags`
######
GCC=gcc
######
all:: glibconfig
all:: atsctrb_glib.o
all:: clean
######
glibconfig:: HATS/glibconfig
$(GCC) $(GLIBCFLAGS) -E -P -o HATS/glibconfig.hats -x c HATS/glibconfig
######
atsctrb_glib.o: \
glib_sats.o glib_dats.o
ld -r -o $@ \
glib_sats.o glib_dats.o
######
glib_sats.o: SATS/glib.sats
$(ATSCC) $(GLIBCFLAGS) -o $@ -c SATS/glib.sats
glib_dats.o: DATS/glib.dats
$(ATSCC) $(GLIBCFLAGS) -o $@ -c DATS/glib.dats
######
clean::
rm -f glib_sats.c glib_sats.o
rm -f glib_dats.c glib_dats.o
cleanall: clean
rm -f atsctrb_glib.o
###### end of [Makefile] ######
|