68 lines
1.1 KiB
Makefile
68 lines
1.1 KiB
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = msi.dll
|
|
IMPORTLIB = libmsi.$(IMPLIBEXT)
|
|
IMPORTS = shell32 shlwapi cabinet oleaut32 ole32 version user32 gdi32 advapi32 kernel32
|
|
EXTRALIBS = -luuid $(LIBUNICODE)
|
|
|
|
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 \
|
|
msi.c \
|
|
msiquery.c \
|
|
order.c \
|
|
package.c \
|
|
preview.c \
|
|
record.c \
|
|
registry.c \
|
|
regsvr.c \
|
|
select.c \
|
|
string.c \
|
|
suminfo.c \
|
|
table.c \
|
|
tokenize.c \
|
|
update.c \
|
|
upgrade.c \
|
|
where.c
|
|
|
|
RC_SRCS = msi.rc
|
|
|
|
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:
|