]> SALOME platform Git repositories - tools/install.git/blob - src/Makefile
Salome HOME
Remove HappyDoc dependencies
[tools/install.git] / src / Makefile
1 #############################################################################
2 # Makefile for building: ../bin/SALOME_InstallWizard
3 # Generated by qmake (1.03a) on: Tue Mar  7 14:46:50 2006
4 # Project:  SALOME_INSTALL.pro
5 # Template: app
6 # Command: $(QMAKE) SALOME_INSTALL.pro
7 #############################################################################
8
9 ####### Compiler, tools and options
10
11 CC       = gcc
12 CXX      = g++
13 LEX      = flex
14 YACC     = yacc
15 CFLAGS   = -pipe -Wno-deprecated -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
16 CXXFLAGS = -pipe -Wno-deprecated -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
17 LEXFLAGS = 
18 YACCFLAGS= -d
19 INCPATH  = -I$(QTDIR)/include -I$(QTDIR)/mkspecs/default
20 LINK     = g++
21 LFLAGS   = 
22 LIBS     = $(SUBLIBS)  -Wl,-rpath,$(QTDIR)/lib  -L$(QTDIR)/lib  -L/usr/X11R6/lib -lqt-mt -ldl -lSM -lXrender -lpng -lmng -ljpeg -lGL -lXinerama -lqt-mt -lpthread -lXext -lX11 -lm
23 AR       = ar cqs
24 RANLIB   = 
25 MOC      = $(QTDIR)/bin/moc
26 UIC      = $(QTDIR)/bin/uic
27 QMAKE    = qmake
28 TAR      = tar -cf
29 GZIP     = gzip -9f
30 COPY     = cp -f
31 COPY_FILE= $(COPY) -p
32 COPY_DIR = $(COPY) -pR
33 DEL_FILE = rm -f
34 SYMLINK  = ln -sf
35 DEL_DIR  = rmdir
36 MOVE     = mv
37
38 ####### Output directory
39
40 OBJECTS_DIR = ./
41
42 ####### Files
43
44 HEADERS = SALOME_InstallWizard.hxx \
45                 SALOME_ProductsView.hxx \
46                 SALOME_ProgressView.hxx \
47                 SALOME_XmlHandler.hxx \
48                 SALOME_HelpWindow.hxx \
49                 icons.h \
50                 InstallWizard.h \
51                 globals.h
52 SOURCES = main.cxx \
53                 SALOME_InstallWizard.cxx \
54                 SALOME_ProductsView.cxx \
55                 SALOME_ProgressView.cxx \
56                 SALOME_XmlHandler.cxx \
57                 SALOME_HelpWindow.cxx \
58                 InstallWizard.cpp \
59                 icons.cxx
60 OBJECTS = main.o \
61                 SALOME_InstallWizard.o \
62                 SALOME_ProductsView.o \
63                 SALOME_ProgressView.o \
64                 SALOME_XmlHandler.o \
65                 SALOME_HelpWindow.o \
66                 InstallWizard.o \
67                 icons.o
68 FORMS = 
69 UICDECLS = 
70 UICIMPLS = 
71 SRCMOC   = moc_SALOME_InstallWizard.cpp \
72                 moc_SALOME_ProductsView.cpp \
73                 moc_SALOME_HelpWindow.cpp \
74                 moc_InstallWizard.cpp
75 OBJMOC = moc_SALOME_InstallWizard.o \
76                 moc_SALOME_ProductsView.o \
77                 moc_SALOME_HelpWindow.o \
78                 moc_InstallWizard.o
79 DIST       = SALOME_INSTALL.pro
80 QMAKE_TARGET = ../bin/SALOME_InstallWizard
81 DESTDIR  = 
82 TARGET   = ../bin/SALOME_InstallWizard
83
84 first: all
85 ####### Implicit rules
86
87 .SUFFIXES: .c .cpp .cc .cxx .C
88
89 .cpp.o:
90         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
91
92 .cc.o:
93         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
94
95 .cxx.o:
96         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
97
98 .C.o:
99         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
100
101 .c.o:
102         $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
103
104 ####### Build rules
105
106 all: Makefile $(TARGET)
107
108 $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) 
109         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
110
111 mocables: $(SRCMOC)
112
113 $(MOC): 
114         ( cd $(QTDIR)/src/moc ; $(MAKE) )
115
116 Makefile: SALOME_INSTALL.pro  $(QTDIR)/mkspecs/default/qmake.conf 
117         $(QMAKE) SALOME_INSTALL.pro
118 qmake: 
119         @$(QMAKE) SALOME_INSTALL.pro
120
121 dist: 
122         @mkdir -p bin/SALOME_InstallWizard && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) bin/SALOME_InstallWizard/ && ( cd `dirname bin/SALOME_InstallWizard` && $(TAR) ../bin/SALOME_InstallWizard.tar ../bin/SALOME_InstallWizard && $(GZIP) ../bin/SALOME_InstallWizard.tar ) && $(MOVE) `dirname bin/SALOME_InstallWizard`/../bin/SALOME_InstallWizard.tar.gz . && $(DEL_DIR) bin/SALOME_InstallWizard
123
124 mocclean:
125         -$(DEL_FILE) $(OBJMOC)
126         -$(DEL_FILE) $(SRCMOC)
127
128 uiclean:
129
130 clean: mocclean
131         -$(DEL_FILE) $(OBJECTS) 
132         -$(DEL_FILE) *~ core *.core
133
134
135 ####### Sub-libraries
136
137 distclean: clean
138         -$(DEL_FILE) $(TARGET) $(TARGET)
139
140
141 FORCE:
142
143 ####### Compile
144
145 main.o: main.cxx globals.h \
146                 SALOME_InstallWizard.hxx \
147                 InstallWizard.h
148
149 SALOME_InstallWizard.o: SALOME_InstallWizard.cxx globals.h \
150                 SALOME_InstallWizard.hxx \
151                 SALOME_ProductsView.hxx \
152                 SALOME_ProgressView.hxx \
153                 SALOME_XmlHandler.hxx \
154                 SALOME_HelpWindow.hxx \
155                 icons.h \
156                 InstallWizard.h
157
158 SALOME_ProductsView.o: SALOME_ProductsView.cxx SALOME_ProductsView.hxx
159
160 SALOME_ProgressView.o: SALOME_ProgressView.cxx SALOME_ProgressView.hxx
161
162 SALOME_XmlHandler.o: SALOME_XmlHandler.cxx globals.h \
163                 SALOME_XmlHandler.hxx \
164                 SALOME_ProductsView.hxx \
165                 SALOME_InstallWizard.hxx \
166                 InstallWizard.h
167
168 SALOME_HelpWindow.o: SALOME_HelpWindow.cxx SALOME_HelpWindow.hxx \
169                 SALOME_InstallWizard.hxx \
170                 icons.h \
171                 InstallWizard.h
172
173 InstallWizard.o: InstallWizard.cpp InstallWizard.h
174
175 icons.o: icons.cxx icons.h
176
177 moc_SALOME_InstallWizard.o: moc_SALOME_InstallWizard.cpp SALOME_InstallWizard.hxx InstallWizard.h
178
179 moc_SALOME_ProductsView.o: moc_SALOME_ProductsView.cpp SALOME_ProductsView.hxx 
180
181 moc_SALOME_HelpWindow.o: moc_SALOME_HelpWindow.cpp SALOME_HelpWindow.hxx 
182
183 moc_InstallWizard.o: moc_InstallWizard.cpp InstallWizard.h 
184
185 moc_SALOME_InstallWizard.cpp: $(MOC) SALOME_InstallWizard.hxx
186         $(MOC) SALOME_InstallWizard.hxx -o moc_SALOME_InstallWizard.cpp
187
188 moc_SALOME_ProductsView.cpp: $(MOC) SALOME_ProductsView.hxx
189         $(MOC) SALOME_ProductsView.hxx -o moc_SALOME_ProductsView.cpp
190
191 moc_SALOME_HelpWindow.cpp: $(MOC) SALOME_HelpWindow.hxx
192         $(MOC) SALOME_HelpWindow.hxx -o moc_SALOME_HelpWindow.cpp
193
194 moc_InstallWizard.cpp: $(MOC) InstallWizard.h
195         $(MOC) InstallWizard.h -o moc_InstallWizard.cpp
196
197 ####### Install
198
199 install: all 
200
201 uninstall: 
202