../extras/gui/layout.ec \
../extras/gui/controls/StringsBox.ec \
../extras/types/DynamicString.ec \
+ ../extras/include/dpl.ec \
src/dialogs/CompilersDetectionDialog.ec \
src/dialogs/FindInFilesDialog.ec \
src/dialogs/GlobalSettingsDialog.ec \
$(RES)codeMarks/topFrameHalfError.png \
$(RES)others/mousePointer.png \
$(RES)status/software-update-available.png \
- locale/zh_CN/LC_MESSAGES/ide.mo \
- locale/es_ES/LC_MESSAGES/ide.mo \
- locale/pt_BR/LC_MESSAGES/ide.mo \
- locale/ru_RU/LC_MESSAGES/ide.mo \
- locale/vi_VI/LC_MESSAGES/ide.mo \
+ locale/es.mo \
+ locale/pt_BR.mo \
+ locale/ru.mo \
+ locale/vi.mo \
+ locale/zh_CN.mo \
../LICENSE \
../extras/res/licenses/png.LICENSE \
../extras/res/licenses/tango.COPYING \
- ../extras/res/licenses/zlib.README
-RESOURCES2 = \
+ ../extras/res/licenses/zlib.README \
../extras/res/licenses/sqlite.LICENSE \
- ../extras/res/licenses/jpg.LICENSE \
+ ../extras/res/licenses/jpg.LICENSE
+RESOURCES2 = \
../extras/res/licenses/ungif.LICENSE \
../extras/res/licenses/freetype.LICENSE \
../extras/res/licenses/harfbuzz.LICENSE \
../extras/res/licenses/upx.LICENSE \
- ../extras/res/licenses/gpl.LICENSE \
+ ../extras/res/licenses/MinGW-w64.LICENSE \
+ ../extras/res/licenses/tdm-gcc.LICENSE \
+ ../extras/res/licenses/ffi.LICENSE \
+ ../extras/res/types/countryCode/es.png \
+ ../extras/res/types/countryCode/gb.png \
+ ../extras/res/types/countryCode/hu.png \
+ ../extras/res/types/countryCode/cn.png \
+ ../extras/res/types/countryCode/pt.png \
+ ../extras/res/types/countryCode/vn.png \
+ ../extras/res/types/countryCode/ru.png \
+ ../extras/res/types/countryCode/in.png \
+ ../extras/res/types/countryCode/nl.png \
+ ../extras/res/types/countryCode/il.png \
+ ../extras/res/types/countryCode/br.png \
res/ecere.jpg \
res/ecereBack.jpg \
res/icon.png \
-I/usr/X11R6/include,) \
$(if $(DEBUG), -g, -O2 -ffast-math) $(FPIC) -w \
$(FVISIBILITY) \
- -DREPOSITORY_VERSION="\"$(REPOSITORY_VER)\""
-
-
+ -DREPOSITORY_VERSION="\"$(REPOSITORY_VER)\"" \
+ -I../extras/include
+ECFLAGS += -module $(MODULE)
ECFLAGS += \
-nolinenumbers
-
# PLATFORM-SPECIFIC OPTIONS
ifdef LINUX_TARGET
OFLAGS += \
-L/usr/X11R6/lib
LIBS += \
- $(call _L,X11)
+ $(call _L,X11) \
+ $(call _L,m)
endif
else
OFLAGS += \
-L/usr/X11R6/lib
LIBS += \
- $(call _L,X11)
+ $(call _L,X11) \
+ $(call _L,m)
endif
endif
endif
-
-
CECFLAGS += -cpp $(_CPP)
ifndef STATIC_LIBRARY_TARGET
$(EAR) aw$(EARFLAGS) $(TARGET) $(RES)codeMarks/breakpoint.png $(RES)codeMarks/breakpointDisabled.png $(RES)codeMarks/breakpointHalf.png $(RES)codeMarks/breakpointHalfDisabled.png $(RES)codeMarks/cursor.png $(RES)codeMarks/cursorError.png $(RES)codeMarks/topFrame.png $(RES)codeMarks/topFrameError.png $(RES)codeMarks/topFrameHalf.png $(RES)codeMarks/topFrameHalfError.png "codeMarks"
$(EAR) aw$(EARFLAGS) $(TARGET) $(RES)others/mousePointer.png "others"
$(EAR) aw$(EARFLAGS) $(TARGET) $(RES)status/software-update-available.png "status"
- $(EAR) aw$(EARFLAGS) $(TARGET) locale/zh_CN/LC_MESSAGES/ide.mo "locale/zh_CN/LC_MESSAGES"
- $(EAR) aw$(EARFLAGS) $(TARGET) locale/es_ES/LC_MESSAGES/ide.mo "locale/es_ES/LC_MESSAGES"
- $(EAR) aw$(EARFLAGS) $(TARGET) locale/pt_BR/LC_MESSAGES/ide.mo "locale/pt_BR/LC_MESSAGES"
- $(EAR) aw$(EARFLAGS) $(TARGET) locale/ru_RU/LC_MESSAGES/ide.mo "locale/ru_RU/LC_MESSAGES"
- $(EAR) aw$(EARFLAGS) $(TARGET) locale/vi_VI/LC_MESSAGES/ide.mo "locale/vi_VI/LC_MESSAGES"
+ $(EAR) aw$(EARFLAGS) $(TARGET) locale/es.mo locale/pt_BR.mo locale/ru.mo locale/vi.mo locale/zh_CN.mo "locale"
$(EAR) aw$(EARFLAGS) $(TARGET) ../LICENSE ../extras/res/licenses/png.LICENSE ../extras/res/licenses/tango.COPYING ../extras/res/licenses/zlib.README ../extras/res/licenses/sqlite.LICENSE ../extras/res/licenses/jpg.LICENSE ../extras/res/licenses/ungif.LICENSE ../extras/res/licenses/freetype.LICENSE ../extras/res/licenses/harfbuzz.LICENSE ../extras/res/licenses/upx.LICENSE "licenses"
- $(EAR) aw$(EARFLAGS) $(TARGET) ../extras/res/licenses/gpl.LICENSE "licenses"
+ $(EAR) aw$(EARFLAGS) $(TARGET) ../extras/res/licenses/MinGW-w64.LICENSE ../extras/res/licenses/tdm-gcc.LICENSE ../extras/res/licenses/ffi.LICENSE "licenses"
+ $(EAR) aw$(EARFLAGS) $(TARGET) ../extras/res/types/countryCode/es.png ../extras/res/types/countryCode/gb.png ../extras/res/types/countryCode/hu.png ../extras/res/types/countryCode/cn.png ../extras/res/types/countryCode/pt.png ../extras/res/types/countryCode/vn.png ../extras/res/types/countryCode/ru.png ../extras/res/types/countryCode/in.png ../extras/res/types/countryCode/nl.png ../extras/res/types/countryCode/il.png "countryCode"
+ $(EAR) aw$(EARFLAGS) $(TARGET) ../extras/res/types/countryCode/br.png "countryCode"
else
$(AR) rcs $(TARGET) $(OBJECTS) $(LIBS)
endif
$(OBJ)DynamicString.sym: ../extras/types/DynamicString.ec
$(ECP) $(CFLAGS) $(CECFLAGS) $(ECFLAGS) $(PRJ_CFLAGS) -c ../extras/types/DynamicString.ec -o $(OBJ)DynamicString.sym
+$(OBJ)dpl.sym: ../extras/include/dpl.ec
+ $(ECP) $(CFLAGS) $(CECFLAGS) $(ECFLAGS) $(PRJ_CFLAGS) -c ../extras/include/dpl.ec -o $(OBJ)dpl.sym
+
$(OBJ)CompilersDetectionDialog.sym: src/dialogs/CompilersDetectionDialog.ec
$(ECP) $(CFLAGS) $(CECFLAGS) $(ECFLAGS) $(PRJ_CFLAGS) -c src/dialogs/CompilersDetectionDialog.ec -o $(OBJ)CompilersDetectionDialog.sym
$(OBJ)DynamicString.c: ../extras/types/DynamicString.ec $(OBJ)DynamicString.sym | $(SYMBOLS)
$(ECC) $(CFLAGS) $(CECFLAGS) $(ECFLAGS) $(PRJ_CFLAGS) -c ../extras/types/DynamicString.ec -o $(OBJ)DynamicString.c -symbols $(OBJ)
+$(OBJ)dpl.c: ../extras/include/dpl.ec $(OBJ)dpl.sym | $(SYMBOLS)
+ $(ECC) $(CFLAGS) $(CECFLAGS) $(ECFLAGS) $(PRJ_CFLAGS) $(FVISIBILITY) -c ../extras/include/dpl.ec -o $(OBJ)dpl.c -symbols $(OBJ)
+
$(OBJ)CompilersDetectionDialog.c: src/dialogs/CompilersDetectionDialog.ec $(OBJ)CompilersDetectionDialog.sym | $(SYMBOLS)
$(ECC) $(CFLAGS) $(CECFLAGS) $(ECFLAGS) $(PRJ_CFLAGS) -c src/dialogs/CompilersDetectionDialog.ec -o $(OBJ)CompilersDetectionDialog.c -symbols $(OBJ)
$(OBJ)DynamicString.o: $(OBJ)DynamicString.c
$(CC) $(CFLAGS) $(PRJ_CFLAGS) -c $(OBJ)DynamicString.c -o $(OBJ)DynamicString.o
+$(OBJ)dpl.o: $(OBJ)dpl.c
+ $(CC) $(CFLAGS) $(PRJ_CFLAGS) $(FVISIBILITY) -c $(OBJ)dpl.c -o $(OBJ)dpl.o
+
$(OBJ)CompilersDetectionDialog.o: $(OBJ)CompilersDetectionDialog.c
$(CC) $(CFLAGS) $(PRJ_CFLAGS) -c $(OBJ)CompilersDetectionDialog.c -o $(OBJ)CompilersDetectionDialog.o
$(CC) $(CFLAGS) $(PRJ_CFLAGS) -c $(OBJ)$(MODULE).main.c -o $(OBJ)$(MODULE).main$(O)
cleantarget: objdir
+ $(call rmq,$(OBJ)$(MODULE).main.o $(OBJ)$(MODULE).main.c $(OBJ)$(MODULE).main.ec $(OBJ)$(MODULE).main$(I) $(OBJ)$(MODULE).main$(S))
+ $(call rmq,$(OBJ)symbols.lst)
+ $(call rmq,$(OBJ)objects.lst)
$(call rmq,$(TARGET))
+ifdef SHARED_LIBRARY_TARGET
+ifdef LINUX_TARGET
+ifdef LINUX_HOST
+ $(call rmq,$(OBJ)$(LP)$(MODULE)$(SO)$(basename $(VER)))
+ $(call rmq,$(OBJ)$(LP)$(MODULE)$(SO))
+endif
+endif
+endif
clean: cleantarget
$(call rmq,$(_OBJECTS))
ifdef WINDOWS_TARGET
$(call rmq,$(RCOBJECTS))
endif
- $(call rmq,$(OBJ)$(MODULE).main.o $(OBJ)$(MODULE).main.c $(OBJ)$(MODULE).main.ec $(OBJ)$(MODULE).main$(I) $(OBJ)$(MODULE).main$(S))
$(call rmq,$(ECOBJECTS))
$(call rmq,$(COBJECTS))
$(call rmq,$(BOWLS))