76 lines
1.2 KiB
Makefile
76 lines
1.2 KiB
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = msi.dll
|
|
IMPORTLIB = libmsi.$(IMPLIBEXT)
|
|
IMPORTS = urlmon wininet comctl32 shell32 shlwapi cabinet oleaut32 ole32 version user32 gdi32 advapi32 kernel32
|
|
EXTRALIBS = -luuid
|
|
|
|
C_SRCS = \
|
|
action.c \
|
|
appsearch.c \
|
|
classes.c \
|
|
create.c \
|
|
custom.c \
|
|
database.c \
|
|
delete.c \
|
|
dialog.c \
|
|
distinct.c \
|
|
events.c \
|
|
files.c \
|
|
format.c \
|
|
handle.c \
|
|
helpers.c \
|
|
insert.c \
|
|
install.c \
|
|
join.c \
|
|
msi.c \
|
|
msi_main.c \
|
|
msiquery.c \
|
|
order.c \
|
|
package.c \
|
|
preview.c \
|
|
record.c \
|
|
registry.c \
|
|
regsvr.c \
|
|
select.c \
|
|
source.c \
|
|
string.c \
|
|
suminfo.c \
|
|
table.c \
|
|
tokenize.c \
|
|
update.c \
|
|
upgrade.c \
|
|
where.c
|
|
|
|
RC_SRCS = msi.rc
|
|
RC_BINSRC = msi.rc
|
|
RC_BINARIES = \
|
|
instabsent.bmp \
|
|
instadvert.bmp \
|
|
instlocal.bmp
|
|
|
|
EXTRA_SRCS = sql.y cond.y
|
|
EXTRA_OBJS = sql.tab.o cond.tab.o
|
|
|
|
SUBDIRS = tests
|
|
|
|
@MAKE_DLL_RULES@
|
|
|
|
sql.tab.c sql.tab.h: sql.y
|
|
$(BISON) -p SQL_ -d $(SRCDIR)/sql.y -o sql.tab.c
|
|
|
|
cond.tab.c cond.tab.h: cond.y
|
|
$(BISON) -p COND_ -d $(SRCDIR)/cond.y -o cond.tab.c
|
|
|
|
# hack to allow parallel make
|
|
sql.tab.h: sql.tab.c
|
|
sql.tab.o: sql.tab.h
|
|
cond.tab.h: cond.tab.c
|
|
cond.tab.o: cond.tab.h
|
|
|
|
tokenize.o: sql.tab.h
|
|
|
|
### Dependencies:
|