Makefile.am 972 Bytes
Newer Older
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
# Makefile.am for STklos Lurc directory
#
#           Author: Stephane Epardaud [Stephane.Epardaud@inria.fr]
#    Creation date:  3-Apr-2006 10:30 (se)
# Last file update: 13-Apr-2006 17:31 (eg)


CC	  = @CC@
CFLAGS	  = @CFLAGS@

MGCINC     = $(subst ../,../../,@GCINC@)
STKCONF	  = ../../utils/stklos-config
INCLUDES  = -I../../src $(COMPFLAGS) $(MGCINC)
COMPILE   = @CC@ @CFLAGS@ @SH_COMP_FLAGS@ $(INCLUDES)

shobjectdir=$(prefix)/lib/@PACKAGE@/@VERSION@

shobject_SCRIPTS    = stklurc.@SH_SUFFIX@
noinst_LIBRARIES    = libstklurc.a
libstklurc_a_SOURCES = lurc.c


# Scheme part
schemedir    = $(prefix)/share/@PACKAGE@/@VERSION@
scheme_files = lurc.stk

scheme_DATA = $(scheme_files) lursk.ostk

stklurc.@SH_SUFFIX@: libstklurc.a 
	@CC@ @SH_LOAD_FLAGS@ stklurc.@SH_SUFFIX@ $(libstklurc_a_OBJECTS)
	chmod 0755 stklurc.@SH_SUFFIX@

lurc.ostk: $(scheme_files)
	../../utils/tmpcomp lurc.stk lurc.ostk

clean:
	/bin/rm -f *.o *.ostk *.@SH_SUFFIX@ *.a *~ 

distclean: clean