-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
91 lines (76 loc) · 2.77 KB
/
Makefile
File metadata and controls
91 lines (76 loc) · 2.77 KB
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
# Make para ejecutar segun el sistema
# -mwindows al enlazar no sale ventana consola.
# pero para depurar, va de muerte que salgan mensajes en la consola
ifeq ($(HOME),)
ROOT = /t-gtk/
else
ROOT = $(HOME)/t-gtk/
endif
$(info $(ROOT))
include $(ROOT)config/global.mk
include ./src/genresource.mk
RESOURCE_FILE =./src/resource.rc
export HPDF=yes
TARGET = ./bin/tpuy
SRCPATH = ./src/
SOURCES = $(SRCPATH)main.prg \
$(SRCPATH)menu.prg \
$(SRCPATH)tapp.prg \
$(SRCPATH)tpublic.prg \
$(SRCPATH)tobject.prg \
$(SRCPATH)tscript.prg \
$(SRCPATH)hbrun.prg \
$(SRCPATH)connto.prg \
$(SRCPATH)connsave.prg \
$(SRCPATH)hbpdf_tools.prg \
$(SRCPATH)tools01.prg \
$(SRCPATH)testqry1.prg \
$(SRCPATH)tpostgres.prg \
$(SRCPATH)datamodel.prg \
$(SRCPATH)listbox.prg \
$(SRCPATH)dbcolumn.prg \
$(SRCPATH)dbmodel.prg \
$(SRCPATH)tpy_selector.prg \
$(SRCPATH)pcget.prg \
$(SRCPATH)gpctoolbutton.prg \
$(SRCPATH)utf.prg \
$(SRCPATH)xml.prg \
$(SRCPATH)mxml.prg \
$(SRCPATH)filechooser.prg \
$(SRCPATH)about.prg \
$(SRCPATH)pctapiz.prg \
$(SRCPATH)tpywin.prg \
$(SRCPATH)tpywindow.prg \
$(SRCPATH)glade.prg \
$(SRCPATH)tpy_image.prg \
$(SRCPATH)model_abm.prg \
$(SRCPATH)tpyentry.prg \
$(SRCPATH)tdocument.prg \
$(SRCPATH)tcursor.prg \
$(SRCPATH)tstatusbar.prg \
$(SRCPATH)rclasses.prg \
$(SRCPATH)gmail.prg #\
# $(SRCPATH)dbfs.prg \
# $(SRCPATH)dbf_indexar.prg
LIBS =-L$(LIBDIR_TGTK) -ltdolphin -lhbct -lhbpg -lhbzebra -lhbxlsxwriter
ifeq ($(HB_MAKE_PLAT),win)
LIBS +=-lhbcplr -lhbpp -lhbcommon -lhbnetio -lhbrtl -lhbtip \
-lhbmxml -lmxml -lhbtpathy -lhbct -lhbcurl -lhbwin \
-lrddsql -lsddodbc -lodbc32 -lz -lxlsxwriter
else
# temporalmente se suspende el uso de libhbtfhka por un problema de incompatibilidad
LIBS +=-lmysqlclient -lpq -lxlsxwriter#-lhbtfhka -lhbtpathy -lhbct -lhbmxml -lmxml
endif
LIBS +=-lhbct -lhbmxml -lmxml
LIBS += -lxlsxwriter -lz
ifeq ($(XBASE_COMPILER),HARBOUR)
ifeq ($(HB_MAKE_PLAT),win)
LIBS += -lharbour-$(HB_VERSION)
endif
endif
PRGFLAGS=-I./include
PRGFLAGS+=-I/harbour-project/contrib/xhb
PRGFLAGS+=-I/harbour-project/contrib/hbtip
PRGFLAGS+=-I$(HB_INC_3RD_PATH)/hbmxml
PRGFLAGS+=-I/harbour-project/contrib/hbcurl
include $(ROOT)Rules.make