and same fields from Item were moved to ItemContent Item - id - parent_id - type (file, dir, symlink) - url - subject - template (html template) - sort_index - content_id ItemContent - id - ref -> references (renamed) - user_id - modification_user_id - group_id - privileges - date_creation - date_modification - guest_name - link_to - link_redirect - file_path - file_fs - file_type - file_size - has_thumb -> file_has_thumb (renamed) - hash -> file_hash (renamed) - hash_type -> file_hash_type (renamed) - content -> content_raw (renamed) - content_type -> content_raw_type (renamed) - content_parsed - content_parsed_type - meta - ameta -> meta_admin (renamed) - modify_index (removed) WIP: #4
25 lines
704 B
Makefile
25 lines
704 B
Makefile
include Makefile.o.dep
|
|
|
|
current_path := $(shell pwd)
|
|
global_relative_working_dir := $(shell relative_path $(current_path) $(GLOBAL_WORKING_DIR))
|
|
|
|
winix_include_paths = -I$(global_relative_working_dir)/winix/winixd -I$(global_relative_working_dir)/ezc/src -I$(global_relative_working_dir)/tito/src -I$(global_relative_working_dir)/morm/src -I$(global_relative_working_dir)/pikotools
|
|
|
|
|
|
all: $(o)
|
|
|
|
|
|
%.o: %.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(winix_include_paths) $<
|
|
|
|
|
|
depend:
|
|
makedepend -Y. $(winix_include_paths) -f- *.cpp > Makefile.dep
|
|
echo -n "o = " > Makefile.o.dep
|
|
ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep
|
|
|
|
clean:
|
|
rm -f *.o
|
|
|
|
include Makefile.dep
|