forked from MDSplus/mdsplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.in
39 lines (28 loc) · 926 Bytes
/
Makefile.in
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
include @top_builddir@/Makefile.inc
srcdir=@srcdir@
builddir=@builddir@
VPATH=@srcdir@
@AX_RECONFIGURE_TARGET@
CFLAGS+=@SYBASE_INC@ @TARGET_ARCH@
LD_FLAGS=$(LDFLAGS) @TARGET_ARCH@
LIBS=@LIBS@ @SYBASE_LIB@ @DNET_STUB@ @LIBSOCKET@
SOURCES = \
dynamic_syb.c \
dbstubs.c
OBJECTS = $(SOURCES:.c=.o)
all : @MAKELIBDIR@ @MAKELIBDIR@@LIBPRE@MdsSql@SHARETYPE@ @MAKELIBDIR@@[email protected]
clean:
@ $(RM) $(OBJECTS)
@ $(RM) so_locations
@ $(RM) @MAKELIBDIR@@LIBPRE@MdsSql@SHARETYPE@
@ $(RM) @MAKELIBDIR@@[email protected]
depend:
@makedepend -- $(CFLAGS) -- $(SOURCES)
install: $(libdir)
$(INSTALL) -m 644 @MAKELIBDIR@@[email protected] @libdir@
$(INSTALL) -m 755 @MAKELIBDIR@@LIBPRE@MdsSql@SHARETYPE@ @libdir@
@MAKELIBDIR@@LIBPRE@MdsSql@SHARETYPE@ : $(OBJECTS)
$(LINK.c) -o $@ @LINKSHARED@ $(OBJECTS) -L@MAKELIBDIR@ $(LDFLAGS) $(LIBS)
@MAKELIBDIR@@[email protected] : $(OBJECTS)
$(AR) -cr $@ $(OBJECTS)
$(RANLIB) $@