Annotation of truecrypt/build/include/makefile.inc, revision 1.1.1.1

1.1       root        1: #
                      2: # Copyright (c) 2008 TrueCrypt Foundation. All rights reserved.
                      3: #
                      4: # Governed by the TrueCrypt License 2.4 the full text of which is contained
                      5: # in the file License.txt included in TrueCrypt binary and source code
                      6: # distribution packages.
                      7: #
                      8: 
                      9: $(NAME): $(NAME).a
                     10: 
                     11: clean:
                     12:        @echo Cleaning $(NAME)
                     13:        rm -f $(APPNAME) $(NAME).a $(OBJS) *.d *.gch
                     14: 
                     15: %.o: %.c
                     16:        @echo Compiling $(<F)
                     17:        $(CC) $(CFLAGS) -c $< -o $@
                     18: 
                     19: %.o: %.cpp
                     20:        @echo Compiling $(<F)
                     21:        $(CXX) $(CXXFLAGS) -c $< -o $@
                     22: 
                     23: 
                     24: # Precompiled headers
                     25: %.h.gch: %.h
                     26:        @echo Precompiling $(<F)
                     27:        $(CXX) $(CXXFLAGS) -g0 -c $< || (rm -f $(<F).gch && exit 1)
                     28: 
                     29: 
                     30: # Embedded files
                     31: OD_BIN := od -v -t u1 -A n
                     32: TR_SED_BIN := tr '\n' ' ' | tr -s ' ' ',' | sed -e 's/^,//g' -e 's/,$$/n/' | tr 'n' '\n'
                     33: 
                     34: %.xml.h: %.xml
                     35:        echo Converting $(<F)
                     36:        $(OD_BIN) $< | $(TR_SED_BIN) >$@
                     37: 
                     38: %.txt.h: %.txt
                     39:        echo Converting $(<F)
                     40:        $(OD_BIN) $< | $(TR_SED_BIN) >$@
                     41:        
                     42: %.bmp.h: %.bmp
                     43:        echo Converting $(<F)
                     44:        $(OD_BIN) $< | $(TR_SED_BIN) >$@
                     45: 
                     46: 
                     47: # Dependencies
                     48: -include $(OBJS:.o=.d)
                     49: 
                     50: 
                     51: $(NAME).a: $(OBJS)
                     52:        @echo Updating library $@
                     53:        $(AR) $(AFLAGS) -rcu $@ $(OBJS)
                     54:        $(RANLIB) $@

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.