Update of /cvsroot/pure-data/externals In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15109
Modified Files: Makefile Log Message: fixed generic C++ targets for creb; added ekext examples; fixed hid compilation on Mac OS X 10.4
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/externals/Makefile,v retrieving revision 1.83 retrieving revision 1.84 diff -C2 -d -r1.83 -r1.84 *** Makefile 24 Aug 2006 16:39:11 -0000 1.83 --- Makefile 27 Aug 2006 02:06:12 -0000 1.84 *************** *** 44,48 **** CFLAGS = -DPD $(OPT_CFLAGS) -I$(pd_src)/src -Wall -W $(DEBUG_CFLAGS) LDFLAGS = ! LIBS = -lm -lstdc++
ifeq ($(OS_NAME),darwin) --- 44,48 ---- CFLAGS = -DPD $(OPT_CFLAGS) -I$(pd_src)/src -Wall -W $(DEBUG_CFLAGS) LDFLAGS = ! LIBS = -lm
ifeq ($(OS_NAME),darwin) *************** *** 83,94 **** CXXFLAGS = $(CFLAGS)
! %.o: %.c ! $(CC) $(CFLAGS) -o "$*.o" -c "$*.c"
%.o: %.cpp - $(CXX) $(CXXFLAGS) -o "$*.o" -c "$*.cpp" - %.o: %.cc ! $(CXX) $(CXXFLAGS) -o "$*.o" -c "$*.cc"
%.$(EXTENSION): %.o --- 83,103 ---- CXXFLAGS = $(CFLAGS)
! ### C++ files ! %.$(EXTENSION): %.cpp ! %.$(EXTENSION): %.cc ! $(CXX) $(CXXFLAGS) -o "$*.o" -c "$<" ! $(CXX) $(LDFLAGS) -o "$*.$(EXTENSION)" "$*.o" $(LIBS) ! chmod a-x "$*.$(EXTENSION)" ! # $(STRIP) $*.$(EXTENSION) ! # rm -f -- $*.o
%.o: %.cpp %.o: %.cc ! $(CXX) $(CXXFLAGS) -o "$*.o" -c "$<" ! ! ! ### C files ! %.o: %.c ! $(CC) $(CFLAGS) -o "$*.o" -c "$*.c"
%.$(EXTENSION): %.o *************** *** 102,105 **** --- 111,116 ----
+ + #------------------------------------------------------------------------------# # ALL *************** *** 558,562 **** install -p $(EKEXT_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(EKEXT_NAME) install -d $(helpdir)/$(EKEXT_NAME) ! install -p $(externals_src)/ekext/*/help-*.pd \ $(helpdir)/$(EKEXT_NAME) # install -d $(manualsdir)/$(EKEXT_NAME) --- 569,573 ---- install -p $(EKEXT_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(EKEXT_NAME) install -d $(helpdir)/$(EKEXT_NAME) ! install -p $(externals_src)/ekext/*/*help*.pd \ $(helpdir)/$(EKEXT_NAME) # install -d $(manualsdir)/$(EKEXT_NAME) *************** *** 565,571 **** # install -p $(externals_src)/ekext/README \ # $(readmesdir)/$(EKEXT_NAME).txt ! # install -d $(examplesdir)/$(EKEXT_NAME) ! # install -p $(externals_src)/ekext/examples/*.pd \ ! # $(examplesdir)/$(EKEXT_NAME)
ekext_clean: --- 576,582 ---- # install -p $(externals_src)/ekext/README \ # $(readmesdir)/$(EKEXT_NAME).txt ! install -d $(examplesdir)/$(EKEXT_NAME) ! install -p $(externals_src)/ekext/peakit~/peakit-listmoses.pd \ ! $(examplesdir)/$(EKEXT_NAME)
ekext_clean: *************** *** 915,919 **** HID_UTILITIES_SOURCE = $(externals_src)/hcs/hid/HID\ Utilities\ Source HID_LIBS = $(LIBS) -L$(HID_UTILITIES_SOURCE)/build \ ! -lHIDUtilities $(patsubst %,-weak_framework %,$(FRAMEWORKS)) else HID_CFLAGS = $(CFLAGS) --- 926,931 ---- HID_UTILITIES_SOURCE = $(externals_src)/hcs/hid/HID\ Utilities\ Source HID_LIBS = $(LIBS) -L$(HID_UTILITIES_SOURCE)/build \ ! -L$(HID_UTILITIES_SOURCE)/build/Default \ ! -lHIDUtilities $(patsubst %,-weak_framework %,$(FRAMEWORKS)) else HID_CFLAGS = $(CFLAGS)