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