File: Makefile.am

package info (click to toggle)
libiodbc2 3.0.5-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,172 kB
  • ctags: 2,749
  • sloc: ansic: 23,877; sh: 6,614; makefile: 286
file content (90 lines) | stat: -rw-r--r-- 2,194 bytes parent folder | download
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#
#  Makefile.am
#
#  $Id: Makefile.am,v 1.2 2001/06/11 14:29:42 source Exp $
#
#  (C) 2001 OpenLink Software Inc.
#
#  This library is free software; you can redistribute it and/or
#  modify it under the terms of the GNU Library General Public
#  License as published by the Free Software Foundation; either
#  version 2 of the License, or (at your option) any later version.
#
#  This library is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#  Library General Public License for more details.
#
#  You should have received a copy of the GNU Library General Public
#  License along with this library; if not, write to the Free
#  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

if GUI
SUBDIRS			= gtk

bin_PROGRAMS		= iodbcadm-gtk
lib_LTLIBRARIES		= libiodbcadm.la
endif

if GTK
INCLUDES		= \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/iodbc \
	-I$(top_srcdir)/iodbcinst \
	@GTK_CFLAGS@

CFLAGS			= @CFLAGS@ -D__GTK__
else
INCLUDES		= \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/iodbc \
	-I$(top_srcdir)/iodbcinst
endif

libiodbcadm_la_LDFLAGS	= \
	-version-info @lib_version@ \
	-export-symbols $(srcdir)/iodbcadm.exp

if GTK
libiodbcadm_la_LIBADD	= \
	$(LIBADD_DL) \
	../iodbc/dlf.lo \
	../iodbcadm/gtk/administrator.lo \
	../iodbcadm/gtk/confirm.lo \
	../iodbcadm/gtk/connectionpooling.lo\
	../iodbcadm/gtk/driverchooser.lo \
	../iodbcadm/gtk/driversetup.lo \
	../iodbcadm/gtk/dsnchooser.lo \
	../iodbcadm/gtk/errorbox.lo \
	../iodbcadm/gtk/filedsn.lo \
	../iodbcadm/gtk/loginbox.lo \
	../iodbcadm/gtk/messagebox.lo \
	../iodbcadm/gtk/translatorchooser.lo \
	../iodbcinst/libiodbcinst.la \
	../iodbc/libiodbc.la
else
libiodbcadm_la_LIBADD	= \
	$(LIBADD_DL) \
	../iodbc/dlf.lo \
	../iodbcinst/libiodbcinst.la \
	../iodbc/libiodbc.la
endif

libiodbcadm_la_SOURCES	= \
	Info.c \
	drvconn.c \
	error.c \
	login.c 

iodbcadm_gtk_SOURCES	=
iodbcadm_gtk_LDADD	= \
	../iodbcadm/libiodbcadm.la \
	../iodbcadm/gtk/main.lo \
	@GTK_LIBS@
iodbcadm_gtk_LDFLAGS	= # -static

noinst_HEADERS		= \
	gui.h \
	iodbcadm.h

EXTRA_DIST		= iodbcadm.exp