1 # Help the Developers and yourself. Just use the C locale and settings
2 # for the compilation. They can still be overriden by make LANG=<whatever>
3 # but that is general a not very good idea
10 MODTITLE="SXEmacs module example"
12 ELLMAKEDOC=@ELLMAKEDOC@
15 noinst_PROGRAMS = eldap.ell
16 eldap_ell_SOURCES = eldap.c
17 nodist_EXTRA_eldap_ell_SOURCES = eldap_i.c
18 eldap_ell_DEPENDENCIES = eldap_i.o eldap_i.c
19 eldap_ell_CPPFLAGS = @SXEMACS_INCLUDES@
20 eldap_ell_LINK = $(CCLD) --mod-output=$@
21 eldap_ell_LDADD = eldap_i.o
22 eldap_ell_LDFLAGS = @LDFLAGS@ $(XCCLDFLAGS)
24 top_builddir = @top_builddir@
25 top_build_prefix = $(top_builddir)/
27 ETAGS = $(top_builddir)/lib-src/etags
28 TAGS_DEPENDENCIES = $(ETAGS)
32 $(MODNAME)_i.c: $(ldap_ell_SOURCES)
33 $(MKINIT) --mod-output=$@ \
34 --mod-name=$(MODNAME) --mod-version=$(MODVER) \
35 --mod-title=$(MODTITLE) $<
37 dist_modules_DATA = eldap.ell
41 # Help the SXEmacs developers get nice post-processed source files
43 ## Create preprocessor output (debugging purposes only)
45 $(COMPILE) -E -o $@ $<
47 ## Create assembler output (debugging purposes only)
49 $(COMPILE) -S -c $(cflags) $<