61 lines
989 B
Makefile
61 lines
989 B
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = msi.dll
|
|
IMPORTS = shell32 cabinet oleaut32 ole32 version user32 gdi32 advapi32 kernel32
|
|
EXTRALIBS = -luuid $(LIBUNICODE)
|
|
|
|
C_SRCS = \
|
|
action.c \
|
|
appsearch.c \
|
|
create.c \
|
|
custom.c \
|
|
database.c \
|
|
delete.c \
|
|
dialog.c \
|
|
distinct.c \
|
|
format.c \
|
|
handle.c \
|
|
insert.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 \
|
|
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:
|