4 PGINC=/usr/include/postgresql
7 # If changed, also change postgresql.script
8 INSTALLDIR=../../../Mir/src
11 install: dupetrigger.so
12 cp dupetrigger.so $(INSTALLDIR)
13 chmod 755 $(INSTALLDIR)/dupetrigger.so
15 # Now, change the path to dupetrigger.so in postgresql.script to the
16 # absolute path where dupetrigger.so is installed (this
17 # is typically ../../../Mir/src)
19 dupetrigger.so: dupetrigger.o
20 $(CC) -shared -dynamic -o dupetrigger.so dupetrigger.o
23 rm -rf dupetrigger.o dupetrigger.so