1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
#############################################################################
# Makefile for building sip
# Generated by tmake at 16:09, 2001/08/10
# Project: siplib.pro.static
# Template: lib
#############################################################################
!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif
####### Compiler, tools and options
CC = bcc32
CXX = bcc32
CFLAGS = -w -O2 -DSIP_QT_SUPPORT -DNO_DEBUG
CXXFLAGS= -w -O2 -DSIP_QT_SUPPORT -DNO_DEBUG
INCPATH = -I"." -I"$(QTDIR)\include"
LIB = tlib /C /P256
MOC = moc
UIC = uic
ZIP = zip -r -9
####### Files
HEADERS = sip.h \
sipQt.h \
sipint.h
SOURCES = objmap.c \
qtlib.cpp \
siplib.c
OBJECTS = objmap.obj \
qtlib.obj \
siplib.obj
INTERFACES =
UICDECLS =
UICIMPLS =
SRCMOC = moc_sipQt.cpp
OBJMOC = moc_sipQt.obj
DIST =
TARGET = sip.lib
DEF =
INTERFACE_DECL_PATH = .
####### Implicit rules
.SUFFIXES: .cpp .cxx .cc .c
.cpp.obj:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o$@ $<
.cxx.obj:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o$@ $<
.cc.obj:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o$@ $<
.c.obj:
$(CC) -c $(CFLAGS) $(INCPATH) -o$@ $<
####### Build rules
all: $(TARGET)
$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
-del $(TARGET)
$(LIB) $(TARGET) @&&|
+objmap.obj \
+qtlib.obj \
+siplib.obj \
+moc_sipQt.obj
|
moc: $(SRCMOC)
tmake: Makefile.win32-borland.static
Makefile.win32-borland.static: siplib.pro.static
tmake siplib.pro.static -o Makefile.win32-borland.static
dist:
$(ZIP) siplib.pro.static.zip siplib.pro.static.pro $(SOURCES) $(HEADERS) $(DIST) $(DEF)
clean:
-del objmap.obj
-del qtlib.obj
-del siplib.obj
-del moc_sipQt.cpp
-del moc_sipQt.obj
-del $(TARGET)
-del sip.tds
####### Compile
objmap.obj: objmap.c \
sip.h \
sipint.h
qtlib.obj: qtlib.cpp \
sipQt.h \
sip.h \
sipint.h
siplib.obj: siplib.c \
sip.h \
sipint.h
moc_sipQt.obj: moc_sipQt.cpp \
sipQt.h \
sip.h
moc_sipQt.cpp: sipQt.h
$(MOC) sipQt.h -o moc_sipQt.cpp
|