Salome HOME
Fix a bug of config file for RedHat 9 - correct binaries distribution path
[tools/install.git] / src / Makefile
1 #############################################################################
2 # Makefile for building: ../bin/SALOME_InstallWizard
3 # Generated by qmake (1.03a) on: Wed Feb  9 18:40:38 2005
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 -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
16 CXXFLAGS = -pipe -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 OBJECTS = main.o \
60                 SALOME_InstallWizard.o \
61                 SALOME_ProductsView.o \
62                 SALOME_ProgressView.o \
63                 SALOME_XmlHandler.o \
64                 SALOME_HelpWindow.o \
65                 InstallWizard.o
66 FORMS = 
67 UICDECLS = 
68 UICIMPLS = 
69 SRCMOC   = moc_SALOME_InstallWizard.cpp \
70                 moc_SALOME_ProductsView.cpp \
71                 moc_SALOME_HelpWindow.cpp \
72                 moc_InstallWizard.cpp
73 OBJMOC = moc_SALOME_InstallWizard.o \
74                 moc_SALOME_ProductsView.o \
75                 moc_SALOME_HelpWindow.o \
76                 moc_InstallWizard.o
77 DIST       = SALOME_INSTALL.pro
78 QMAKE_TARGET = ../bin/SALOME_InstallWizard
79 DESTDIR  = 
80 TARGET   = ../bin/SALOME_InstallWizard
81
82 first: all
83 ####### Implicit rules
84
85 .SUFFIXES: .c .cpp .cc .cxx .C
86
87 .cpp.o:
88         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
89
90 .cc.o:
91         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
92
93 .cxx.o:
94         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
95
96 .C.o:
97         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
98
99 .c.o:
100         $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
101
102 ####### Build rules
103
104 all: Makefile $(TARGET)
105
106 $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) 
107         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
108
109 mocables: $(SRCMOC)
110
111 $(MOC): 
112         ( cd $(QTDIR)/src/moc ; $(MAKE) )
113
114 Makefile: SALOME_INSTALL.pro  $(QTDIR)/mkspecs/default/qmake.conf 
115         $(QMAKE) SALOME_INSTALL.pro
116 qmake: 
117         @$(QMAKE) SALOME_INSTALL.pro
118
119 dist: 
120         @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
121
122 mocclean:
123         -$(DEL_FILE) $(OBJMOC)
124         -$(DEL_FILE) $(SRCMOC)
125
126 uiclean:
127
128 clean: mocclean
129         -$(DEL_FILE) $(OBJECTS) 
130         -$(DEL_FILE) *~ core *.core
131
132
133 ####### Sub-libraries
134
135 distclean: clean
136         -$(DEL_FILE) $(TARGET) $(TARGET)
137
138
139 FORCE:
140
141 ####### Compile
142
143 main.o: main.cxx globals.h \
144                 SALOME_InstallWizard.hxx \
145                 InstallWizard.h
146
147 SALOME_InstallWizard.o: SALOME_InstallWizard.cxx globals.h \
148                 SALOME_InstallWizard.hxx \
149                 SALOME_ProductsView.hxx \
150                 SALOME_ProgressView.hxx \
151                 SALOME_XmlHandler.hxx \
152                 SALOME_HelpWindow.hxx \
153                 icons.h \
154                 InstallWizard.h
155
156 SALOME_ProductsView.o: SALOME_ProductsView.cxx SALOME_ProductsView.hxx
157
158 SALOME_ProgressView.o: SALOME_ProgressView.cxx SALOME_ProgressView.hxx
159
160 SALOME_XmlHandler.o: SALOME_XmlHandler.cxx globals.h \
161                 SALOME_XmlHandler.hxx \
162                 SALOME_ProductsView.hxx \
163                 SALOME_InstallWizard.hxx \
164                 InstallWizard.h
165
166 SALOME_HelpWindow.o: SALOME_HelpWindow.cxx SALOME_HelpWindow.hxx \
167                 SALOME_InstallWizard.hxx \
168                 icons.h \
169                 InstallWizard.h
170
171 InstallWizard.o: InstallWizard.cpp InstallWizard.h
172
173 moc_SALOME_InstallWizard.o: moc_SALOME_InstallWizard.cpp SALOME_InstallWizard.hxx InstallWizard.h
174
175 moc_SALOME_ProductsView.o: moc_SALOME_ProductsView.cpp SALOME_ProductsView.hxx 
176
177 moc_SALOME_HelpWindow.o: moc_SALOME_HelpWindow.cpp SALOME_HelpWindow.hxx 
178
179 moc_InstallWizard.o: moc_InstallWizard.cpp InstallWizard.h 
180
181 moc_SALOME_InstallWizard.cpp: $(MOC) SALOME_InstallWizard.hxx
182         $(MOC) SALOME_InstallWizard.hxx -o moc_SALOME_InstallWizard.cpp
183
184 moc_SALOME_ProductsView.cpp: $(MOC) SALOME_ProductsView.hxx
185         $(MOC) SALOME_ProductsView.hxx -o moc_SALOME_ProductsView.cpp
186
187 moc_SALOME_HelpWindow.cpp: $(MOC) SALOME_HelpWindow.hxx
188         $(MOC) SALOME_HelpWindow.hxx -o moc_SALOME_HelpWindow.cpp
189
190 moc_InstallWizard.cpp: $(MOC) InstallWizard.h
191         $(MOC) InstallWizard.h -o moc_InstallWizard.cpp
192
193 ####### Install
194
195 install: all 
196
197 uninstall: 
198