File: MYODBCConfig.pro

package info (click to toggle)
myodbc 3.51.11-6.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,056 kB
  • ctags: 1,933
  • sloc: ansic: 31,656; sh: 10,955; cpp: 2,439; makefile: 1,120
file content (98 lines) | stat: -rw-r--r-- 4,514 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
91
92
93
94
95
96
97
98
# #########################################################
#
# BRIEF:
#       This is a qmake project file for building the
#       the Qt based GUI MYODBCConfig application.
#
#       The build here is done by using the setup code
#       directly - at build-time.
#
# #########################################################

# #########################################################
# COMMON
# #########################################################
TEMPLATE                = app
TARGET                  = MYODBCConfig
DESTDIR                 = ./
OBJECTS_DIR             = .tmp
MOC_DIR                 = .tmp
UI_DIR                  = .tmp
LANGUAGE                = C++
CPP_ALWAYS_CREATE_SOURCE = TRUE
CONFIG                  += qt thread warn_on release
DEFINES                 += HAVE_SQLGETPRIVATEPROFILESTRING HAVE_ODBCINST_H
INCLUDEPATH             += ../util ../setup

# #########################################################
# WIN32
# #########################################################
win32:DEFINES           -= UNICODE
win32:DEFINES           += WIN32
win32:LIBS              += odbc32.lib odbccp32.lib ..\setup\myodbc3S.lib
# win32:RC_FILE         += MYODBCConfig.rc

# #########################################################
# UNIX
# #########################################################
unix:INCLUDEPATH        += ../util ../setup /usr/include
unix:LIBS               += -L../util/.libs -lmyodbcutil  -L/usr/lib -L/usr/local/lib -lodbc -lodbcinst 

# #########################################################
# OSX
#	On OSX we produce a directory called; MYODBCConfig.app
#	which contains everything needed to execute the app
#	using the 'open' command or by double-clicking in
#	Finder. MYODBCConfig.app can be copied to where desired
#	in the file system (for example; /Applications/Utilities).
# #########################################################
mac:DEFINES		-= HAVE_ODBCINST_H
mac:DEFINES		+= HAVE_IODBCINST_H
mac:LIBS                -= -lodbc -lodbcinst -lmyodbc3S
mac:LIBS                += -liodbc -liodbcinst 
mac:LIBS                += -lltdl -framework Carbon -framework QuickTime -lz -framework OpenGL -framework AGL -lz
mac:RC_FILE             = MYODBCConfig.icns

# #########################################################
# FILES
# #########################################################
HEADERS                 += \
                        ../util/MYODBCUtil.h \ 
                        ../setup/MYODBCSetup.h \
                        ../setup/MYODBCSetupCheckBox.h \
                        ../setup/MYODBCSetupComboBox.h \
                        ../setup/MYODBCSetupComboBoxDatabases.h \
                        ../setup/MYODBCSetupDataSourceDialog.h \
                        ../setup/MYODBCSetupDataSourceTab1.h \
                        ../setup/MYODBCSetupDataSourceTab2.h \
                        ../setup/MYODBCSetupDataSourceTab3.h \
                        ../setup/MYODBCSetupDataSourceTab3a.h \
                        ../setup/MYODBCSetupDataSourceTab3b.h \
                        ../setup/MYODBCSetupDataSourceTab3c.h \
                        ../setup/MYODBCSetupDataSourceTab3d.h \
                        ../setup/MYODBCSetupLineEdit.h

SOURCES                 += \
                        main.cpp \
                        ../setup/MYODBCSetupCheckBox.cpp \
                        ../setup/MYODBCSetupComboBox.cpp \
                        ../setup/MYODBCSetupComboBoxDatabases.cpp \
                        ../setup/MYODBCSetupConfigDSNAdd.c \
                        ../setup/MYODBCSetupConfigDSNEdit.c \
                        ../setup/MYODBCSetupConfigDSNRemove.c \
                        ../setup/MYODBCSetupDataSourceConfig.cpp \
                        ../setup/MYODBCSetupDataSourceDialog.cpp \
                        ../setup/MYODBCSetupDataSourceTab1.cpp \
                        ../setup/MYODBCSetupDataSourceTab2.cpp \
                        ../setup/MYODBCSetupDataSourceTab3.cpp \
                        ../setup/MYODBCSetupDataSourceTab3a.cpp \
                        ../setup/MYODBCSetupDataSourceTab3b.cpp \
                        ../setup/MYODBCSetupDataSourceTab3c.cpp \
                        ../setup/MYODBCSetupDataSourceTab3d.cpp \
                        ../setup/MYODBCSetupDriverConnect.c \
                        ../setup/MYODBCSetupDriverConnectPrompt.cpp \
                        ../setup/MYODBCSetupHandleInstallerError.c \
                        ../setup/MYODBCSetupLineEdit.cpp