ossp-pkg/as/as-gui/Makefile.in 1.32 -> 1.33
--- Makefile.in 2003/01/22 18:57:57 1.32
+++ Makefile.in 2003/01/22 23:57:01 1.33
@@ -101,17 +101,24 @@
all: Makefile $(TARGET_PROGS) $(TARGET_MANS)
+ifdef CORBABASE
$(PROG_NAME): $(OBJS) $(IDL_OBJ) $(MOC_OBJ)
$(CXX) $(LDFLAGS) -o $@ $+ $(LIBS)
+else
+$(PROG_NAME): $(OBJS) $(MOC_OBJ)
+ $(CXX) $(LDFLAGS) -o $@ $+ $(LIBS)
+endif
moc_%.cpp: %.h
$(MOC) $< -o $@
# Run the IDL compiler over IDL source
# but avoid a make deps spaghetti nest
+ifdef CORBABASE
$(SRCS):$(IDL_OUT)
$(IDL_OUT): $(IDL_SRC)
$(IDL) --c++-suffix=cpp $<
+endif
as-gui.1: as_gui.pod
VS=`$(SHTOOL) version -lc -dshort as_version.cpp`; \
@@ -152,13 +159,18 @@
clean:
$(RM) $(TARGET_PROGS) $(OBJS) $(IDL_OBJ) $(MOC_OBJ)
+ifdef CORBABASE
+ $(RM) $(IDL_OBJ)
+endif
$(RM) as-gui.conf.5 as-gui.1
$(RM) as_gui_pcre.tab *.core
distclean: clean
$(RM) config.log config.status config.cache # Generated by ./configure
$(RM) Makefile ac_config.h # Generated by ./configure
+ifdef CORBABASE
$(RM) $(IDL_OUT) # Generated by $(IDL)
+endif
$(RM) $(MOC_OUT) # Generated by $(MOC)
realclean: distclean
|
|