Make.proto
changeset 3162 2750586ad252
parent 3156 8288ee79b0e6
child 3168 3c2495bd59e3
equal deleted inserted replaced
3161:12f911ad59dc 3162:2750586ad252
     1 # $Header: /cvs/stx/stx/libview2/Make.proto,v 1.148 2013-05-07 19:54:26 cg Exp $
     1 # $Header: /cvs/stx/stx/libview2/Make.proto,v 1.149 2013-05-27 10:01:23 cg Exp $
     2 #
     2 #
     3 # DO NOT EDIT
     3 # DO NOT EDIT
     4 # automagically generated from the projectDefinition: stx_libview2.
     4 # automagically generated from the projectDefinition: stx_libview2.
     5 #
     5 #
     6 # Warning: once you modify this file, do not rerun
     6 # Warning: once you modify this file, do not rerun
    32 
    32 
    33 # if your embedded C code requires any system includes,
    33 # if your embedded C code requires any system includes,
    34 # add the path(es) here:,
    34 # add the path(es) here:,
    35 # ********** OPTIONAL: MODIFY the next lines ***
    35 # ********** OPTIONAL: MODIFY the next lines ***
    36 # LOCALINCLUDES=-Ifoo -Ibar
    36 # LOCALINCLUDES=-Ifoo -Ibar
    37 LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libview
    37 LOCALINCLUDES=$(JPEG_INCLUDE) -I$(INCLUDE_TOP)/stx/libview -I$(INCLUDE_TOP)/stx/libbasic
    38 
    38 
    39 
    39 
    40 # if you need any additional defines for embedded C code,
    40 # if you need any additional defines for embedded C code,
    41 # add them here:,
    41 # add them here:,
    42 # ********** OPTIONAL: MODIFY the next lines ***
    42 # ********** OPTIONAL: MODIFY the next lines ***
    92 	    ld $(LD_REL_FLAG) -o JPEGReader.$(O) __JPEGReader.$(O) $(LIBJPEG) && \
    92 	    ld $(LD_REL_FLAG) -o JPEGReader.$(O) __JPEGReader.$(O) $(LIBJPEG) && \
    93 	    rm -f __JPEGReader.$(O); \
    93 	    rm -f __JPEGReader.$(O); \
    94 	    echo; \
    94 	    echo; \
    95 	fi
    95 	fi
    96 
    96 
       
    97 $(LIBJPEG_DIR)/libjpeg.a: $(LIBJPEG_MAKE_LIB)
       
    98 	cp $(LIBJPEG_MAKE_LIB)/.libs/libjpeg.a $(LIBJPEG)
       
    99 
    97 #the following is needed for linux; LIBJPEG_MAKE_LIB is expanded to: $(LIBJPEG_DIR)/.libs/libjpeg.a
   100 #the following is needed for linux; LIBJPEG_MAKE_LIB is expanded to: $(LIBJPEG_DIR)/.libs/libjpeg.a
    98 #do not replace taget below by LIBJPEG_MAKE_LIB, because it may be empty for other systems (osx)
   101 #do not replace target below by LIBJPEG_MAKE_LIB, because it may be empty for other systems (osx)
    99 $(LIBJPEG): $(LIBJPEG_DIR)/Makefile $(LIBJPEG_DIR)/*.c $(LIBJPEG_DIR)/*.h
   102 $(LIBJPEG_DIR)/.libs/libjpeg.a: $(LIBJPEG_DIR)/Makefile $(LIBJPEG_DIR)/*.c $(LIBJPEG_DIR)/*.h
   100 	@-echo
   103 	@-echo
   101 	@-echo "making libjpeg support library ..."
   104 	@-echo "making libjpeg support library ..."
   102 	@-echo
   105 	@-echo
   103 	cd $(LIBJPEG_DIR) \
   106 	cd $(LIBJPEG_DIR) \
   104 	    && $(MAKE) all CC="$(LIBJPEG_CC)" OPT="$(LIBJPEG_OPT)" CFLAGS="$(LIBJPEG_OPT) $(CCCONFOPT)"
   107 	    && $(MAKE) all CC="$(LIBJPEG_CC)" OPT="$(LIBJPEG_OPT)" CFLAGS="$(LIBJPEG_OPT) $(CCCONFOPT)"