comparison modules/ldap/Makefile.in.in @ 1111:184461bc8de4

[xemacs-hg @ 2002-11-18 06:52:23 by ben] warning fixes, etc. * s/cygwin32.h: -fvtable-thunks is obsolete in GCC 3 and generates warnings. * s/mingw32.h: * s/windowsnt.h: Comment fixes. * emodules.h: Fix warnings from redefining symbols. * eval.c: Fix C++ errors -- no automatic casting between function pointers and void *, function declarations inside of functions not allowed. * event-Xt.c (emacs_Xt_enqueue_focus_event): Warning fixes. * fileio.c (Ffile_truename): Warning fixes. Use LOCAL_TO_WIN32_FILE_FORMAT rather than duplicating it. * glyphs-x.c: Fix style. * intl-auto-encap-win32.c: * intl-auto-encap-win32.h: * intl-encap-win32.c: * intl-encap-win32.c (qxeRegConnectRegistry): * syswindows.h (RegConnectRegistry): DdeCreateStringHandle needs to be manual due to new Cygwin bug. * intl-win32.c: wcslen/wcscmp don't seem to exist under G++ 3, Cygwin. * lisp.h: * lisp-union.h: * lisp-disunion.h: * process-unix.c (unix_send_process): Ugh, C needs volatile and C++ must not have volatile. Remove previous volatile hacks, which don't seem to be working any more. * sheap.c (STATIC_HEAP_SLOP): Try to get a working Cygwin build with old unexec. * sheap.c (more_static_core): No NL's in literals allowed. * symbols.c (Fset): Fix C++ errors. * syswindows.h: Fix Cygwin complaints now that some missing structs have been added. aclocal.m4: Disable shared library modules under Cygwin for the moment, since we need some more tricky coding done and I don't have the time right now. configure.in, configure.usage: code-files.el, loadhist.el: Fix warnings. package-get.el: Fix warnings. NOTE: This was already fixed awhile ago, but reverted by Steve Y. Please be careful. postgresql/Makefile.in.in: Removed. Move common stuff into modues/common/Makefile.common. (Also add extraclean target and a couple of other fixes in that file.) postgresql/configure.ac: Extract out common configure stuff into modules/common/configure-{pre,post}.ac. postgresql/postgresql.c: Fix warning. ldap/Makefile.in.in: Removed. Move common stuff into modues/common/Makefile.common. (Also add extraclean target and a couple of other fixes in that file.) ldap/configure.ac: Extract out common configure stuff into modules/common/configure-{pre,post}.ac. common/Makefile.common: Common stuff is here.
author ben
date Mon, 18 Nov 2002 06:53:08 +0000
parents fac45095e485
children 308d34e9f07d
comparison
equal deleted inserted replaced
1110:49065a0d2943 1111:184461bc8de4
16 ## You should have received a copy of the GNU General Public License 16 ## You should have received a copy of the GNU General Public License
17 ## along with XEmacs; see the file COPYING. If not, write to 17 ## along with XEmacs; see the file COPYING. If not, write to
18 ## the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 18 ## the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 ## Boston, MA 02111-1307, USA. 19 ## Boston, MA 02111-1307, USA.
20 20
21 ## Synched up with: Not synched with FSF. 21 ## Synched up with: Not in FSF.
22
23 ## This is more complicated than would normally be the case, as this makefile
24 ## has been tailored to work both inside and independently of the XEmacs
25 ## source tree, and to support both module and non-module building inside the
26 ## source tree.
27 22
28 ### Specialize this part for your module 23 ### Specialize this part for your module
29 MODNAME=eldap 24 MODNAME=eldap
30 MODVER=1.0.0 25 MODVER=1.0.0
31 MODTITLE="LDAP Client Interface for XEmacs" 26 MODTITLE="LDAP Client Interface for XEmacs"
32 LDFLAGS=@LDFLAGS@ @ld_switch_all@ @ldap_libs@ 27 LDFLAGS=@LDFLAGS@ @ld_switch_all@ @ldap_libs@
33 SRCS=eldap.c 28 SRCS=eldap.c
34 29
35 ### You should not need to modify anything below this line 30 ## Note: modules/common/Makefile.common will be appended by configure
36 SRC_SRCS=$(SRCS:%=$(srcdir)/%)
37 OBJS=$(SRCS:.c=.o)
38
39 SHELL=/bin/sh
40 RM=rm -f
41 PROGNAME=@PROGNAME@
42 CFLAGS=@CFLAGS@
43 INSTALL=@INSTALL@
44 version=@version@
45 prefix=@prefix@
46 exec_prefix=@exec_prefix@
47 libdir=@libdir@
48 instvardir=@instvardir@
49 configuration=@configuration@
50 moduledir=@moduledir@
51 with_modules=@with_modules@
52
53 srcdir=@srcdir@
54 VPATH=@srcdir@
55
56 CC=@MOD_CC@
57 MODARCHDIR=@MODARCHDIR@
58 MAKE_DOCFILE=@MAKE_DOCFILE@
59 MODCFLAGS=@MODCFLAGS@
60 INSTALLPATH=@INSTALLPATH@
61 INSTALL_PROGRAM=@MOD_INSTALL_PROGRAM@
62 OBJECT_TO_BUILD=@OBJECT_TO_BUILD@
63
64 .PHONY: clean distclean install
65 all: $(OBJECT_TO_BUILD)
66
67 .c.o:
68 $(CC) $(MODCFLAGS) -c $<
69
70 $(MODNAME).ell: $(OBJS) $(MODNAME)_i.o
71 $(CC) --mode=link --mod-output=$@ $^ $(LDFLAGS)
72
73 $(MODNAME)_i.c: $(SRCS)
74 ELLMAKEDOC=$(MAKE_DOCFILE) $(CC) --mode=init --mod-output=$@ \
75 --mod-name=$(MODNAME) --mod-version=$(MODVER) \
76 --mod-title=$(MODTITLE) $(SRC_SRCS)
77
78 clean:
79 $(RM) $(MODNAME).ell $(OBJS) $(MODNAME)_i.* *~
80
81 distclean: clean
82 $(RM) Makefile config.* configure
83
84 install: $(OBJECT_TO_BUILD)
85 $(INSTALL_PROGRAM) $< $(INSTALLPATH)