- Added component locks
[public/netxms.git] / sql / Makefile
CommitLineData
6c9e7d36
VK
1#
2# Makefile for SQL scripts
3#
4
5ROOT_FILE = dbinit.in
6SOURCE = $(ROOT_FILE) schema.in setup.in events.in
7COMMAND = cpp -P -Wundef
8
9all: dbinit_mysql.sql dbinit_pgsql.sql dbinit_mssql.sql
10
11dbinit_mysql.sql: $(SOURCE)
12 $(COMMAND) -DDB_MYSQL -o $@ $(ROOT_FILE)
13
14dbinit_pgsql.sql: $(SOURCE)
15 $(COMMAND) -DDB_POSTGRESQL -o $@ $(ROOT_FILE)
16
17dbinit_mssql.sql: $(SOURCE)
18 $(COMMAND) -DDB_MSSQL -o $@ $(ROOT_FILE)