8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 18:03:04 +01:00
firebird-mirror/generated/burp/makefile

46 lines
890 B
Makefile
Raw Normal View History

2001-05-23 15:26:42 +02:00
!IF "$(OS)" == "Windows_NT"
# NOTE - If you enter an absolute path to gpre.exe, it MUST use
# MS-DOS style backslash!
GPRE_PGM=..\..\bin\gpre
SED_PGM=sed
COMPILER_CFLAGS=-c -DNOMSG -DWIN32_LEAN_AND_MEAN -nologo
OBJEXT=obj
DELETE_COMMAND=del /q
!ELSE
!ERROR Running on unknown operating system.
!ENDIF
REL_SRC_DIR=../../src/burp
COMMON_CFLAGS=-I../../src -I../../src/include
CFLAGS=$(COMMON_CFLAGS) $(COMPILER_CFLAGS)
#
2002-02-26 14:48:58 +01:00
# CPP_FILES could be useful as build target in case we are only
# generate the C++ files into this dir
2001-05-23 15:26:42 +02:00
#
2002-02-26 14:48:58 +01:00
CPP_FILES=backup.cpp restore.cpp
2001-05-23 15:26:42 +02:00
OBJ_FILES=backup.$(OBJEXT) restore.$(OBJEXT)
2002-02-26 14:48:58 +01:00
# all: $(OBJ_FILES)
all: $(CPP_FILES)
2001-05-23 15:26:42 +02:00
2002-02-26 14:48:58 +01:00
cpp_files : $(CPP_FILES)
2001-05-23 15:26:42 +02:00
clean :
-$(DELETE_COMMAND) *.$(OBJEXT)
2002-02-26 14:48:58 +01:00
-$(DELETE_COMMAND) *.cpp
2001-05-23 15:26:42 +02:00
2002-02-26 14:48:58 +01:00
backup.cpp : $(REL_SRC_DIR)/backup.epp
2001-05-23 15:26:42 +02:00
$(GPRE_PGM) -r -m -n $? -o >$@
2002-02-26 14:48:58 +01:00
restore.cpp : $(REL_SRC_DIR)/restore.epp
2001-05-23 15:26:42 +02:00
$(GPRE_PGM) -r -m -n $? -o >$@